diff --git a/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/CodegenConfig.java b/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/CodegenConfig.java index 2917c2ee0a9..9bdd05451dd 100644 --- a/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/CodegenConfig.java +++ b/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/CodegenConfig.java @@ -185,7 +185,7 @@ public interface CodegenConfig { String toModelDocFilename(String name); - String toModelImport(String name); + String toModelImport(String refClass); Map toModelImportMap(String name); @@ -330,4 +330,6 @@ public interface CodegenConfig { boolean getUseInlineModelResolver(); boolean getAddSuffixToDuplicateOperationNicknames(); + + String toRefClass(String ref, String sourceJsonPath); } diff --git a/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/CodegenModel.java b/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/CodegenModel.java index 26d06d5fbb6..3a03dfe33ed 100644 --- a/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/CodegenModel.java +++ b/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/CodegenModel.java @@ -1214,7 +1214,8 @@ public void addDiscriminatorMappedModelsImports() { } for (CodegenDiscriminator.MappedModel mm : discriminator.getMappedModels()) { if (!"".equals(mm.getModelName())) { - imports.add(mm.getModelName()); + String complexType = mm.getModelName(); + imports.add(complexType); } } } diff --git a/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java b/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java index de4109daae9..c520a5760ba 100644 --- a/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java +++ b/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/DefaultCodegen.java @@ -932,6 +932,8 @@ public void preprocessOpenAPI(OpenAPI openAPI) { // go through all gathered schemas and add them as interfaces to be created for (Map.Entry e : schemas.entrySet()) { + String schemaName = e.getKey(); + String sourceJsonPath = "#/components/schemas/" + schemaName; String n = toModelName(e.getKey()); Schema s = e.getValue(); String nOneOf = toModelName(n + "OneOf"); @@ -939,7 +941,7 @@ public void preprocessOpenAPI(OpenAPI openAPI) { if (e.getKey().contains("/")) { // if this is property schema, we also need to generate the oneOf interface model addOneOfNameExtension((ComposedSchema) s, nOneOf); - addOneOfInterfaceModel((ComposedSchema) s, nOneOf, openAPI); + addOneOfInterfaceModel((ComposedSchema) s, nOneOf, openAPI, sourceJsonPath); } else { // else this is a component schema, so we will just use that as the oneOf interface model addOneOfNameExtension((ComposedSchema) s, n); @@ -948,13 +950,13 @@ public void preprocessOpenAPI(OpenAPI openAPI) { Schema items = ((ArraySchema) s).getItems(); if (ModelUtils.isComposedSchema(items)) { addOneOfNameExtension((ComposedSchema) items, nOneOf); - addOneOfInterfaceModel((ComposedSchema) items, nOneOf, openAPI); + addOneOfInterfaceModel((ComposedSchema) items, nOneOf, openAPI, sourceJsonPath); } } else if (ModelUtils.isMapSchema(s)) { Schema addProps = getAdditionalProperties(s); if (addProps != null && ModelUtils.isComposedSchema(addProps)) { addOneOfNameExtension((ComposedSchema) addProps, nOneOf); - addOneOfInterfaceModel((ComposedSchema) addProps, nOneOf, openAPI); + addOneOfInterfaceModel((ComposedSchema) addProps, nOneOf, openAPI, sourceJsonPath); } } } @@ -1567,15 +1569,15 @@ public String escapeReservedWord(String name) { /** * Return the fully-qualified "Model" name for import * - * @param name the name of the "Model" + * @param refClass the name of the "Model" * @return the fully-qualified "Model" name for import */ @Override - public String toModelImport(String name) { + public String toModelImport(String refClass) { if ("".equals(modelPackage())) { - return name; + return refClass; } else { - return modelPackage() + "." + name; + return modelPackage() + "." + refClass; } } @@ -2478,17 +2480,19 @@ public String toModelName(final String name) { } private static class NamedSchema { - private NamedSchema(String name, Schema s, boolean required, boolean schemaIsFromAdditionalProperties) { + private NamedSchema(String name, Schema s, boolean required, boolean schemaIsFromAdditionalProperties, String sourceJsonPath) { this.name = name; this.schema = s; this.required = required; this.schemaIsFromAdditionalProperties = schemaIsFromAdditionalProperties; + this.sourceJsonPath = sourceJsonPath; } private String name; private Schema schema; private boolean required; private boolean schemaIsFromAdditionalProperties; + private String sourceJsonPath; @Override public boolean equals(Object o) { @@ -2498,18 +2502,19 @@ public boolean equals(Object o) { return Objects.equals(required, that.required) && Objects.equals(name, that.name) && Objects.equals(schema, that.schema) && - Objects.equals(schemaIsFromAdditionalProperties, that.schemaIsFromAdditionalProperties); + Objects.equals(schemaIsFromAdditionalProperties, that.schemaIsFromAdditionalProperties) && + Objects.equals(sourceJsonPath, that.sourceJsonPath); } @Override public int hashCode() { - return Objects.hash(name, schema, required, schemaIsFromAdditionalProperties); + return Objects.hash(name, schema, required, schemaIsFromAdditionalProperties, sourceJsonPath); } } Map schemaCodegenPropertyCache = new HashMap<>(); - protected void updateModelForComposedSchema(CodegenModel m, Schema schema, Map allDefinitions) { + protected void updateModelForComposedSchema(CodegenModel m, Schema schema, Map allDefinitions, String sourceJsonPath) { final ComposedSchema composed = (ComposedSchema) schema; Map properties = new LinkedHashMap<>(); List required = new ArrayList<>(); @@ -2522,7 +2527,7 @@ protected void updateModelForComposedSchema(CodegenModel m, Schema schema, Map getOneOfAnyOfDescendants(String composedSchemaName, String discPropName, ComposedSchema c, OpenAPI openAPI) { + protected List getOneOfAnyOfDescendants(String composedSchemaName, String discPropName, ComposedSchema c, OpenAPI openAPI, String sourceJsonPath) { ArrayList> listOLists = new ArrayList<>(); listOLists.add(c.getOneOf()); listOLists.add(c.getAnyOf()); @@ -3284,7 +3291,7 @@ protected List getOneOfAnyOfDescendants(String composedSchemaName, LOGGER.warn("'{}' defines discriminator '{}', but the referenced schema '{}' is incorrect. {}", composedSchemaName, discPropName, modelName, msgSuffix); } - MappedModel mm = new MappedModel(modelName, toModelName(modelName)); + MappedModel mm = new MappedModel(modelName, toRefClass("#/components/schemas/" + modelName, sourceJsonPath)); descendentSchemas.add(mm); Schema cs = ModelUtils.getSchema(openAPI, modelName); if (cs == null) { // cannot lookup the model based on the name @@ -3293,7 +3300,7 @@ protected List getOneOfAnyOfDescendants(String composedSchemaName, Map vendorExtensions = cs.getExtensions(); if (vendorExtensions != null && !vendorExtensions.isEmpty() && vendorExtensions.containsKey("x-discriminator-value")) { String xDiscriminatorValue = (String) vendorExtensions.get("x-discriminator-value"); - mm = new MappedModel(xDiscriminatorValue, toModelName(modelName)); + mm = new MappedModel(xDiscriminatorValue, toRefClass("#/components/schemas/" + modelName, sourceJsonPath)); descendentSchemas.add(mm); } } @@ -3302,7 +3309,7 @@ protected List getOneOfAnyOfDescendants(String composedSchemaName, return descendentSchemas; } - protected List getAllOfDescendants(String thisSchemaName, OpenAPI openAPI) { + protected List getAllOfDescendants(String thisSchemaName, OpenAPI openAPI, String sourceJsonPath) { ArrayList queue = new ArrayList(); List descendentSchemas = new ArrayList(); Map schemas = ModelUtils.getSchemas(openAPI); @@ -3345,20 +3352,20 @@ protected List getAllOfDescendants(String thisSchemaName, OpenAPI o break; } currentSchemaName = queue.remove(0); - MappedModel mm = new MappedModel(currentSchemaName, toModelName(currentSchemaName)); + MappedModel mm = new MappedModel(currentSchemaName, toRefClass("#/components/schemas/" + currentSchemaName, sourceJsonPath)); descendentSchemas.add(mm); Schema cs = schemas.get(currentSchemaName); Map vendorExtensions = cs.getExtensions(); if (vendorExtensions != null && !vendorExtensions.isEmpty() && vendorExtensions.containsKey("x-discriminator-value")) { String xDiscriminatorValue = (String) vendorExtensions.get("x-discriminator-value"); - mm = new MappedModel(xDiscriminatorValue, toModelName(currentSchemaName)); + mm = new MappedModel(xDiscriminatorValue, toRefClass("#/components/schemas/" + currentSchemaName, sourceJsonPath)); descendentSchemas.add(mm); } } return descendentSchemas; } - protected CodegenDiscriminator createDiscriminator(String schemaName, Schema schema, OpenAPI openAPI) { + protected CodegenDiscriminator createDiscriminator(String schemaName, Schema schema, OpenAPI openAPI, String sourceJsonPath) { Discriminator sourceDiscriminator = recursiveGetDiscriminator(schema, openAPI); if (sourceDiscriminator == null) { return null; @@ -3386,22 +3393,29 @@ protected CodegenDiscriminator createDiscriminator(String schemaName, Schema sch if (sourceDiscriminator.getMapping() != null && !sourceDiscriminator.getMapping().isEmpty()) { for (Entry e : sourceDiscriminator.getMapping().entrySet()) { String name; - if (e.getValue().indexOf('/') >= 0) { - name = ModelUtils.getSimpleRef(e.getValue()); + String value = e.getValue(); + String modelName = null; + if (value.indexOf('/') >= 0) { + name = ModelUtils.getSimpleRef(value); if (ModelUtils.getSchema(openAPI, name) == null) { LOGGER.error("Failed to lookup the schema '{}' when processing the discriminator mapping of oneOf/anyOf. Please check to ensure it's defined properly.", name); + } else { + modelName = toRefClass(e.getValue(), sourceJsonPath); } } else { - name = e.getValue(); + String ref = "#/components/schemas/" + value; + modelName = toRefClass(ref, sourceJsonPath); + } + if (modelName != null) { + uniqueDescendants.add(new MappedModel(e.getKey(), modelName)); } - uniqueDescendants.add(new MappedModel(e.getKey(), toModelName(name))); } } boolean legacyUseCase = (this.getLegacyDiscriminatorBehavior() && uniqueDescendants.isEmpty()); if (!this.getLegacyDiscriminatorBehavior() || legacyUseCase) { // for schemas that allOf inherit from this schema, add those descendants to this discriminator map - List otherDescendants = getAllOfDescendants(schemaName, openAPI); + List otherDescendants = getAllOfDescendants(schemaName, openAPI, sourceJsonPath); for (MappedModel otherDescendant : otherDescendants) { // add only if the mapping names are not the same boolean matched = false; @@ -3419,7 +3433,7 @@ protected CodegenDiscriminator createDiscriminator(String schemaName, Schema sch } // if there are composed oneOf/anyOf schemas, add them to this discriminator if (ModelUtils.isComposedSchema(schema) && !this.getLegacyDiscriminatorBehavior()) { - List otherDescendants = getOneOfAnyOfDescendants(schemaName, discPropName, (ComposedSchema) schema, openAPI); + List otherDescendants = getOneOfAnyOfDescendants(schemaName, discPropName, (ComposedSchema) schema, openAPI, sourceJsonPath); for (MappedModel otherDescendant : otherDescendants) { if (!uniqueDescendants.contains(otherDescendant)) { uniqueDescendants.add(otherDescendant); @@ -3510,7 +3524,7 @@ public String getterAndSetterCapitalize(String name) { return camelize(toVarName(name)); } - protected void updatePropertyForMap(CodegenProperty property, Schema p) { + protected void updatePropertyForMap(CodegenProperty property, Schema p, String sourceJsonPath) { property.isContainer = true; property.containerType = "map"; // TODO remove this hack in the future, code should use minProperties and maxProperties for object schemas @@ -3524,11 +3538,12 @@ protected void updatePropertyForMap(CodegenProperty property, Schema p) { innerSchema = new StringSchema().description("//TODO automatically added by openapi-generator due to undefined type"); p.setAdditionalProperties(innerSchema); } - CodegenProperty cp = fromProperty("inner", innerSchema, false); + CodegenProperty cp = fromProperty( + "inner", innerSchema, false, false, sourceJsonPath); updatePropertyForMap(property, cp); } - protected void updatePropertyForObject(CodegenProperty property, Schema p) { + protected void updatePropertyForObject(CodegenProperty property, Schema p, String sourceJsonPath) { if (isFreeFormObject(p)) { // non-composed object type with no properties + additionalProperties // additionalProperties must be null, ObjectSchema, or empty Schema @@ -3538,19 +3553,19 @@ protected void updatePropertyForObject(CodegenProperty property, Schema p) { } if (ModelUtils.isMapSchema(p)) { // an object or anyType composed schema that has additionalProperties set - updatePropertyForMap(property, p); + updatePropertyForMap(property, p, sourceJsonPath); } else { // ObjectSchema with additionalProperties = null, can be nullable property.setIsMap(false); } } else if (ModelUtils.isMapSchema(p)) { // an object or anyType composed schema that has additionalProperties set - updatePropertyForMap(property, p); + updatePropertyForMap(property, p, sourceJsonPath); } - addVarsRequiredVarsAdditionalProps(p, property); + addVarsRequiredVarsAdditionalProps(p, property, sourceJsonPath); } - protected void updatePropertyForAnyType(CodegenProperty property, Schema p) { + protected void updatePropertyForAnyType(CodegenProperty property, Schema p, String sourceJsonPath) { // The 'null' value is allowed when the OAS schema is 'any type'. // See https://github.com/OAI/OpenAPI-Specification/issues/1389 if (Boolean.FALSE.equals(p.getNullable())) { @@ -3567,9 +3582,9 @@ protected void updatePropertyForAnyType(CodegenProperty property, Schema p) { // an object or anyType composed schema that has additionalProperties set // some of our code assumes that any type schema with properties defined will be a map // even though it should allow in any type and have map constraints for properties - updatePropertyForMap(property, p); + updatePropertyForMap(property, p, sourceJsonPath); } - addVarsRequiredVarsAdditionalProps(p, property); + addVarsRequiredVarsAdditionalProps(p, property, sourceJsonPath); } protected void updatePropertyForString(CodegenProperty property, Schema p) { @@ -3619,34 +3634,6 @@ protected void updatePropertyForInteger(CodegenProperty property, Schema p) { } } - /** - * TODO remove this in 7.0.0 as a breaking change - * This method was kept when required was added to the fromProperty signature - * to ensure that the change was non-breaking - * - * @param name name of the property - * @param p OAS property schema - * @param required true if the property is required in the next higher object schema, false otherwise - * @return Codegen Property object - */ - public CodegenProperty fromProperty(String name, Schema p, boolean required) { - return fromProperty(name, p, required, false); - } - - - /** - * TODO remove this in 7.0.0 as a breaking change - * This method was kept when required was added to the fromProperty signature - * to ensure that the change was non-breaking - * - * @param name name of the property - * @param p OAS property schema - * @return Codegen Property object - */ - public CodegenProperty fromProperty(String name, Schema p) { - return fromProperty(name, p, false, false); - } - /** * Convert OAS Property object to Codegen Property object. *

@@ -3664,13 +3651,13 @@ public CodegenProperty fromProperty(String name, Schema p) { * the value should be false * @return Codegen Property object */ - public CodegenProperty fromProperty(String name, Schema p, boolean required, boolean schemaIsFromAdditionalProperties) { + public CodegenProperty fromProperty(String name, Schema p, boolean required, boolean schemaIsFromAdditionalProperties, String sourceJsonPath) { if (p == null) { LOGGER.error("Undefined property/schema for `{}`. Default to type:string.", name); return null; } LOGGER.debug("debugging fromProperty for {} : {}", name, p); - NamedSchema ns = new NamedSchema(name, p, required, schemaIsFromAdditionalProperties); + NamedSchema ns = new NamedSchema(name, p, required, schemaIsFromAdditionalProperties, sourceJsonPath); CodegenProperty cpc = schemaCodegenPropertyCache.get(ns); if (cpc != null) { LOGGER.debug("Cached fromProperty for {} : {} required={}", name, p.getName(), required); @@ -3806,7 +3793,7 @@ public CodegenProperty fromProperty(String name, Schema p, boolean required, boo } property.setTypeProperties(p); - property.setComposedSchemas(getComposedSchemas(p)); + property.setComposedSchemas(getComposedSchemas(p, sourceJsonPath)); if (ModelUtils.isIntegerSchema(p)) { // integer type updatePropertyForInteger(property, p); } else if (ModelUtils.isBooleanSchema(p)) { // boolean type @@ -3836,18 +3823,24 @@ public CodegenProperty fromProperty(String name, Schema p, boolean required, boo ArraySchema arraySchema = (ArraySchema) p; Schema innerSchema = unaliasSchema(getSchemaItems(arraySchema)); - CodegenProperty cp = fromProperty("items", innerSchema, false); + CodegenProperty cp = fromProperty( + "items", innerSchema, false, false, sourceJsonPath); updatePropertyForArray(property, cp); } else if (ModelUtils.isTypeObjectSchema(p)) { - updatePropertyForObject(property, p); + updatePropertyForObject(property, p, sourceJsonPath); } else if (ModelUtils.isAnyType(p)) { - updatePropertyForAnyType(property, p); + updatePropertyForAnyType(property, p, sourceJsonPath); } else if (!ModelUtils.isNullType(p)) { // referenced model ; } - if (p.get$ref() != null) { - property.setRef(p.get$ref()); + String ref = p.get$ref(); + if (ref != null) { + property.setRef(ref); + property.setRefClass(toRefClass( + ref, + sourceJsonPath + )); } boolean isAnyTypeWithNothingElseSet = (ModelUtils.isAnyType(p) && @@ -3869,6 +3862,11 @@ public CodegenProperty fromProperty(String name, Schema p, boolean required, boo return property; } + public String toRefClass(String ref, String sourceJsonPath) { + String[] refPieces = ref.split("/"); + return toModelName(refPieces[refPieces.length-1]); + } + /** * Update property for array(list) container * @@ -3883,9 +3881,7 @@ protected void updatePropertyForArray(CodegenProperty property, CodegenProperty return; } property.dataFormat = innerProperty.dataFormat; - if (!languageSpecificPrimitives.contains(innerProperty.baseType)) { - property.refClass = innerProperty.baseType; - } else { + if (languageSpecificPrimitives.contains(innerProperty.baseType)) { property.isPrimitiveType = true; } property.items = innerProperty; @@ -3918,9 +3914,7 @@ protected void updatePropertyForMap(CodegenProperty property, CodegenProperty in } return; } - if (!languageSpecificPrimitives.contains(innerProperty.baseType)) { - property.refClass = innerProperty.baseType; - } else { + if (languageSpecificPrimitives.contains(innerProperty.baseType)) { property.isPrimitiveType = true; } // TODO fix this, map should not be assigning properties to items @@ -4031,7 +4025,6 @@ protected void setNonArrayMapProperty(CodegenProperty property, String type) { if (languageSpecificPrimitives().contains(type)) { property.isPrimitiveType = true; } else { - property.refClass = property.baseType; property.isModel = true; } } @@ -4089,14 +4082,14 @@ protected void handleMethodResponse(Operation operation, Schema responseSchema = unaliasSchema(ModelUtils.getSchemaFromResponse(methodResponse)); if (responseSchema != null) { - CodegenProperty cm = fromProperty("response", responseSchema, false); + CodegenProperty cm = fromProperty("response", responseSchema, false, false, null); if (ModelUtils.isArraySchema(responseSchema)) { ArraySchema as = (ArraySchema) responseSchema; - CodegenProperty innerProperty = fromProperty("response", getSchemaItems(as), false); + CodegenProperty innerProperty = fromProperty("response", getSchemaItems(as), false, false, null); op.returnBaseType = innerProperty.baseType; } else if (ModelUtils.isMapSchema(responseSchema)) { - CodegenProperty innerProperty = fromProperty("response", getAdditionalProperties(responseSchema), false); + CodegenProperty innerProperty = fromProperty("response", getAdditionalProperties(responseSchema), false, false, null); op.returnBaseType = innerProperty.baseType; } else { if (cm.refClass != null) { @@ -4152,7 +4145,7 @@ protected void handleMethodResponse(Operation operation, } op.returnProperty = cm; } - addHeaders(methodResponse, op.responseHeaders); + addHeaders(methodResponse, op.responseHeaders, null); } /** @@ -4216,6 +4209,7 @@ public CodegenOperation fromOperation(String path, } else { op.path = path; } + String sourceJsonPath = "#/paths/" + ModelUtils.encodeSlashes(op.path) + "/" + op.httpMethod; op.operationId = toOperationId(operationId); op.summary = escapeText(operation.getSummary()); @@ -4235,19 +4229,27 @@ public CodegenOperation fromOperation(String path, String key = operationGetResponsesEntry.getKey(); ApiResponse response = operationGetResponsesEntry.getValue(); addProducesInfo(response, op); - CodegenResponse r = fromResponse(key, response); + String usedSourceJsonPath = sourceJsonPath + "/responses"; + CodegenResponse r = fromResponse(key, response, usedSourceJsonPath); + String responseSourceJsonPath = usedSourceJsonPath; + if (r.isDefault) { + responseSourceJsonPath += "/default"; + } else { + responseSourceJsonPath += "/" + r.code; + } + Map headers = response.getHeaders(); if (headers != null) { List responseHeaders = new ArrayList<>(); for (Entry entry : headers.entrySet()) { String headerName = entry.getKey(); Header header = ModelUtils.getReferencedHeader(this.openAPI, entry.getValue()); - CodegenParameter responseHeader = headerToCodegenParameter(header, headerName, r.imports, ""); + CodegenParameter responseHeader = headerToCodegenParameter(header, headerName, r.imports, "", responseSourceJsonPath + "/headers/" + headerName); responseHeaders.add(responseHeader); } r.setResponseHeaders(responseHeaders); } - r.setContent(getContent(response.getContent(), r.imports, "")); + r.setContent(getContent(response.getContent(), r.imports, "", responseSourceJsonPath + "/content")); if (!addSchemaImportsFromV3SpecLocations) { if (r.baseType != null && @@ -4325,7 +4327,7 @@ public CodegenOperation fromOperation(String path, (contentType.startsWith("application/x-www-form-urlencoded") || contentType.startsWith("multipart"))) { // process form parameters - formParams = fromRequestBodyToFormParameters(requestBody, imports); + formParams = fromRequestBodyToFormParameters(requestBody, imports, sourceJsonPath + "/requestBody"); op.isMultipart = contentType.startsWith("multipart"); for (CodegenParameter cp : formParams) { setParameterEncodingValues(cp, requestBody.getContent().get(contentType)); @@ -4342,7 +4344,7 @@ public CodegenOperation fromOperation(String path, if (op.vendorExtensions != null && op.vendorExtensions.containsKey("x-codegen-request-body-name")) { bodyParameterName = (String) op.vendorExtensions.get("x-codegen-request-body-name"); } - bodyParam = fromRequestBody(requestBody, imports, bodyParameterName); + bodyParam = fromRequestBody(requestBody, imports, bodyParameterName, sourceJsonPath + "/requestBody"); bodyParam.description = escapeText(requestBody.getDescription()); postProcessParameter(bodyParam); @@ -4360,8 +4362,9 @@ public CodegenOperation fromOperation(String path, for (Parameter param : parameters) { param = ModelUtils.getReferencedParameter(this.openAPI, param); - CodegenParameter p = fromParameter(param, imports, i.toString()); - p.setContent(getContent(param.getContent(), imports, "schema")); + String usedSourceJsonPath = sourceJsonPath + "/parameters/" + i.toString(); + CodegenParameter p = fromParameter(param, imports, usedSourceJsonPath); + p.setContent(getContent(param.getContent(), imports, "schema", usedSourceJsonPath)); allParams.add(p); i++; @@ -4473,7 +4476,7 @@ public boolean isParameterNameUnique(CodegenParameter p, List * @param response OAS Response object * @return Codegen Response object */ - public CodegenResponse fromResponse(String responseCode, ApiResponse response) { + public CodegenResponse fromResponse(String responseCode, ApiResponse response, String sourceJsonPath) { CodegenResponse r = CodegenModelFactory.newInstance(CodegenModelType.RESPONSE); if ("default".equals(responseCode) || "defaultResponse".equals(responseCode)) { @@ -4518,7 +4521,13 @@ public CodegenResponse fromResponse(String responseCode, ApiResponse response) { if (response.getExtensions() != null && !response.getExtensions().isEmpty()) { r.vendorExtensions.putAll(response.getExtensions()); } - addHeaders(response, r.headers); + String usedSourceJsonPath = sourceJsonPath + "/"; + if (r.code.equals("0")) { + usedSourceJsonPath = usedSourceJsonPath + "default"; + } else { + usedSourceJsonPath = usedSourceJsonPath + r.code; + } + addHeaders(response, r.headers, usedSourceJsonPath + "/headers"); r.hasHeaders = !r.headers.isEmpty(); if (r.schema == null) { @@ -4532,7 +4541,7 @@ public CodegenResponse fromResponse(String responseCode, ApiResponse response) { r.setPattern(toRegularExpression(responseSchema.getPattern())); } - CodegenProperty cp = fromProperty("response", responseSchema, false); + CodegenProperty cp = fromProperty("response", responseSchema, false, false, usedSourceJsonPath); r.dataType = getTypeDeclaration(responseSchema); if (!ModelUtils.isArraySchema(responseSchema)) { @@ -4549,13 +4558,14 @@ public CodegenResponse fromResponse(String responseCode, ApiResponse response) { } r.setTypeProperties(responseSchema); - r.setComposedSchemas(getComposedSchemas(responseSchema)); + r.setComposedSchemas(getComposedSchemas(responseSchema, sourceJsonPath)); if (ModelUtils.isArraySchema(responseSchema)) { r.simpleType = false; r.isArray = true; r.containerType = cp.containerType; ArraySchema as = (ArraySchema) responseSchema; - CodegenProperty items = fromProperty("response", getSchemaItems(as), false); + CodegenProperty items = fromProperty( + "response", getSchemaItems(as), false, false, usedSourceJsonPath); r.setItems(items); CodegenProperty innerCp = items; @@ -4613,9 +4623,9 @@ public CodegenResponse fromResponse(String responseCode, ApiResponse response) { } r.simpleType = false; r.containerType = cp.containerType; - addVarsRequiredVarsAdditionalProps(responseSchema, r); + addVarsRequiredVarsAdditionalProps(responseSchema, r, usedSourceJsonPath); } else if (ModelUtils.isAnyType(responseSchema)) { - addVarsRequiredVarsAdditionalProps(responseSchema, r); + addVarsRequiredVarsAdditionalProps(responseSchema, r, usedSourceJsonPath); } else if (!ModelUtils.isBooleanSchema(responseSchema)) { // referenced schemas LOGGER.debug("Property type is not primitive: {}", cp.dataType); @@ -4713,8 +4723,9 @@ private void finishUpdatingParameter(CodegenParameter codegenParameter, Paramete } - private void updateParameterForMap(CodegenParameter codegenParameter, Schema parameterSchema, Set imports) { - CodegenProperty codegenProperty = fromProperty("inner", getAdditionalProperties(parameterSchema), false); + private void updateParameterForMap(CodegenParameter codegenParameter, Schema parameterSchema, Set imports, String sourceJsonPath) { + CodegenProperty codegenProperty = fromProperty( + "inner", getAdditionalProperties(parameterSchema), false, false, sourceJsonPath); codegenParameter.items = codegenProperty; codegenParameter.mostInnerItems = codegenProperty.mostInnerItems; codegenParameter.baseType = codegenProperty.dataType; @@ -4768,7 +4779,7 @@ protected void updateParameterForString(CodegenParameter codegenParameter, Schem * @param imports set of imports for library/package/module * @return Codegen Parameter object */ - public CodegenParameter fromParameter(Parameter parameter, Set imports, String priorJsonPathFragment) { + public CodegenParameter fromParameter(Parameter parameter, Set imports, String sourceJsonPath) { CodegenParameter codegenParameter = CodegenModelFactory.newInstance(CodegenModelType.PARAMETER); codegenParameter.baseName = parameter.getName(); @@ -4801,10 +4812,23 @@ public CodegenParameter fromParameter(Parameter parameter, Set imports, parameterSchema = unaliasSchema(parameter.getSchema()); parameterModelName = getParameterDataType(parameter, parameterSchema); CodegenProperty prop; + String usedSourceJsonPath = sourceJsonPath + "/schema"; if (getUseInlineModelResolver()) { - prop = fromProperty("schema", getReferencedSchemaWhenNotEnum(parameterSchema), false); + prop = fromProperty( + "schema", + getReferencedSchemaWhenNotEnum(parameterSchema), + false, + false, + usedSourceJsonPath + ); } else { - prop = fromProperty("schema", parameterSchema, false); + prop = fromProperty( + "schema", + parameterSchema, + false, + false, + usedSourceJsonPath + ); } codegenParameter.setSchema(prop); if (addSchemaImportsFromV3SpecLocations) { @@ -4857,7 +4881,7 @@ public CodegenParameter fromParameter(Parameter parameter, Set imports, ModelUtils.syncValidationProperties(parameterSchema, codegenParameter); codegenParameter.setTypeProperties(parameterSchema); - codegenParameter.setComposedSchemas(getComposedSchemas(parameterSchema)); + codegenParameter.setComposedSchemas(getComposedSchemas(parameterSchema, sourceJsonPath)); if (Boolean.TRUE.equals(parameterSchema.getNullable())) { // use nullable defined in the spec codegenParameter.isNullable = true; @@ -4907,20 +4931,20 @@ public CodegenParameter fromParameter(Parameter parameter, Set imports, } } else if (ModelUtils.isTypeObjectSchema(parameterSchema)) { if (ModelUtils.isMapSchema(parameterSchema)) { // for map parameter - updateParameterForMap(codegenParameter, parameterSchema, imports); + updateParameterForMap(codegenParameter, parameterSchema, imports, sourceJsonPath); } if (ModelUtils.isFreeFormObject(openAPI, parameterSchema)) { codegenParameter.isFreeFormObject = true; } - addVarsRequiredVarsAdditionalProps(parameterSchema, codegenParameter); + addVarsRequiredVarsAdditionalProps(parameterSchema, codegenParameter, sourceJsonPath); } else if (ModelUtils.isNullType(parameterSchema)) { ; } else if (ModelUtils.isAnyType(parameterSchema)) { // any schema with no type set, composed schemas often do this if (ModelUtils.isMapSchema(parameterSchema)) { // for map parameter - updateParameterForMap(codegenParameter, parameterSchema, imports); + updateParameterForMap(codegenParameter, parameterSchema, imports, sourceJsonPath); } - addVarsRequiredVarsAdditionalProps(parameterSchema, codegenParameter); + addVarsRequiredVarsAdditionalProps(parameterSchema, codegenParameter, sourceJsonPath); } else if (ModelUtils.isArraySchema(parameterSchema)) { final ArraySchema arraySchema = (ArraySchema) parameterSchema; Schema inner = getSchemaItems(arraySchema); @@ -4928,7 +4952,13 @@ public CodegenParameter fromParameter(Parameter parameter, Set imports, collectionFormat = getCollectionFormat(parameter); // default to csv: collectionFormat = StringUtils.isEmpty(collectionFormat) ? "csv" : collectionFormat; - CodegenProperty itemsProperty = fromProperty("inner", inner, false); + CodegenProperty itemsProperty = fromProperty( + "inner", + inner, + false, + false, + sourceJsonPath + ); codegenParameter.items = itemsProperty; codegenParameter.mostInnerItems = itemsProperty.mostInnerItems; codegenParameter.baseType = itemsProperty.dataType; @@ -4945,16 +4975,19 @@ public CodegenParameter fromParameter(Parameter parameter, Set imports, ; } - CodegenProperty codegenProperty = fromProperty(parameter.getName(), parameterSchema, false); + CodegenProperty codegenProperty = fromProperty( + parameter.getName(), + parameterSchema, + false, + false, + sourceJsonPath + ); if (Boolean.TRUE.equals(codegenProperty.isModel)) { codegenParameter.isModel = true; } if (parameterModelName != null) { codegenParameter.dataType = parameterModelName; - if (ModelUtils.isObjectSchema(parameterSchema)) { - codegenProperty.refClass = codegenParameter.dataType; - } } else { codegenParameter.dataType = codegenProperty.dataType; } @@ -4993,6 +5026,7 @@ public CodegenParameter fromParameter(Parameter parameter, Set imports, if ("multi".equals(collectionFormat)) { codegenParameter.isCollectionFormatMulti = true; } + String priorJsonPathFragment = sourceJsonPath.substring(sourceJsonPath.lastIndexOf("/") + 1); codegenParameter.paramName = toParamName(priorJsonPathFragment); if (!addSchemaImportsFromV3SpecLocations) { // import @@ -5007,7 +5041,7 @@ public CodegenParameter fromParameter(Parameter parameter, Set imports, if (schema.get$ref() != null) { schema = ModelUtils.getReferencedSchema(openAPI, schema); } - codegenParameter.items = fromProperty(codegenParameter.paramName, schema, false); + codegenParameter.items = fromProperty(codegenParameter.paramName, schema, false, false, sourceJsonPath); // https://swagger.io/docs/specification/serialization/ if (schema != null) { Map> properties = schema.getProperties(); @@ -5019,7 +5053,7 @@ public CodegenParameter fromParameter(Parameter parameter, Set imports, codegenParameter.items.vars = properties.entrySet().stream() .map(entry -> { - CodegenProperty property = fromProperty(entry.getKey(), entry.getValue(), requiredVarNames.contains(entry.getKey())); + CodegenProperty property = fromProperty(entry.getKey(), entry.getValue(), requiredVarNames.contains(entry.getKey()), false, priorJsonPathFragment); property.baseName = codegenParameter.baseName + "[" + entry.getKey() + "]"; return property; }).collect(Collectors.toList()); @@ -5284,7 +5318,7 @@ protected List> toExamples(Map examples) { * @param response API response * @param properties list of codegen property */ - protected void addHeaders(ApiResponse response, List properties) { + protected void addHeaders(ApiResponse response, List properties, String sourceJsonPath) { if (response.getHeaders() != null) { for (Map.Entry headerEntry : response.getHeaders().entrySet()) { String description = headerEntry.getValue().getDescription(); @@ -5298,7 +5332,9 @@ protected void addHeaders(ApiResponse response, List properties } else { schema = header.getSchema(); } - CodegenProperty cp = fromProperty(headerEntry.getKey(), schema, false); + String headerName = headerEntry.getKey(); + String usedSourceJsonPath = sourceJsonPath + "/" + headerName; + CodegenProperty cp = fromProperty(headerName, schema, false, false, usedSourceJsonPath); cp.setDescription(escapeText(description)); cp.setUnescapedDescription(description); if (header.getRequired() != null) { @@ -5366,7 +5402,7 @@ public void addOperationToGroup(String tag, String resourcePath, Operation opera * @param schema the input OAS schema. */ protected void addParentContainer(CodegenModel model, String name, Schema schema) { - final CodegenProperty property = fromProperty(name, schema, false); + final CodegenProperty property = fromProperty(name, schema, false, false, null); addImport(model, property.refClass); model.parent = toInstantiationType(schema); if (!addSchemaImportsFromV3SpecLocations) { @@ -5466,7 +5502,7 @@ protected Map unaliasPropertySchema(Map properti } protected void addVars(CodegenModel m, Map properties, List required, - Map allProperties, List allRequired) { + Map allProperties, List allRequired, String sourceJsonPath) { m.hasRequired = false; if (properties != null && !properties.isEmpty()) { @@ -5476,7 +5512,7 @@ protected void addVars(CodegenModel m, Map properties, List(required); // update "vars" without parent's properties (all, required) - addVars(m, m.vars, properties, mandatory); + addVars(m, m.vars, properties, mandatory, sourceJsonPath); m.allMandatory = m.mandatory = mandatory; } else { m.emptyVars = true; @@ -5488,7 +5524,7 @@ protected void addVars(CodegenModel m, Map properties, List allMandatory = allRequired == null ? Collections.emptySet() : new TreeSet<>(allRequired); // update "allVars" with parent's properties (all, required) - addVars(m, m.allVars, allProperties, allMandatory); + addVars(m, m.allVars, allProperties, allMandatory, sourceJsonPath); m.allMandatory = allMandatory; } else { // without parent, allVars and vars are the same m.allVars = m.vars; @@ -5519,7 +5555,7 @@ protected void addVars(CodegenModel m, Map properties, List vars, Map properties, Set mandatory) { + protected void addVars(IJsonSchemaValidationProperties m, List vars, Map properties, Set mandatory, String sourceJsonPath) { if (properties == null) { return; } @@ -5554,7 +5590,7 @@ protected void addVars(IJsonSchemaValidationProperties m, List cp = varsMap.get(key); } else { // properties in the parent model only - cp = fromProperty(key, prop, mandatory.contains(key)); + cp = fromProperty(key, prop, mandatory.contains(key), false, sourceJsonPath); } vars.add(cp); @@ -6562,7 +6598,7 @@ public String getHelp() { return null; } - public List fromRequestBodyToFormParameters(RequestBody body, Set imports) { + public List fromRequestBodyToFormParameters(RequestBody body, Set imports, String sourceJsonPath) { List parameters = new ArrayList<>(); LOGGER.debug("debugging fromRequestBodyToFormParameters= {}", body); Schema schema = ModelUtils.getSchemaFromRequestBody(body); @@ -6586,7 +6622,7 @@ public List fromRequestBodyToFormParameters(RequestBody body, LOGGER.error("Map of form parameters not supported. Please report the issue to https://github.com/openapitools/openapi-generator if you need help."); continue; } - codegenParameter = fromFormProperty(propertyName, propertySchema, imports); + codegenParameter = fromFormProperty(propertyName, propertySchema, imports, sourceJsonPath); // Set 'required' flag defined in the schema element if (!codegenParameter.required && schema.getRequired() != null) { @@ -6600,16 +6636,16 @@ public List fromRequestBodyToFormParameters(RequestBody body, return parameters; } - public CodegenParameter fromFormProperty(String name, Schema propertySchema, Set imports) { + public CodegenParameter fromFormProperty(String name, Schema propertySchema, Set imports, String sourceJsonPath) { CodegenParameter codegenParameter = CodegenModelFactory.newInstance(CodegenModelType.PARAMETER); LOGGER.debug("Debugging fromFormProperty {}: {}", name, propertySchema); - CodegenProperty codegenProperty = fromProperty(name, propertySchema, false); + CodegenProperty codegenProperty = fromProperty(name, propertySchema, false, false, sourceJsonPath); Schema ps = unaliasSchema(propertySchema); ModelUtils.syncValidationProperties(ps, codegenParameter); codegenParameter.setTypeProperties(ps); - codegenParameter.setComposedSchemas(getComposedSchemas(ps)); + codegenParameter.setComposedSchemas(getComposedSchemas(ps, sourceJsonPath)); if (ps.getPattern() != null) { codegenParameter.pattern = toRegularExpression(ps.getPattern()); } @@ -6690,7 +6726,7 @@ public CodegenParameter fromFormProperty(String name, Schema propertySchema, Set ; } else if (ModelUtils.isArraySchema(ps)) { Schema inner = getSchemaItems((ArraySchema) ps); - CodegenProperty arrayInnerProperty = fromProperty("inner", inner, false); + CodegenProperty arrayInnerProperty = fromProperty("inner", inner, false, false, sourceJsonPath); codegenParameter.items = arrayInnerProperty; codegenParameter.mostInnerItems = arrayInnerProperty.mostInnerItems; codegenParameter.isPrimitiveType = false; @@ -6768,7 +6804,7 @@ public CodegenParameter fromFormProperty(String name, Schema propertySchema, Set return codegenParameter; } - protected void addBodyModelSchema(CodegenParameter codegenParameter, String name, Schema schema, Set imports, String bodyParameterName, boolean forceSimpleRef) { + protected void addBodyModelSchema(CodegenParameter codegenParameter, String name, Schema schema, Set imports, String bodyParameterName, boolean forceSimpleRef, String sourceJsonPath) { CodegenModel codegenModel = null; if (StringUtils.isNotBlank(name)) { schema.setName(name); @@ -6793,7 +6829,7 @@ protected void addBodyModelSchema(CodegenParameter codegenParameter, String name imports.add(codegenParameter.baseType); } } else { - CodegenProperty codegenProperty = fromProperty("property", schema, false); + CodegenProperty codegenProperty = fromProperty("property", schema, false, false, sourceJsonPath); if (codegenProperty != null && codegenProperty.getRefClass() != null && codegenProperty.getRefClass().contains(" | ")) { if (!addSchemaImportsFromV3SpecLocations) { @@ -6853,9 +6889,9 @@ protected void addBodyModelSchema(CodegenParameter codegenParameter, String name } } - protected void updateRequestBodyForMap(CodegenParameter codegenParameter, Schema schema, String name, Set imports, String bodyParameterName) { + protected void updateRequestBodyForMap(CodegenParameter codegenParameter, Schema schema, String name, Set imports, String bodyParameterName, String sourceJsonPath) { if (ModelUtils.isGenerateAliasAsModel(schema) && StringUtils.isNotBlank(name)) { - this.addBodyModelSchema(codegenParameter, name, schema, imports, bodyParameterName, true); + this.addBodyModelSchema(codegenParameter, name, schema, imports, bodyParameterName, true, sourceJsonPath); } else { Schema inner = getAdditionalProperties(schema); if (inner == null) { @@ -6863,7 +6899,7 @@ protected void updateRequestBodyForMap(CodegenParameter codegenParameter, Schema inner = new StringSchema().description("//TODO automatically added by openapi-generator"); schema.setAdditionalProperties(inner); } - CodegenProperty codegenProperty = fromProperty("property", schema, false); + CodegenProperty codegenProperty = fromProperty("property", schema, false, false, sourceJsonPath); if (!addSchemaImportsFromV3SpecLocations) { imports.add(codegenProperty.baseType); @@ -6895,8 +6931,8 @@ protected void updateRequestBodyForMap(CodegenParameter codegenParameter, Schema } } - protected void updateRequestBodyForPrimitiveType(CodegenParameter codegenParameter, Schema schema, String bodyParameterName, Set imports) { - CodegenProperty codegenProperty = fromProperty("PRIMITIVE_REQUEST_BODY", schema, false); + protected void updateRequestBodyForPrimitiveType(CodegenParameter codegenParameter, Schema schema, String bodyParameterName, Set imports, String sourceJsonPath) { + CodegenProperty codegenProperty = fromProperty("PRIMITIVE_REQUEST_BODY", schema, false, false, sourceJsonPath); if (codegenProperty != null) { if (StringUtils.isEmpty(bodyParameterName)) { codegenParameter.baseName = "body"; // default to body @@ -6921,17 +6957,23 @@ protected void updateRequestBodyForPrimitiveType(CodegenParameter codegenParamet setParameterNullable(codegenParameter, codegenProperty); } - protected void updateRequestBodyForObject(CodegenParameter codegenParameter, Schema schema, String name, Set imports, String bodyParameterName) { + protected void updateRequestBodyForObject(CodegenParameter codegenParameter, Schema schema, String name, Set imports, String bodyParameterName, String sourceJsonPath) { if (ModelUtils.isMapSchema(schema)) { // Schema with additionalproperties: true (including composed schemas with additionalproperties: true) - updateRequestBodyForMap(codegenParameter, schema, name, imports, bodyParameterName); + updateRequestBodyForMap(codegenParameter, schema, name, imports, bodyParameterName, sourceJsonPath); } else if (isFreeFormObject(schema)) { // non-composed object type with no properties + additionalProperties // additionalProperties must be null, ObjectSchema, or empty Schema codegenParameter.isFreeFormObject = true; // HTTP request body is free form object - CodegenProperty codegenProperty = fromProperty("FREE_FORM_REQUEST_BODY", schema, false); + CodegenProperty codegenProperty = fromProperty( + "FREE_FORM_REQUEST_BODY", + schema, + false, + false, + sourceJsonPath + ); if (codegenProperty != null) { if (StringUtils.isEmpty(bodyParameterName)) { codegenParameter.baseName = "body"; // default to body @@ -6949,18 +6991,18 @@ protected void updateRequestBodyForObject(CodegenParameter codegenParameter, Sch setParameterNullable(codegenParameter, codegenProperty); } else if (ModelUtils.isObjectSchema(schema)) { // object type schema or composed schema with properties defined - this.addBodyModelSchema(codegenParameter, name, schema, imports, bodyParameterName, false); + this.addBodyModelSchema(codegenParameter, name, schema, imports, bodyParameterName, false, sourceJsonPath); } - addVarsRequiredVarsAdditionalProps(schema, codegenParameter); + addVarsRequiredVarsAdditionalProps(schema, codegenParameter, sourceJsonPath); } - protected void updateRequestBodyForArray(CodegenParameter codegenParameter, Schema schema, String name, Set imports, String bodyParameterName) { + protected void updateRequestBodyForArray(CodegenParameter codegenParameter, Schema schema, String name, Set imports, String bodyParameterName, String sourceJsonPath) { if (ModelUtils.isGenerateAliasAsModel(schema) && StringUtils.isNotBlank(name)) { - this.addBodyModelSchema(codegenParameter, name, schema, imports, bodyParameterName, true); + this.addBodyModelSchema(codegenParameter, name, schema, imports, bodyParameterName, true, sourceJsonPath); } else { final ArraySchema arraySchema = (ArraySchema) schema; Schema inner = getSchemaItems(arraySchema); - CodegenProperty codegenProperty = fromProperty("property", arraySchema, false); + CodegenProperty codegenProperty = fromProperty("property", arraySchema, false, false, sourceJsonPath); if (codegenProperty == null) { throw new RuntimeException("CodegenProperty cannot be null. arraySchema for debugging: " + arraySchema); } @@ -7015,8 +7057,8 @@ protected void updateRequestBodyForArray(CodegenParameter codegenParameter, Sche } } - protected void updateRequestBodyForString(CodegenParameter codegenParameter, Schema schema, Set imports, String bodyParameterName) { - updateRequestBodyForPrimitiveType(codegenParameter, schema, bodyParameterName, imports); + protected void updateRequestBodyForString(CodegenParameter codegenParameter, Schema schema, Set imports, String bodyParameterName, String sourceJsonPath) { + updateRequestBodyForPrimitiveType(codegenParameter, schema, bodyParameterName, imports, sourceJsonPath); if (ModelUtils.isByteArraySchema(schema)) { codegenParameter.setIsString(false); codegenParameter.isByteArray = true; @@ -7042,7 +7084,7 @@ protected void updateRequestBodyForString(CodegenParameter codegenParameter, Sch codegenParameter.pattern = toRegularExpression(schema.getPattern()); } - private CodegenParameter headerToCodegenParameter(Header header, String headerName, Set imports, String mediaTypeSchemaSuffix) { + private CodegenParameter headerToCodegenParameter(Header header, String headerName, Set imports, String mediaTypeSchemaSuffix, String sourceJsonPath) { if (header == null) { return null; } @@ -7062,23 +7104,26 @@ private CodegenParameter headerToCodegenParameter(Header header, String headerNa headerParam.setExample(header.getExample()); headerParam.setContent(header.getContent()); headerParam.setExtensions(header.getExtensions()); - CodegenParameter param = fromParameter(headerParam, imports, headerName); - param.setContent(getContent(headerParam.getContent(), imports, mediaTypeSchemaSuffix)); + CodegenParameter param = fromParameter(headerParam, imports, sourceJsonPath); + String usedSourceJsonPath = sourceJsonPath + "/content"; + param.setContent(getContent(headerParam.getContent(), imports, mediaTypeSchemaSuffix, usedSourceJsonPath)); return param; } - protected LinkedHashMap getContent(Content content, Set imports, String schemaName) { + protected LinkedHashMap getContent(Content content, Set imports, String schemaName, String sourceJsonPath) { if (content == null) { return null; } LinkedHashMap cmtContent = new LinkedHashMap<>(); for (Entry contentEntry : content.entrySet()) { + String contentType = contentEntry.getKey(); MediaType mt = contentEntry.getValue(); LinkedHashMap ceMap = null; if (mt.getEncoding() != null) { ceMap = new LinkedHashMap<>(); Map encMap = mt.getEncoding(); for (Entry encodingEntry : encMap.entrySet()) { + String encodingPropertyName = encodingEntry.getKey(); Encoding enc = encodingEntry.getValue(); List headers = new ArrayList<>(); if (enc.getHeaders() != null) { @@ -7086,7 +7131,8 @@ protected LinkedHashMap getContent(Content content, Se for (Entry headerEntry : encHeaders.entrySet()) { String headerName = headerEntry.getKey(); Header header = ModelUtils.getReferencedHeader(this.openAPI, headerEntry.getValue()); - CodegenParameter param = headerToCodegenParameter(header, headerName, imports, schemaName); + String usedSourceJsonPath = sourceJsonPath + "/" + ModelUtils.encodeSlashes(contentType) + "/encoding/" + encodingPropertyName + "/headers/" + headerName; + CodegenParameter param = headerToCodegenParameter(header, headerName, imports, schemaName, usedSourceJsonPath); headers.add(param); } } @@ -7097,18 +7143,17 @@ protected LinkedHashMap getContent(Content content, Se enc.getExplode() == null ? false : enc.getExplode().booleanValue(), enc.getAllowReserved() == null ? false : enc.getAllowReserved().booleanValue() ); - String propName = encodingEntry.getKey(); - ceMap.put(propName, ce); + ceMap.put(encodingPropertyName, ce); } } - String contentType = contentEntry.getKey(); CodegenProperty schemaProp = null; String usedSchemaName = schemaName; if (usedSchemaName.equals("")) { usedSchemaName = contentType; } if (mt.getSchema() != null) { - schemaProp = fromProperty(usedSchemaName, mt.getSchema(), false); + String usedSourceJsonPath = sourceJsonPath + "/" + ModelUtils.encodeSlashes(contentType) + "/schema"; + schemaProp = fromProperty(usedSchemaName, mt.getSchema(), false, false, usedSourceJsonPath); } HashMap schemaTestCases = null; if (mt.getExtensions() != null && mt.getExtensions().containsKey(xSchemaTestExamplesKey)) { @@ -7136,7 +7181,7 @@ protected LinkedHashMap getContent(Content content, Se return cmtContent; } - public CodegenParameter fromRequestBody(RequestBody body, Set imports, String bodyParameterName) { + public CodegenParameter fromRequestBody(RequestBody body, Set imports, String bodyParameterName, String sourceJsonPath) { if (body == null) { LOGGER.error("body in fromRequestBody cannot be null!"); throw new RuntimeException("body in fromRequestBody cannot be null!"); @@ -7157,7 +7202,7 @@ public CodegenParameter fromRequestBody(RequestBody body, Set imports, S if (schema == null) { throw new RuntimeException("Request body cannot be null. Possible cause: missing schema in body parameter (OAS v2): " + body); } - codegenParameter.setContent(getContent(body.getContent(), imports, "")); + codegenParameter.setContent(getContent(body.getContent(), imports, "", sourceJsonPath + "/content")); if (StringUtils.isNotBlank(schema.get$ref())) { name = ModelUtils.getSimpleRef(schema.get$ref()); @@ -7168,15 +7213,16 @@ public CodegenParameter fromRequestBody(RequestBody body, Set imports, S ModelUtils.syncValidationProperties(unaliasedSchema, codegenParameter); codegenParameter.setTypeProperties(unaliasedSchema); - codegenParameter.setComposedSchemas(getComposedSchemas(unaliasedSchema)); + codegenParameter.setComposedSchemas(getComposedSchemas(unaliasedSchema, sourceJsonPath)); // TODO in the future switch al the below schema usages to unaliasedSchema // because it keeps models as refs and will not get their referenced schemas + String usedSourceJsonPath = sourceJsonPath + "/schema"; if (ModelUtils.isArraySchema(schema)) { - updateRequestBodyForArray(codegenParameter, schema, name, imports, bodyParameterName); + updateRequestBodyForArray(codegenParameter, schema, name, imports, bodyParameterName, usedSourceJsonPath); } else if (ModelUtils.isTypeObjectSchema(schema)) { - updateRequestBodyForObject(codegenParameter, schema, name, imports, bodyParameterName); + updateRequestBodyForObject(codegenParameter, schema, name, imports, bodyParameterName, sourceJsonPath); } else if (ModelUtils.isIntegerSchema(schema)) { // integer type - updateRequestBodyForPrimitiveType(codegenParameter, schema, bodyParameterName, imports); + updateRequestBodyForPrimitiveType(codegenParameter, schema, bodyParameterName, imports, usedSourceJsonPath); codegenParameter.isNumeric = Boolean.TRUE; if (ModelUtils.isLongSchema(schema)) { // int64/long format codegenParameter.isLong = Boolean.TRUE; @@ -7187,14 +7233,14 @@ public CodegenParameter fromRequestBody(RequestBody body, Set imports, S } } } else if (ModelUtils.isBooleanSchema(schema)) { // boolean type - updateRequestBodyForPrimitiveType(codegenParameter, schema, bodyParameterName, imports); + updateRequestBodyForPrimitiveType(codegenParameter, schema, bodyParameterName, imports, usedSourceJsonPath); } else if (ModelUtils.isFileSchema(schema) && !ModelUtils.isStringSchema(schema)) { // swagger v2 only, type file codegenParameter.isFile = true; } else if (ModelUtils.isStringSchema(schema)) { - updateRequestBodyForString(codegenParameter, schema, imports, bodyParameterName); + updateRequestBodyForString(codegenParameter, schema, imports, bodyParameterName, usedSourceJsonPath); } else if (ModelUtils.isNumberSchema(schema)) { - updateRequestBodyForPrimitiveType(codegenParameter, schema, bodyParameterName, imports); + updateRequestBodyForPrimitiveType(codegenParameter, schema, bodyParameterName, imports, usedSourceJsonPath); codegenParameter.isNumeric = Boolean.TRUE; if (ModelUtils.isFloatSchema(schema)) { // float codegenParameter.isFloat = Boolean.TRUE; @@ -7202,23 +7248,23 @@ public CodegenParameter fromRequestBody(RequestBody body, Set imports, S codegenParameter.isDouble = Boolean.TRUE; } } else if (ModelUtils.isNullType(schema)) { - updateRequestBodyForPrimitiveType(codegenParameter, schema, bodyParameterName, imports); + updateRequestBodyForPrimitiveType(codegenParameter, schema, bodyParameterName, imports, usedSourceJsonPath); } else if (ModelUtils.isAnyType(schema)) { if (ModelUtils.isMapSchema(schema)) { // Schema with additionalproperties: true (including composed schemas with additionalproperties: true) - updateRequestBodyForMap(codegenParameter, schema, name, imports, bodyParameterName); + updateRequestBodyForMap(codegenParameter, schema, name, imports, bodyParameterName, usedSourceJsonPath); } else if (ModelUtils.isComposedSchema(schema)) { - this.addBodyModelSchema(codegenParameter, name, schema, imports, bodyParameterName, false); + this.addBodyModelSchema(codegenParameter, name, schema, imports, bodyParameterName, false, usedSourceJsonPath); } else if (ModelUtils.isObjectSchema(schema)) { // object type schema OR (AnyType schema with properties defined) - this.addBodyModelSchema(codegenParameter, name, schema, imports, bodyParameterName, false); + this.addBodyModelSchema(codegenParameter, name, schema, imports, bodyParameterName, false, usedSourceJsonPath); } else { - updateRequestBodyForPrimitiveType(codegenParameter, schema, bodyParameterName, imports); + updateRequestBodyForPrimitiveType(codegenParameter, schema, bodyParameterName, imports, usedSourceJsonPath); } - addVarsRequiredVarsAdditionalProps(schema, codegenParameter); + addVarsRequiredVarsAdditionalProps(schema, codegenParameter, sourceJsonPath); } else { // referenced schemas - updateRequestBodyForPrimitiveType(codegenParameter, schema, bodyParameterName, imports); + updateRequestBodyForPrimitiveType(codegenParameter, schema, bodyParameterName, imports, usedSourceJsonPath); } @@ -7231,7 +7277,7 @@ public CodegenParameter fromRequestBody(RequestBody body, Set imports, S return codegenParameter; } - protected void addRequiredVarsMap(Schema schema, IJsonSchemaValidationProperties property) { + protected void addRequiredVarsMap(Schema schema, IJsonSchemaValidationProperties property, String sourceJsonPath) { /* this should be called after vars and additionalProperties are set Features added by storing codegenProperty values: @@ -7272,13 +7318,13 @@ protected void addRequiredVarsMap(Schema schema, IJsonSchemaValidationProperties CodegenProperty cp; if (schema.getAdditionalProperties() == null) { // additionalProperties is null - cp = fromProperty(usedRequiredPropertyName, new Schema(), true, true); + cp = fromProperty(usedRequiredPropertyName, new Schema(), true, true, sourceJsonPath); } else if (schema.getAdditionalProperties() instanceof Boolean && Boolean.TRUE.equals(schema.getAdditionalProperties())) { // additionalProperties is True - cp = fromProperty(requiredPropertyName, new Schema(), true, true); + cp = fromProperty(requiredPropertyName, new Schema(), true, true, sourceJsonPath); } else { // additionalProperties is schema - cp = fromProperty(requiredPropertyName, (Schema) schema.getAdditionalProperties(), true, true); + cp = fromProperty(requiredPropertyName, (Schema) schema.getAdditionalProperties(), true, true, sourceJsonPath); } requiredVarsMap.put(usedRequiredPropertyName, cp); } @@ -7289,12 +7335,12 @@ protected void addRequiredVarsMap(Schema schema, IJsonSchemaValidationProperties } } - protected void addVarsRequiredVarsAdditionalProps(Schema schema, IJsonSchemaValidationProperties property) { - setAddProps(schema, property); + protected void addVarsRequiredVarsAdditionalProps(Schema schema, IJsonSchemaValidationProperties property, String sourceJsonPath) { + setAddProps(schema, property, sourceJsonPath); Set mandatory = schema.getRequired() == null ? Collections.emptySet() : new TreeSet<>(schema.getRequired()); - addVars(property, property.getVars(), schema.getProperties(), mandatory); - addRequiredVarsMap(schema, property); + addVars(property, property.getVars(), schema.getProperties(), mandatory, sourceJsonPath); + addRequiredVarsMap(schema, property, sourceJsonPath); } private void addJsonSchemaForBodyRequestInCaseItsNotPresent(CodegenParameter codegenParameter, RequestBody body) { @@ -7552,14 +7598,14 @@ public void addOneOfNameExtension(ComposedSchema s, String name) { * @param type name to use for the generated interface model * @param openAPI OpenAPI spec that we are using */ - public void addOneOfInterfaceModel(ComposedSchema cs, String type, OpenAPI openAPI) { + public void addOneOfInterfaceModel(ComposedSchema cs, String type, OpenAPI openAPI, String sourceJsonPath) { if (cs.getOneOf() == null) { return; } CodegenModel cm = new CodegenModel(); - cm.setDiscriminator(createDiscriminator("", cs, openAPI)); + cm.setDiscriminator(createDiscriminator("", cs, openAPI, sourceJsonPath)); if (!this.getLegacyDiscriminatorBehavior()) { cm.addDiscriminatorMappedModelsImports(); } @@ -7794,23 +7840,23 @@ protected String getCollectionFormat(CodegenParameter codegenParameter) { } } - private CodegenComposedSchemas getComposedSchemas(Schema schema) { + private CodegenComposedSchemas getComposedSchemas(Schema schema, String sourceJsonPath) { if (!(schema instanceof ComposedSchema) && schema.getNot()==null) { return null; } Schema notSchema = schema.getNot(); CodegenProperty notProperty = null; if (notSchema != null) { - notProperty = fromProperty("not_schema", notSchema, false); + notProperty = fromProperty("not_schema", notSchema, false, false, sourceJsonPath); } List allOf = new ArrayList<>(); List oneOf = new ArrayList<>(); List anyOf = new ArrayList<>(); if (schema instanceof ComposedSchema) { ComposedSchema cs = (ComposedSchema) schema; - allOf = getComposedProperties(cs.getAllOf(), "all_of"); - oneOf = getComposedProperties(cs.getOneOf(), "one_of"); - anyOf = getComposedProperties(cs.getAnyOf(), "any_of"); + allOf = getComposedProperties(cs.getAllOf(), "all_of", sourceJsonPath); + oneOf = getComposedProperties(cs.getOneOf(), "one_of", sourceJsonPath); + anyOf = getComposedProperties(cs.getAnyOf(), "any_of", sourceJsonPath); } return new CodegenComposedSchemas( allOf, @@ -7820,14 +7866,14 @@ private CodegenComposedSchemas getComposedSchemas(Schema schema) { ); } - private List getComposedProperties(List xOfCollection, String collectionName) { + private List getComposedProperties(List xOfCollection, String collectionName, String sourceJsonPath) { if (xOfCollection == null) { return null; } List xOf = new ArrayList<>(); int i = 0; for (Schema xOfSchema : xOfCollection) { - CodegenProperty cp = fromProperty(collectionName + "_" + i, xOfSchema, false); + CodegenProperty cp = fromProperty(collectionName + "_" + i, xOfSchema, false, false, sourceJsonPath); xOf.add(cp); i += 1; } diff --git a/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java b/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java index ef3ef2f2f98..c024651eab2 100644 --- a/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java +++ b/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/DefaultGenerator.java @@ -1283,18 +1283,21 @@ private ModelsMap processModels(CodegenConfig config, Map defini List modelMaps = new ArrayList<>(); Set allImports = new LinkedHashSet<>(); for (Map.Entry definitionsEntry : definitions.entrySet()) { - String key = definitionsEntry.getKey(); + String schemaName = definitionsEntry.getKey(); Schema schema = definitionsEntry.getValue(); if (schema == null) throw new RuntimeException("schema cannot be null in processModels"); - CodegenModel cm = config.fromModel(key, schema); + CodegenModel cm = config.fromModel(schemaName, schema); ModelMap mo = new ModelMap(); mo.setModel(cm); - mo.put("importPath", config.toModelImport(cm.classname)); + mo.put("importPath", config.toModelImport(config.toRefClass("#/components/schemas/"+schemaName, ""))); modelMaps.add(mo); cm.removeSelfReferenceImport(); + if (cm.imports == null || cm.imports.size() == 0) { + continue; + } allImports.addAll(cm.imports); } objs.setModels(modelMaps); @@ -1302,7 +1305,7 @@ private ModelsMap processModels(CodegenConfig config, Map defini for (String nextImport : allImports) { String mapping = config.importMapping().get(nextImport); if (mapping == null) { - mapping = config.toModelImport(nextImport); + mapping = nextImport; } if (mapping != null && !config.defaultIncludes().contains(mapping)) { importSet.add(mapping); diff --git a/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/IJsonSchemaValidationProperties.java b/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/IJsonSchemaValidationProperties.java index e064adb2c59..0f516ec0bae 100644 --- a/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/IJsonSchemaValidationProperties.java +++ b/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/IJsonSchemaValidationProperties.java @@ -349,7 +349,8 @@ default Set getImports(boolean importContainerType, boolean importBaseTy DefaultCodegenTest.mapParamImportInnerObject */ String refClass = this.getRefClass(); - if (refClass != null) { + if (refClass != null && refClass.contains(".")) { + // self reference classes do not contain periods imports.add(refClass); } /* @@ -364,7 +365,8 @@ default Set getImports(boolean importContainerType, boolean importBaseTy } else { // referenced or inline schemas String refClass = this.getRefClass(); - if (refClass != null) { + if (refClass != null && refClass.contains(".")) { + // self reference classes do not contain periods imports.add(refClass); } String baseType = this.getBaseType(); diff --git a/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/languages/AbstractKotlinCodegen.java b/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/languages/AbstractKotlinCodegen.java index fbcfed48106..7a9bd9ed1c6 100644 --- a/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/languages/AbstractKotlinCodegen.java +++ b/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/languages/AbstractKotlinCodegen.java @@ -1081,7 +1081,7 @@ public GeneratorLanguage generatorLanguage() { } @Override - protected void updateModelForObject(CodegenModel m, Schema schema) { + protected void updateModelForObject(CodegenModel m, Schema schema, String sourceJsonPath) { /** * we have a custom version of this function so we only set isMap to true if * ModelUtils.isMapSchema @@ -1089,7 +1089,7 @@ protected void updateModelForObject(CodegenModel m, Schema schema) { */ if (schema.getProperties() != null || schema.getRequired() != null && !(schema instanceof ComposedSchema)) { // passing null to allProperties and allRequired as there's no parent - addVars(m, unaliasPropertySchema(schema.getProperties()), schema.getRequired(), null, null); + addVars(m, unaliasPropertySchema(schema.getProperties()), schema.getRequired(), null, null, sourceJsonPath); } if (ModelUtils.isMapSchema(schema)) { // an object or anyType composed schema that has additionalProperties set @@ -1103,6 +1103,6 @@ protected void updateModelForObject(CodegenModel m, Schema schema) { } } // process 'additionalProperties' - setAddProps(schema, m); + setAddProps(schema, m, sourceJsonPath); } } diff --git a/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/languages/PythonClientCodegen.java b/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/languages/PythonClientCodegen.java index 680e445c112..6cb3c6cea85 100644 --- a/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/languages/PythonClientCodegen.java +++ b/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/languages/PythonClientCodegen.java @@ -741,8 +741,8 @@ are defined in that schema (x.properties). We do this because validation should they are not. */ @Override - protected void addVarsRequiredVarsAdditionalProps(Schema schema, IJsonSchemaValidationProperties property){ - setAddProps(schema, property); + protected void addVarsRequiredVarsAdditionalProps(Schema schema, IJsonSchemaValidationProperties property, String sourceJsonPath){ + setAddProps(schema, property, sourceJsonPath); if (ModelUtils.isAnyType(schema) && supportsAdditionalPropertiesWithComposedSchema) { // if anyType schema has properties then add them if (schema.getProperties() != null && !schema.getProperties().isEmpty()) { @@ -757,9 +757,9 @@ protected void addVarsRequiredVarsAdditionalProps(Schema schema, IJsonSchemaVali if (schema.getRequired() != null) { requiredVars.addAll(schema.getRequired()); } - addVars(property, property.getVars(), schema.getProperties(), requiredVars); + addVars(property, property.getVars(), schema.getProperties(), requiredVars, sourceJsonPath); } - addRequiredVarsMap(schema, property); + addRequiredVarsMap(schema, property, sourceJsonPath); return; } else if (ModelUtils.isTypeObjectSchema(schema)) { HashSet requiredVars = new HashSet<>(); @@ -767,12 +767,12 @@ protected void addVarsRequiredVarsAdditionalProps(Schema schema, IJsonSchemaVali requiredVars.addAll(schema.getRequired()); property.setHasRequired(true); } - addVars(property, property.getVars(), schema.getProperties(), requiredVars); + addVars(property, property.getVars(), schema.getProperties(), requiredVars, sourceJsonPath); if (property.getVars() != null && !property.getVars().isEmpty()) { property.setHasVars(true); } } - addRequiredVarsMap(schema, property); + addRequiredVarsMap(schema, property, sourceJsonPath); return; } @@ -885,9 +885,14 @@ public String toDefaultValue(Schema p) { } @Override - public String toModelImport(String name) { - // name looks like Cat - return "from " + packagePath() + "." + modelPackage() + "." + toModelFilename(name) + " import " + toModelName(name); + public String toModelImport(String refClass) { + // name looks like cat.Cat + String[] refClassPieces = refClass.split("\\."); + if (refClassPieces.length != 2) { + return null; + } + String modelModule = refClassPieces[0]; + return "from " + packagePath() + "." + modelPackage() + " import " + modelModule; } private void fixSchemaImports(Set imports) { @@ -897,7 +902,9 @@ private void fixSchemaImports(Set imports) { String[] modelNames = imports.toArray(new String[0]); imports.clear(); for (String modelName : modelNames) { - imports.add(toModelImport(modelName)); + if (needToImport(modelName)) { + imports.add(toModelImport(modelName)); + } } } @@ -951,11 +958,10 @@ public Map postProcessAllModels(Map objs) if (cm.testCases != null && !cm.testCases.isEmpty()) { anyModelContainsTestCases = true; } - String[] importModelNames = cm.imports.toArray(new String[0]); - cm.imports.clear(); - for (String importModelName : importModelNames) { - cm.imports.add(toModelImport(importModelName)); + if (cm.imports == null || cm.imports.size() == 0) { + continue; } + fixSchemaImports(cm.imports); } } boolean testFolderSet = testFolder != null; @@ -1022,10 +1028,10 @@ private boolean isValidPythonVarOrClassName(String name) { * @return Codegen Property object */ @Override - public CodegenProperty fromProperty(String name, Schema p, boolean required, boolean schemaIsFromAdditionalProperties) { + public CodegenProperty fromProperty(String name, Schema p, boolean required, boolean schemaIsFromAdditionalProperties, String sourceJsonPath) { // fix needed for values with /n /t etc in them String fixedName = handleSpecialCharacters(name); - CodegenProperty cp = super.fromProperty(fixedName, p, required, schemaIsFromAdditionalProperties); + CodegenProperty cp = super.fromProperty(fixedName, p, required, schemaIsFromAdditionalProperties, sourceJsonPath); if (cp.isAnyType && cp.isNullable) { cp.isNullable = false; @@ -1052,10 +1058,6 @@ public CodegenProperty fromProperty(String name, Schema p, boolean required, boo if (cp.isEnum) { updateCodegenPropertyEnum(cp); } - Schema unaliasedSchema = unaliasSchema(p); - if (cp.isPrimitiveType && unaliasedSchema.get$ref() != null) { - cp.refClass = cp.dataType; - } return cp; } @@ -1123,15 +1125,16 @@ public void updateCodegenPropertyEnum(CodegenProperty var) { * @return the resultant CodegenParameter */ @Override - public CodegenParameter fromRequestBody(RequestBody body, Set imports, String bodyParameterName) { - CodegenParameter cp = super.fromRequestBody(body, imports, bodyParameterName); + public CodegenParameter fromRequestBody(RequestBody body, Set imports, String bodyParameterName, String sourceJsonPath) { + CodegenParameter cp = super.fromRequestBody(body, imports, bodyParameterName, sourceJsonPath); cp.baseName = "body"; Schema schema = ModelUtils.getSchemaFromRequestBody(body); if (schema.get$ref() == null) { return cp; } Schema unaliasedSchema = unaliasSchema(schema); - CodegenProperty unaliasedProp = fromProperty("body", unaliasedSchema, false); + CodegenProperty unaliasedProp = fromProperty( + "body", unaliasedSchema, false, false, sourceJsonPath); Boolean dataTypeMismatch = !cp.dataType.equals(unaliasedProp.dataType); Boolean baseTypeMismatch = !cp.baseType.equals(unaliasedProp.refClass) && unaliasedProp.refClass != null; if (dataTypeMismatch || baseTypeMismatch) { @@ -1158,7 +1161,7 @@ public CodegenParameter fromRequestBody(RequestBody body, Set imports, S * @param forceSimpleRef if true use a model reference */ @Override - protected void addBodyModelSchema(CodegenParameter codegenParameter, String name, Schema schema, Set imports, String bodyParameterName, boolean forceSimpleRef) { + protected void addBodyModelSchema(CodegenParameter codegenParameter, String name, Schema schema, Set imports, String bodyParameterName, boolean forceSimpleRef, String sourceJsonPath) { if (name != null) { Schema bodySchema = new Schema().$ref("#/components/schemas/" + name); Schema unaliased = unaliasSchema(bodySchema); @@ -1185,7 +1188,7 @@ protected void addBodyModelSchema(CodegenParameter codegenParameter, String name codegenParameter.description = codegenModel.description; codegenParameter.isNullable = codegenModel.isNullable; } else { - CodegenProperty codegenProperty = fromProperty("property", schema, false); + CodegenProperty codegenProperty = fromProperty("property", schema, false, false, sourceJsonPath); if (ModelUtils.isMapSchema(schema)) {// http body is map // LOGGER.error("Map should be supported. Please report to openapi-generator github repo about the issue."); @@ -1509,12 +1512,10 @@ public String getSchemaType(Schema schema) { return toModelName(openAPIType); } - public String getModelName(Schema sc) { - if (sc.get$ref() != null) { - Schema unaliasedSchema = unaliasSchema(sc); - if (unaliasedSchema.get$ref() != null) { - return toModelName(ModelUtils.getSimpleRef(sc.get$ref())); - } + public String getSchemaRefClass(Schema sc) { + String ref = sc.get$ref(); + if (ref != null) { + return toRefClass(ref, ""); } return null; } @@ -1676,13 +1677,13 @@ private String ensureQuotes(String in) { @Override public String toExampleValue(Schema schema) { - String modelName = getModelName(schema); + String modelName = getSchemaRefClass(schema); Object objExample = getObjectExample(schema); return toExampleValueRecursive(modelName, schema, objExample, 1, "", 0, new ArrayList<>()); } public String toExampleValue(Schema schema, Object objExample) { - String modelName = getModelName(schema); + String modelName = getSchemaRefClass(schema); return toExampleValueRecursive(modelName, schema, objExample, 1, "", 0, new ArrayList<>()); } @@ -1698,10 +1699,19 @@ private Boolean simpleStringSchema(Schema schema) { return false; } + private String getSchemaName(String complexType) { + String[] packageNameSplits = complexType.split("\\."); + if (packageNameSplits.length == 1) { + return packageNameSplits[0]; + } + return packageNameSplits[1]; + } + private MappedModel getDiscriminatorMappedModel(CodegenDiscriminator disc) { for (MappedModel mm : disc.getMappedModels()) { - String modelName = mm.getModelName(); - Schema modelSchema = getModelNameToSchemaCache().get(modelName); + String complexType = mm.getModelName(); + String schemaName = getSchemaName(complexType); + Schema modelSchema = getModelNameToSchemaCache().get(schemaName); if (ModelUtils.isObjectSchema(modelSchema)) { return mm; } @@ -1771,7 +1781,7 @@ private String toExampleValueRecursive(String modelName, Schema schema, Object o LOGGER.warn("Unable to find referenced schema " + schema.get$ref() + "\n"); return fullPrefix + "None" + closeChars; } - String refModelName = getModelName(schema); + String refModelName = getSchemaRefClass(schema); return toExampleValueRecursive(refModelName, refSchema, objExample, indentationLevel, prefix, exampleLine, includedSchemas); } else if (ModelUtils.isNullType(schema)) { // The 'null' type is allowed in OAS 3.1 and above. It is not supported by OAS 3.0.x, @@ -1787,7 +1797,7 @@ private String toExampleValueRecursive(String modelName, Schema schema, Object o return ""; } Boolean hasProperties = (schema.getProperties() != null && !schema.getProperties().isEmpty()); - CodegenDiscriminator disc = createDiscriminator(modelName, schema, openAPI); + CodegenDiscriminator disc = createDiscriminator(modelName, schema, openAPI, ""); if (ModelUtils.isComposedSchema(schema)) { if(includedSchemas.contains(schema)) { return ""; @@ -1830,8 +1840,8 @@ private String toExampleValueRecursive(String modelName, Schema schema, Object o return fullPrefix + "None" + closeChars; } String discPropNameValue = mm.getMappingName(); - String chosenModelName = mm.getModelName(); - Schema modelSchema = getModelNameToSchemaCache().get(chosenModelName); + String schemaName = getSchemaName(mm.getModelName()); + Schema modelSchema = getModelNameToSchemaCache().get(schemaName); CodegenProperty cp = new CodegenProperty(); cp.setName(disc.getPropertyName()); cp.setExample(discPropNameValue); @@ -1943,7 +1953,7 @@ private String toExampleValueRecursive(String modelName, Schema schema, Object o } ArraySchema arrayschema = (ArraySchema) schema; Schema itemSchema = arrayschema.getItems(); - String itemModelName = getModelName(itemSchema); + String itemModelName = getSchemaRefClass(itemSchema); if(includedSchemas.contains(schema)) { return ""; } @@ -1963,7 +1973,7 @@ private String toExampleValueRecursive(String modelName, Schema schema, Object o return fullPrefix + closeChars; } Boolean hasProperties = (schema.getProperties() != null && !schema.getProperties().isEmpty()); - CodegenDiscriminator disc = createDiscriminator(modelName, schema, openAPI); + CodegenDiscriminator disc = createDiscriminator(modelName, schema, openAPI, ""); if (ModelUtils.isComposedSchema(schema)) { // complex composed object type schemas not yet handled and the code returns early if (hasProperties) { @@ -2000,8 +2010,8 @@ private String toExampleValueRecursive(String modelName, Schema schema, Object o return fullPrefix + closeChars; } String discPropNameValue = mm.getMappingName(); - String chosenModelName = mm.getModelName(); - Schema modelSchema = getModelNameToSchemaCache().get(chosenModelName); + String schemaName = getSchemaName(mm.getModelName()); + Schema modelSchema = getModelNameToSchemaCache().get(schemaName); CodegenProperty cp = new CodegenProperty(); cp.setName(disc.getPropertyName()); cp.setExample(discPropNameValue); @@ -2023,7 +2033,7 @@ private String toExampleValueRecursive(String modelName, Schema schema, Object o if (modelName == null) { addPropPrefix = ensureQuotes(key) + ": "; } - String addPropsModelName = getModelName(addPropsSchema); + String addPropsModelName = getSchemaRefClass(addPropsSchema); if(includedSchemas.contains(schema)) { return ""; } @@ -2046,6 +2056,9 @@ private boolean potentiallySelfReferencingSchema(Schema schema) { private String exampleForObjectModel(Schema schema, String fullPrefix, String closeChars, CodegenProperty discProp, int indentationLevel, int exampleLine, String closingIndentation, List includedSchemas) { + if (schema == null) { + String A = "a"; + } Map requiredAndOptionalProps = schema.getProperties(); if (requiredAndOptionalProps == null || requiredAndOptionalProps.isEmpty()) { return fullPrefix + closeChars; @@ -2068,7 +2081,7 @@ private String exampleForObjectModel(Schema schema, String fullPrefix, String cl propModelName = null; propExample = discProp.example; } else { - propModelName = getModelName(propSchema); + propModelName = getSchemaRefClass(propSchema); propExample = exampleFromStringOrArraySchema( propSchema, null, @@ -2201,8 +2214,8 @@ public void setParameterExampleValue(CodegenParameter codegenParameter, RequestB * @return the resultant CodegenParameter */ @Override - public CodegenParameter fromFormProperty(String name, Schema propertySchema, Set imports) { - CodegenParameter cp = super.fromFormProperty(name, propertySchema, imports); + public CodegenParameter fromFormProperty(String name, Schema propertySchema, Set imports, String sourceJsonPath) { + CodegenParameter cp = super.fromFormProperty(name, propertySchema, imports, sourceJsonPath); Parameter p = new Parameter(); p.setSchema(propertySchema); p.setName(cp.paramName); @@ -2238,12 +2251,18 @@ protected Map getModelNameToSchemaCache() { * @param property the property for the above schema */ @Override - protected void setAddProps(Schema schema, IJsonSchemaValidationProperties property){ + protected void setAddProps(Schema schema, IJsonSchemaValidationProperties property, String sourceJsonPath){ Schema addPropsSchema = getSchemaFromBooleanOrSchema(schema.getAdditionalProperties()); if (addPropsSchema == null) { return; } - CodegenProperty addPropProp = fromProperty("additional_properties", addPropsSchema, false, false); + CodegenProperty addPropProp = fromProperty( + "additional_properties", + addPropsSchema, + false, + false, + sourceJsonPath + ); property.setAdditionalProperties(addPropProp); } @@ -2356,36 +2375,36 @@ protected void updatePropertyForInteger(CodegenProperty property, Schema p) { @Override - protected void updatePropertyForObject(CodegenProperty property, Schema p) { - addVarsRequiredVarsAdditionalProps(p, property); + protected void updatePropertyForObject(CodegenProperty property, Schema p, String sourceJsonPath) { + addVarsRequiredVarsAdditionalProps(p, property, sourceJsonPath); } @Override - protected void updatePropertyForAnyType(CodegenProperty property, Schema p) { + protected void updatePropertyForAnyType(CodegenProperty property, Schema p, String sourceJsonPath) { // The 'null' value is allowed when the OAS schema is 'any type'. // See https://github.com/OAI/OpenAPI-Specification/issues/1389 if (Boolean.FALSE.equals(p.getNullable())) { LOGGER.warn("Schema '{}' is any type, which includes the 'null' value. 'nullable' cannot be set to 'false'", p.getName()); } - addVarsRequiredVarsAdditionalProps(p, property); + addVarsRequiredVarsAdditionalProps(p, property, sourceJsonPath); } @Override - protected void updateModelForObject(CodegenModel m, Schema schema) { + protected void updateModelForObject(CodegenModel m, Schema schema, String sourceJsonPath) { // custom version of this method so properties are always added with addVars if (schema.getProperties() != null || schema.getRequired() != null) { // passing null to allProperties and allRequired as there's no parent - addVars(m, unaliasPropertySchema(schema.getProperties()), schema.getRequired(), null, null); + addVars(m, unaliasPropertySchema(schema.getProperties()), schema.getRequired(), null, null, sourceJsonPath); } // an object or anyType composed schema that has additionalProperties set addAdditionPropertiesToCodeGenModel(m, schema); // process 'additionalProperties' - setAddProps(schema, m); - addRequiredVarsMap(schema, m); + setAddProps(schema, m, sourceJsonPath); + addRequiredVarsMap(schema, m, sourceJsonPath); } @Override - protected void updateModelForAnyType(CodegenModel m, Schema schema) { + protected void updateModelForAnyType(CodegenModel m, Schema schema, String sourceJsonPath) { // The 'null' value is allowed when the OAS schema is 'any type'. // See https://github.com/OAI/OpenAPI-Specification/issues/1389 if (Boolean.FALSE.equals(schema.getNullable())) { @@ -2394,16 +2413,16 @@ protected void updateModelForAnyType(CodegenModel m, Schema schema) { // todo add items support here in the future if (schema.getProperties() != null || schema.getRequired() != null) { // passing null to allProperties and allRequired as there's no parent - addVars(m, unaliasPropertySchema(schema.getProperties()), schema.getRequired(), null, null); + addVars(m, unaliasPropertySchema(schema.getProperties()), schema.getRequired(), null, null, sourceJsonPath); } addAdditionPropertiesToCodeGenModel(m, schema); // process 'additionalProperties' - setAddProps(schema, m); - addRequiredVarsMap(schema, m); + setAddProps(schema, m, sourceJsonPath); + addRequiredVarsMap(schema, m, sourceJsonPath); } @Override - protected void updateModelForComposedSchema(CodegenModel m, Schema schema, Map allDefinitions) { + protected void updateModelForComposedSchema(CodegenModel m, Schema schema, Map allDefinitions, String sourceJsonPath) { final ComposedSchema composed = (ComposedSchema) schema; // TODO revise the logic below to set discriminator, xml attributes @@ -2413,7 +2432,7 @@ protected void updateModelForComposedSchema(CodegenModel m, Schema schema, Map fromRequestBodyToFormParameters(RequestBody body, Set imports) { + public List fromRequestBodyToFormParameters(RequestBody body, Set imports, String sourceJsonPath) { List parameters = new ArrayList<>(); LOGGER.debug("debugging fromRequestBodyToFormParameters= {}", body); Schema schema = ModelUtils.getSchemaFromRequestBody(body); schema = ModelUtils.getReferencedSchema(this.openAPI, schema); - CodegenParameter cp = fromFormProperty("body", schema, imports); - cp.setContent(getContent(body.getContent(), imports, "")); + CodegenParameter cp = fromFormProperty("body", schema, imports, sourceJsonPath); + cp.setContent(getContent(body.getContent(), imports, "", sourceJsonPath)); cp.isFormParam = false; cp.isBodyParam = true; parameters.add(cp); return parameters; } - protected boolean needToImport(String type) { - return true; + protected boolean needToImport(String refClass) { + boolean containsPeriod = refClass.contains("."); + if (containsPeriod) { + return true; + } + // self import + return false; } /** @@ -2773,6 +2796,43 @@ public String toParamName(String name) { } } + public String toRefClass(String ref, String sourceJsonPath) { + String[] refPieces = ref.split("/"); + if (ref.equals(sourceJsonPath)) { + // self reference, no import needed + if (ref.startsWith("#/components/schemas/") && refPieces.length == 4) { + return toModelName(refPieces[3]); + } + Set httpMethods = new HashSet<>(Arrays.asList("post", "put", "patch", "get", "delete", "trace", "options")); + boolean requestBodyCase = ( + refPieces.length == 8 && + refPieces[1].equals("paths") && + httpMethods.contains(refPieces[3]) && + refPieces[4].equals("requestBody") && + refPieces[5].equals("content") && + refPieces[7].equals("schema") + ); + if (requestBodyCase) { + String contentType = ModelUtils.decodeSlashes(refPieces[6]); + // the code knows that content-type are never valid python names + return toVarName(contentType); + } + return null; + } + if (sourceJsonPath != null && ref.startsWith(sourceJsonPath + "/")) { + // internal in-schema reference, no import needed + // TODO handle this in the future + return null; + } + // reference is external, import needed + if (ref.startsWith("#/components/schemas/") && refPieces.length == 4) { + String schemaName = refPieces[3]; + String refClass = toModelFilename(schemaName) + "." + toModelName(schemaName); + return refClass; + } + return null; + } + @Override public void postProcess() { System.out.println("################################################################################"); diff --git a/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/utils/ModelUtils.java b/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/utils/ModelUtils.java index 18066b3a076..ac433f18778 100644 --- a/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/utils/ModelUtils.java +++ b/modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/utils/ModelUtils.java @@ -1783,4 +1783,12 @@ public static SemVer getOpenApiVersion(OpenAPI openAPI, String location, List # {{packageName}}.{{modelPackage}}.{{classFilename}}.{{classname}} {{> schema_doc complexTypePrefix="" }} {{/with}} diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/refclass_partial.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/refclass_partial.handlebars new file mode 100644 index 00000000000..8ac4f3af565 --- /dev/null +++ b/modules/openapi-json-schema-generator/src/main/resources/python/refclass_partial.handlebars @@ -0,0 +1 @@ +[**{{dataType}}**]({{#eq refClass ../classname}}#{{refClass}}{{else}}{{complexTypePrefix}}{{refClass}}.md{{/eq}}) \ No newline at end of file diff --git a/modules/openapi-json-schema-generator/src/main/resources/python/schema_doc.handlebars b/modules/openapi-json-schema-generator/src/main/resources/python/schema_doc.handlebars index cbdae6bd359..de4522a4c3e 100644 --- a/modules/openapi-json-schema-generator/src/main/resources/python/schema_doc.handlebars +++ b/modules/openapi-json-schema-generator/src/main/resources/python/schema_doc.handlebars @@ -13,11 +13,11 @@ Input Type | Accessed Type | Description | Notes Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- {{#each getRequiredVarsMap}} -**{{#with this}}{{#unless refClass}}{{#or isArray isMap composedSchemas}}[{{/or}}{{/unless}}{{/with}}{{{@key}}}{{#with this}}{{#unless refClass}}{{#or isArray isMap composedSchemas}}](#{{baseName}}){{/or}}{{/unless}}{{/with}}** | {{#with this}}{{#unless refClass}}{{> model_templates/schema_python_types }}{{/unless}}{{#if refClass}}[**{{dataType}}**]({{complexTypePrefix}}{{refClass}}.md){{/if}} | {{#unless refClass}}{{> model_templates/schema_accessed_types }}{{/unless}}{{#if refClass}}[**{{dataType}}**]({{complexTypePrefix}}{{refClass}}.md){{/if}} | {{#if description}}{{description}}{{/if}} | {{> model_templates/notes_msg }}{{/with}} +**{{#with this}}{{#unless refClass}}{{#or isArray isMap composedSchemas}}[{{/or}}{{/unless}}{{/with}}{{{@key}}}{{#with this}}{{#unless refClass}}{{#or isArray isMap composedSchemas}}](#{{baseName}}){{/or}}{{/unless}}{{/with}}** | {{#with this}}{{#unless refClass}}{{> model_templates/schema_python_types }}{{/unless}}{{#if refClass}}{{> refclass_partial }}{{/if}} | {{#unless refClass}}{{> model_templates/schema_accessed_types }}{{/unless}}{{#if refClass}}{{> refclass_partial }}{{/if}} | {{#if description}}{{description}}{{/if}} | {{> model_templates/notes_msg }}{{/with}} {{/each}} {{#each vars}} {{#unless required}} -**{{#unless refClass}}{{#or isArray isMap composedSchemas}}[{{/or}}{{/unless}}{{baseName}}{{#unless refClass}}{{#or isArray isMap composedSchemas}}](#{{baseName}}){{/or}}{{/unless}}** | {{#unless refClass}}{{> model_templates/schema_python_types }}{{/unless}}{{#if refClass}}[**{{dataType}}**]({{complexTypePrefix}}{{refClass}}.md){{/if}} | {{#unless refClass}}{{> model_templates/schema_accessed_types }}{{/unless}}{{#if refClass}}[**{{dataType}}**]({{complexTypePrefix}}{{refClass}}.md){{/if}} | {{#if description}}{{description}}{{/if}} | [optional] {{> model_templates/notes_msg }} +**{{#unless refClass}}{{#or isArray isMap composedSchemas}}[{{/or}}{{/unless}}{{baseName}}{{#unless refClass}}{{#or isArray isMap composedSchemas}}](#{{baseName}}){{/or}}{{/unless}}** | {{#unless refClass}}{{> model_templates/schema_python_types }}{{/unless}}{{#if refClass}}{{> refclass_partial }}{{/if}} | {{#unless refClass}}{{> model_templates/schema_accessed_types }}{{/unless}}{{#if refClass}}{{> refclass_partial }}{{/if}} | {{#if description}}{{description}}{{/if}} | [optional] {{> model_templates/notes_msg }} {{/unless}} {{/each}} {{#with additionalProperties}} @@ -25,7 +25,7 @@ Key | Input Type | Accessed Type | Description | Notes {{#if getIsBooleanSchemaTrue}} **any_string_name** | {{> model_templates/schema_python_types }} | {{> model_templates/schema_accessed_types }} | any string name can be used but the value must be the correct type{{#if description}} {{description}}{{/if}} | [optional] {{else}} -**{{#unless refClass}}{{#or isArray isMap composedSchemas}}[{{/or}}{{/unless}}any_string_name{{#unless refClass}}{{#or isArray isMap composedSchemas}}](#any_string_name){{/or}}{{/unless}}** | {{#unless refClass}}{{> model_templates/schema_python_types }}{{/unless}}{{#if refClass}}[**{{dataType}}**]({{complexTypePrefix}}{{refClass}}.md){{/if}} | {{#unless refClass}}{{> model_templates/schema_accessed_types }}{{/unless}}{{#if refClass}}[**{{dataType}}**]({{complexTypePrefix}}{{refClass}}.md){{/if}} | any string name can be used but the value must be the correct type{{#if description}} {{description}}{{/if}} | [optional] {{> model_templates/notes_msg }} +**{{#unless refClass}}{{#or isArray isMap composedSchemas}}[{{/or}}{{/unless}}any_string_name{{#unless refClass}}{{#or isArray isMap composedSchemas}}](#any_string_name){{/or}}{{/unless}}** | {{#unless refClass}}{{> model_templates/schema_python_types }}{{/unless}}{{#if refClass}}{{> refclass_partial }}{{/if}} | {{#unless refClass}}{{> model_templates/schema_accessed_types }}{{/unless}}{{#if refClass}}{{> refclass_partial }}{{/if}} | any string name can be used but the value must be the correct type{{#if description}} {{description}}{{/if}} | [optional] {{> model_templates/notes_msg }} {{/if}} {{/unless}} {{else}} @@ -60,7 +60,7 @@ Key | Input Type | Accessed Type | Description | Notes Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- {{#with items}} -{{#unless refClass}}{{#or isArray isMap composedSchemas}}[{{/or}}{{baseName}}{{#or isArray isMap composedSchemas}}](#{{baseName}}){{/or}}{{/unless}}{{#if refClass}}[**{{dataType}}**]({{complexTypePrefix}}{{refClass}}.md){{/if}} | {{#unless refClass}}{{> model_templates/schema_python_types }}{{/unless}}{{#if refClass}}[**{{dataType}}**]({{complexTypePrefix}}{{refClass}}.md){{/if}} | {{#unless refClass}}{{> model_templates/schema_accessed_types }}{{/unless}}{{#if refClass}}[**{{dataType}}**]({{complexTypePrefix}}{{refClass}}.md){{/if}} | {{#if description}}{{description}}{{/if}} | {{> model_templates/notes_msg }} +{{#unless refClass}}{{#or isArray isMap composedSchemas}}[{{/or}}{{baseName}}{{#or isArray isMap composedSchemas}}](#{{baseName}}){{/or}}{{/unless}}{{#if refClass}}{{> refclass_partial }}{{/if}} | {{#unless refClass}}{{> model_templates/schema_python_types }}{{/unless}}{{#if refClass}}{{> refclass_partial }}{{/if}} | {{#unless refClass}}{{> model_templates/schema_accessed_types }}{{/unless}}{{#if refClass}}{{> refclass_partial }}{{/if}} | {{#if description}}{{description}}{{/if}} | {{> model_templates/notes_msg }} {{#unless refClass}} {{#or isArray isMap composedSchemas}} @@ -79,7 +79,7 @@ Class Name | Input Type | Accessed Type | Description | Notes Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- {{#each allOf}} -{{#if refClass}}[{{dataType}}]({{complexTypePrefix}}{{refClass}}.md){{else}}[{{#if nameInSnakeCase}}{{name}}{{else}}{{baseName}}{{/if}}](#{{#if nameInSnakeCase}}{{name}}{{else}}{{baseName}}{{/if}}){{/if}} | {{#unless refClass}}{{> model_templates/schema_python_types }}{{/unless}}{{#if refClass}}[**{{dataType}}**]({{complexTypePrefix}}{{refClass}}.md){{/if}} | {{#unless refClass}}{{> model_templates/schema_accessed_types }}{{/unless}}{{#if refClass}}[**{{dataType}}**]({{complexTypePrefix}}{{refClass}}.md){{/if}} | {{#if description}}{{description}}{{/if}} | {{> model_templates/notes_msg }} +{{#if refClass}}{{> refclass_partial }}{{else}}[{{#if nameInSnakeCase}}{{name}}{{else}}{{baseName}}{{/if}}](#{{#if nameInSnakeCase}}{{name}}{{else}}{{baseName}}{{/if}}){{/if}} | {{#unless refClass}}{{> model_templates/schema_python_types }}{{/unless}}{{#if refClass}}{{> refclass_partial }}{{/if}} | {{#unless refClass}}{{> model_templates/schema_accessed_types }}{{/unless}}{{#if refClass}}{{> refclass_partial }}{{/if}} | {{#if description}}{{description}}{{/if}} | {{> model_templates/notes_msg }} {{/each}} {{#each allOf}} {{#unless refClass}} @@ -94,7 +94,7 @@ Class Name | Input Type | Accessed Type | Description | Notes Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- {{#each anyOf}} -{{#if refClass}}[{{dataType}}]({{complexTypePrefix}}{{refClass}}.md){{else}}[{{#if nameInSnakeCase}}{{name}}{{else}}{{baseName}}{{/if}}](#{{#if nameInSnakeCase}}{{name}}{{else}}{{baseName}}{{/if}}){{/if}} | {{#unless refClass}}{{> model_templates/schema_python_types }}{{/unless}}{{#if refClass}}[**{{dataType}}**]({{complexTypePrefix}}{{refClass}}.md){{/if}} | {{#unless refClass}}{{> model_templates/schema_accessed_types }}{{/unless}}{{#if refClass}}[**{{dataType}}**]({{complexTypePrefix}}{{refClass}}.md){{/if}} | {{#if description}}{{description}}{{/if}} | {{> model_templates/notes_msg }} +{{#if refClass}}{{> refclass_partial }}{{else}}[{{#if nameInSnakeCase}}{{name}}{{else}}{{baseName}}{{/if}}](#{{#if nameInSnakeCase}}{{name}}{{else}}{{baseName}}{{/if}}){{/if}} | {{#unless refClass}}{{> model_templates/schema_python_types }}{{/unless}}{{#if refClass}}{{> refclass_partial }}{{/if}} | {{#unless refClass}}{{> model_templates/schema_accessed_types }}{{/unless}}{{#if refClass}}{{> refclass_partial }}{{/if}} | {{#if description}}{{description}}{{/if}} | {{> model_templates/notes_msg }} {{/each}} {{#each anyOf}} {{#unless refClass}} @@ -109,7 +109,7 @@ Class Name | Input Type | Accessed Type | Description | Notes Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- {{#each oneOf}} -{{#if refClass}}[{{dataType}}]({{complexTypePrefix}}{{refClass}}.md){{else}}[{{#if nameInSnakeCase}}{{name}}{{else}}{{baseName}}{{/if}}](#{{#if nameInSnakeCase}}{{name}}{{else}}{{baseName}}{{/if}}){{/if}} | {{#unless refClass}}{{> model_templates/schema_python_types }}{{/unless}}{{#if refClass}}[**{{dataType}}**]({{complexTypePrefix}}{{refClass}}.md){{/if}} | {{#unless refClass}}{{> model_templates/schema_accessed_types }}{{/unless}}{{#if refClass}}[**{{dataType}}**]({{complexTypePrefix}}{{refClass}}.md){{/if}} | {{#if description}}{{description}}{{/if}} | {{> model_templates/notes_msg }} +{{#if refClass}}{{> refclass_partial }}{{else}}[{{#if nameInSnakeCase}}{{name}}{{else}}{{baseName}}{{/if}}](#{{#if nameInSnakeCase}}{{name}}{{else}}{{baseName}}{{/if}}){{/if}} | {{#unless refClass}}{{> model_templates/schema_python_types }}{{/unless}}{{#if refClass}}{{> refclass_partial }}{{/if}} | {{#unless refClass}}{{> model_templates/schema_accessed_types }}{{/unless}}{{#if refClass}}{{> refclass_partial }}{{/if}} | {{#if description}}{{description}}{{/if}} | {{> model_templates/notes_msg }} {{/each}} {{#each oneOf}} {{#unless refClass}} @@ -124,7 +124,7 @@ Class Name | Input Type | Accessed Type | Description | Notes Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- {{#with not}} -{{#if refClass}}[{{dataType}}]({{complexTypePrefix}}{{refClass}}.md){{else}}[{{#if nameInSnakeCase}}{{name}}{{else}}{{baseName}}{{/if}}](#{{#if nameInSnakeCase}}{{name}}{{else}}{{baseName}}{{/if}}){{/if}} | {{#unless refClass}}{{> model_templates/schema_python_types }}{{/unless}}{{#if refClass}}[**{{dataType}}**]({{complexTypePrefix}}{{refClass}}.md){{/if}} | {{#unless refClass}}{{> model_templates/schema_accessed_types }}{{/unless}}{{#if refClass}}[**{{dataType}}**]({{complexTypePrefix}}{{refClass}}.md){{/if}} | {{#if description}}{{description}}{{/if}} | {{> model_templates/notes_msg }} +{{#if refClass}}{{> refclass_partial }}{{else}}[{{#if nameInSnakeCase}}{{name}}{{else}}{{baseName}}{{/if}}](#{{#if nameInSnakeCase}}{{name}}{{else}}{{baseName}}{{/if}}){{/if}} | {{#unless refClass}}{{> model_templates/schema_python_types }}{{/unless}}{{#if refClass}}{{> refclass_partial }}{{/if}} | {{#unless refClass}}{{> model_templates/schema_accessed_types }}{{/unless}}{{#if refClass}}{{> refclass_partial }}{{/if}} | {{#if description}}{{description}}{{/if}} | {{> model_templates/notes_msg }} {{#unless refClass}} # {{#if nameInSnakeCase}}{{name}}{{else}}{{baseName}}{{/if}} diff --git a/modules/openapi-json-schema-generator/src/test/java/org/openapitools/codegen/DefaultCodegenTest.java b/modules/openapi-json-schema-generator/src/test/java/org/openapitools/codegen/DefaultCodegenTest.java index 8dd38905697..14a2a56af57 100644 --- a/modules/openapi-json-schema-generator/src/test/java/org/openapitools/codegen/DefaultCodegenTest.java +++ b/modules/openapi-json-schema-generator/src/test/java/org/openapitools/codegen/DefaultCodegenTest.java @@ -107,7 +107,7 @@ public void testHasBodyParameter() { public void testParameterEmptyDescription() { DefaultCodegen codegen = new DefaultCodegen(); - codegen.fromRequestBody(null, new HashSet<>(), null); + codegen.fromRequestBody(null, new HashSet<>(), null, null); } @Test @@ -243,7 +243,7 @@ public void testFormParameterHasDefaultValue() { Schema requestBodySchema = ModelUtils.getReferencedSchema(openAPI, ModelUtils.getSchemaFromRequestBody(openAPI.getPaths().get("/fake").getGet().getRequestBody())); - CodegenParameter codegenParameter = codegen.fromFormProperty("enum_form_string", (Schema) requestBodySchema.getProperties().get("enum_form_string"), new HashSet()); + CodegenParameter codegenParameter = codegen.fromFormProperty("enum_form_string", (Schema) requestBodySchema.getProperties().get("enum_form_string"), new HashSet(), null); Assert.assertEquals(codegenParameter.defaultValue, "-efg"); Assert.assertEquals(codegenParameter.getSchema(), null); @@ -259,7 +259,7 @@ public void testDateTimeFormParameterHasDefaultValue() { // dereference requestBodySchema = ModelUtils.getReferencedSchema(openAPI, requestBodySchema); CodegenParameter codegenParameter = codegen.fromFormProperty("visitDate", (Schema) requestBodySchema.getProperties().get("visitDate"), - new HashSet<>()); + new HashSet<>(), null); Assert.assertEquals(codegenParameter.defaultValue, "1971-12-19T03:39:57-08:00"); Assert.assertEquals(codegenParameter.getSchema(), null); @@ -1705,7 +1705,7 @@ public void testResponseWithNoSchemaInHeaders() { final DefaultCodegen codegen = new DefaultCodegen(); codegen.setOpenAPI(openAPI); - CodegenResponse cr = codegen.fromResponse("2XX", response2XX); + CodegenResponse cr = codegen.fromResponse("2XX", response2XX, ""); Assert.assertNotNull(cr); Assert.assertTrue(cr.hasHeaders); } @@ -1717,7 +1717,13 @@ public void testNullableProperty() { final DefaultCodegen codegen = new DefaultCodegen(); codegen.setOpenAPI(openAPI); - CodegenProperty property = codegen.fromProperty("address", (Schema) openAPI.getComponents().getSchemas().get("User").getProperties().get("address")); + CodegenProperty property = codegen.fromProperty( + "address", + (Schema) openAPI.getComponents().getSchemas().get("User").getProperties().get("address"), + false, + false, + null + ); Assert.assertTrue(property.isNullable); } @@ -1745,10 +1751,34 @@ public void testDeprecatedProperty() { final Map responseProperties = Collections.unmodifiableMap(openAPI.getComponents().getSchemas().get("Response").getProperties()); final Map requestProperties = Collections.unmodifiableMap(openAPI.getComponents().getSchemas().get("Response").getProperties()); - Assert.assertTrue(codegen.fromProperty("firstName", (Schema) responseProperties.get("firstName")).deprecated); - Assert.assertFalse(codegen.fromProperty("customerCode", (Schema) responseProperties.get("customerCode")).deprecated); - Assert.assertTrue(codegen.fromProperty("firstName", (Schema) requestProperties.get("firstName")).deprecated); - Assert.assertFalse(codegen.fromProperty("customerCode", (Schema) requestProperties.get("customerCode")).deprecated); + Assert.assertTrue(codegen.fromProperty( + "firstName", + (Schema) responseProperties.get("firstName"), + false, + false, + null + ).deprecated); + Assert.assertFalse(codegen.fromProperty( + "customerCode", + (Schema) responseProperties.get("customerCode"), + false, + false, + null + ).deprecated); + Assert.assertTrue(codegen.fromProperty( + "firstName", + (Schema) requestProperties.get("firstName"), + false, + false, + null + ).deprecated); + Assert.assertFalse(codegen.fromProperty( + "customerCode", + (Schema) requestProperties.get("customerCode"), + false, + false, + null + ).deprecated); } @Test @@ -1760,8 +1790,20 @@ public void testDeprecatedRef() { final Map requestProperties = Collections.unmodifiableMap(openAPI.getComponents().getSchemas().get("complex").getProperties()); - Assert.assertTrue(codegen.fromProperty("deprecated", (Schema) requestProperties.get("deprecated")).deprecated); - Assert.assertFalse(codegen.fromProperty("current", (Schema) requestProperties.get("current")).deprecated); + Assert.assertTrue(codegen.fromProperty( + "deprecated", + (Schema) requestProperties.get("deprecated"), + false, + false, + null + ).deprecated); + Assert.assertFalse(codegen.fromProperty( + "current", + (Schema) requestProperties.get("current"), + false, + false, + null + ).deprecated); } @Test @@ -1772,7 +1814,7 @@ public void integerSchemaPropertyAndModelTest() { codegen.setOpenAPI(openAPI); //Property: - final CodegenProperty cp = codegen.fromProperty("someProperty", schema); + final CodegenProperty cp = codegen.fromProperty("someProperty", schema, false, false, null); Assert.assertEquals(cp.baseType, "integer"); Assert.assertEquals(cp.baseName, "someProperty"); Assert.assertFalse(cp.isString); @@ -1804,7 +1846,7 @@ public void longSchemaPropertyAndModelTest() { codegen.setOpenAPI(openAPI); //Property: - final CodegenProperty cp = codegen.fromProperty("someProperty", schema); + final CodegenProperty cp = codegen.fromProperty("someProperty", schema, false, false, null); Assert.assertEquals(cp.baseType, "long"); Assert.assertEquals(cp.baseName, "someProperty"); Assert.assertFalse(cp.isString); @@ -1836,7 +1878,7 @@ public void numberSchemaPropertyAndModelTest() { codegen.setOpenAPI(openAPI); //Property: - final CodegenProperty cp = codegen.fromProperty("someProperty", schema); + final CodegenProperty cp = codegen.fromProperty("someProperty", schema, false, false, null); Assert.assertEquals(cp.baseType, "number"); Assert.assertEquals(cp.baseName, "someProperty"); Assert.assertFalse(cp.isString); @@ -1868,7 +1910,7 @@ public void numberFloatSchemaPropertyAndModelTest() { codegen.setOpenAPI(openAPI); //Property: - final CodegenProperty cp = codegen.fromProperty("someProperty", schema); + final CodegenProperty cp = codegen.fromProperty("someProperty", schema, false, false, null); Assert.assertEquals(cp.baseType, "float"); Assert.assertEquals(cp.baseName, "someProperty"); Assert.assertFalse(cp.isString); @@ -1900,7 +1942,7 @@ public void numberDoubleSchemaPropertyAndModelTest() { codegen.setOpenAPI(openAPI); //Property: - final CodegenProperty cp = codegen.fromProperty("someProperty", schema); + final CodegenProperty cp = codegen.fromProperty("someProperty", schema, false, false, null); Assert.assertEquals(cp.baseType, "double"); Assert.assertEquals(cp.baseName, "someProperty"); Assert.assertFalse(cp.isString); @@ -2024,27 +2066,6 @@ private ModelsMap codegenModelWithXEnumVarName() { return TestUtils.createCodegenModelWrapper(cm); } - @Test - public void objectQueryParamIdentifyAsObject() { - final OpenAPI openAPI = TestUtils.parseFlattenSpec("src/test/resources/3_0/objectQueryParam.yaml"); - new InlineModelResolver().flatten(openAPI); - final DefaultCodegen codegen = new DefaultCodegen(); - codegen.setOpenAPI(openAPI); - - Set imports = new HashSet<>(); - CodegenParameter parameter = codegen.fromParameter( - openAPI.getPaths().get("/pony").getGet().getParameters().get(0), imports, "0"); - - // TODO: This must be updated to work with flattened inline models - Assert.assertEquals(parameter.dataType, "ListPageQueryParameter"); - Assert.assertEquals(imports.size(), 1); - Assert.assertEquals(imports.iterator().next(), "ListPageQueryParameter"); - - Assert.assertNotNull(parameter.getSchema()); - Assert.assertEquals(parameter.getSchema().dataType, "Object"); - Assert.assertEquals(parameter.getSchema().baseType, "object"); - } - @Test public void mapParamImportInnerObject() { final OpenAPI openAPI = TestUtils.parseFlattenSpec("src/test/resources/2_0/mapArgs.yaml"); @@ -2054,7 +2075,7 @@ public void mapParamImportInnerObject() { RequestBody requestBody = openAPI.getPaths().get("/api/instruments").getPost().getRequestBody(); HashSet imports = new HashSet<>(); - codegen.fromRequestBody(requestBody, imports, ""); + codegen.fromRequestBody(requestBody, imports, "", null); HashSet expected = Sets.newHashSet("InstrumentDefinition", "map"); @@ -2142,7 +2163,7 @@ public void arrayInnerReferencedSchemaMarkedAsModel_20() { RequestBody body = openAPI.getPaths().get("/examples").getPost().getRequestBody(); - CodegenParameter codegenParameter = codegen.fromRequestBody(body, imports, ""); + CodegenParameter codegenParameter = codegen.fromRequestBody(body, imports, "", null); Assert.assertTrue(codegenParameter.isContainer); Assert.assertTrue(codegenParameter.items.isModel); @@ -2160,7 +2181,7 @@ public void arrayInnerReferencedSchemaMarkedAsModel_30() { RequestBody body = openAPI.getPaths().get("/examples").getPost().getRequestBody(); - CodegenParameter codegenParameter = codegen.fromRequestBody(body, imports, ""); + CodegenParameter codegenParameter = codegen.fromRequestBody(body, imports, "", null); Assert.assertTrue(codegenParameter.isContainer); Assert.assertTrue(codegenParameter.items.isModel); @@ -2558,7 +2579,7 @@ public void testAdditionalPropertiesPresentInModels() { String modelName; Schema sc; CodegenModel cm; - CodegenProperty anyTypeSchema = codegen.fromProperty("", new Schema()); + CodegenProperty anyTypeSchema = codegen.fromProperty("", new Schema(), false, false, null); modelName = "AdditionalPropertiesUnset"; sc = openAPI.getComponents().getSchemas().get(modelName); @@ -2581,7 +2602,7 @@ public void testAdditionalPropertiesPresentInModels() { modelName = "AdditionalPropertiesSchema"; sc = openAPI.getComponents().getSchemas().get(modelName); cm = codegen.fromModel(modelName, sc); - CodegenProperty stringCp = codegen.fromProperty("", new Schema().type("string")); + CodegenProperty stringCp = codegen.fromProperty("", new Schema().type("string"), false, false, null); assertEquals(cm.getAdditionalProperties(), stringCp); assertFalse(cm.getAdditionalPropertiesIsAnyType()); } @@ -2596,8 +2617,8 @@ public void testAdditionalPropertiesPresentInModelProperties() { String modelName; Schema sc; CodegenModel cm; - CodegenProperty anyTypeSchema = codegen.fromProperty("", new Schema()); - CodegenProperty stringCp = codegen.fromProperty("", new Schema().type("string")); + CodegenProperty anyTypeSchema = codegen.fromProperty("", new Schema(), false, false, null); + CodegenProperty stringCp = codegen.fromProperty("", new Schema().type("string"), false, false, null); CodegenProperty mapWithAddPropsUnset; CodegenProperty mapWithAddPropsTrue; CodegenProperty mapWithAddPropsFalse; @@ -2657,8 +2678,8 @@ public void testAdditionalPropertiesPresentInParameters() { Operation operation; CodegenOperation co; - CodegenProperty anyTypeSchema = codegen.fromProperty("", new Schema()); - CodegenProperty stringCp = codegen.fromProperty("", new Schema().type("string")); + CodegenProperty anyTypeSchema = codegen.fromProperty("", new Schema(), false, false, null); + CodegenProperty stringCp = codegen.fromProperty("", new Schema().type("string"), false, false, null); CodegenParameter mapWithAddPropsUnset; CodegenParameter mapWithAddPropsTrue; CodegenParameter mapWithAddPropsFalse; @@ -2718,8 +2739,8 @@ public void testAdditionalPropertiesPresentInResponses() { Operation operation; CodegenOperation co; - CodegenProperty anyTypeSchema = codegen.fromProperty("", new Schema()); - CodegenProperty stringCp = codegen.fromProperty("", new Schema().type("string")); + CodegenProperty anyTypeSchema = codegen.fromProperty("", new Schema(), false, false, null); + CodegenProperty stringCp = codegen.fromProperty("", new Schema().type("string"), false, false, null); CodegenResponse mapWithAddPropsUnset; CodegenResponse mapWithAddPropsTrue; CodegenResponse mapWithAddPropsFalse; @@ -2774,7 +2795,7 @@ public void testAdditionalPropertiesAnyType() { final DefaultCodegen codegen = new DefaultCodegen(); codegen.setOpenAPI(openAPI); - CodegenProperty anyTypeSchema = codegen.fromProperty("", new Schema()); + CodegenProperty anyTypeSchema = codegen.fromProperty("", new Schema(), false, false, null); Schema sc; CodegenModel cm; @@ -3129,11 +3150,29 @@ public void testVarsAndRequiredVarsPresent() { String modelName; Schema sc; CodegenModel cm; - CodegenProperty propA = codegen.fromProperty("a", new Schema().type("string").minLength(1)); + CodegenProperty propA = codegen.fromProperty( + "a", + new Schema().type("string").minLength(1), + false, + false, + null + ); propA.setRequired(true); - CodegenProperty propB = codegen.fromProperty("b", new Schema().type("string").minLength(1)); + CodegenProperty propB = codegen.fromProperty( + "b", + new Schema().type("string").minLength(1), + false, + false, + null + ); propB.setRequired(true); - CodegenProperty propC = codegen.fromProperty("c", new Schema().type("string").minLength(1)); + CodegenProperty propC = codegen.fromProperty( + "c", + new Schema().type("string").minLength(1), + false, + false, + null + ); propC.setRequired(false); List vars = new ArrayList<>(Arrays.asList(propA, propB, propC)); @@ -3159,7 +3198,7 @@ public void testVarsAndRequiredVarsPresent() { // CodegenOperation puts the inline schema into schemas and refs it assertTrue(co.responses.get(0).isModel); - assertEquals(co.responses.get(0).baseType, "objectWithOptionalAndRequiredProps_request"); + assertEquals(co.responses.get(0).baseType, "ObjectWithOptionalAndRequiredPropsRequest"); modelName = "objectWithOptionalAndRequiredProps_request"; sc = openAPI.getComponents().getSchemas().get(modelName); cm = codegen.fromModel(modelName, sc); @@ -3172,7 +3211,7 @@ public void testVarsAndRequiredVarsPresent() { cm = codegen.fromModel(modelName, sc); CodegenProperty cp = cm.getVars().get(0); assertTrue(cp.isModel); - assertEquals(cp.refClass, "objectWithOptionalAndRequiredProps_request"); + assertEquals(cp.refClass, "ObjectWithOptionalAndRequiredPropsRequest"); } @Test @@ -3999,7 +4038,7 @@ public void testRequestParameterContent() { CodegenProperty cp = mt.getSchema(); assertTrue(cp.isMap); assertTrue(cp.isModel); - assertEquals(cp.refClass, "object"); + assertEquals(cp.refClass, null); assertEquals(cp.baseName, "schema"); CodegenParameter coordinatesReferencedSchema = co.queryParams.get(1); @@ -4008,7 +4047,7 @@ public void testRequestParameterContent() { assertNull(mt.getEncoding()); cp = mt.getSchema(); assertFalse(cp.isMap); // because it is a referenced schema - assertEquals(cp.refClass, "coordinates"); + assertEquals(cp.refClass, "Coordinates"); assertEquals(cp.baseName, "schema"); } @@ -4050,7 +4089,7 @@ public void testRequestBodyContent() { assertNull(mt.getEncoding()); cp = mt.getSchema(); assertEquals(cp.baseName, "application/json"); - assertEquals(cp.refClass, "coordinates"); + assertEquals(cp.refClass, "Coordinates"); mt = content.get("text/plain"); assertNull(mt.getEncoding()); @@ -4135,7 +4174,7 @@ public void testResponseContentAndHeader() { assertNull(mt.getEncoding()); CodegenProperty cp = mt.getSchema(); assertFalse(cp.isMap); // because it is a referenced schema - assertEquals(cp.refClass, "coordinates"); + assertEquals(cp.refClass, "Coordinates"); assertEquals(cp.baseName, "application/json"); mt = content.get("text/plain"); @@ -4151,7 +4190,7 @@ public void testResponseContentAndHeader() { assertNull(mt.getEncoding()); cp = mt.getSchema(); assertFalse(cp.isMap); // because it is a referenced schema - assertEquals(cp.refClass, "coordinates"); + assertEquals(cp.refClass, "Coordinates"); assertEquals(cp.baseName, "application/json"); mt = content.get("text/plain"); @@ -4180,7 +4219,7 @@ public void testUnalias() { Schema requestBodySchema3 = ModelUtils.getReferencedSchema(openAPI, requestBodySchema); CodegenParameter codegenParameter = codegen.fromFormProperty("visitDate", - (Schema) requestBodySchema3.getProperties().get("visitDate"), new HashSet<>()); + (Schema) requestBodySchema3.getProperties().get("visitDate"), new HashSet<>(), null); Assert.assertEquals(codegenParameter.defaultValue, "1971-12-19T03:39:57-08:00"); Assert.assertEquals(codegenParameter.getSchema(), null); diff --git a/modules/openapi-json-schema-generator/src/test/java/org/openapitools/codegen/DefaultGeneratorTest.java b/modules/openapi-json-schema-generator/src/test/java/org/openapitools/codegen/DefaultGeneratorTest.java index 587f045580d..4fd67585665 100644 --- a/modules/openapi-json-schema-generator/src/test/java/org/openapitools/codegen/DefaultGeneratorTest.java +++ b/modules/openapi-json-schema-generator/src/test/java/org/openapitools/codegen/DefaultGeneratorTest.java @@ -415,19 +415,21 @@ public void testRefModelValidationProperties() { Assert.assertEquals(unaliasedStringRegex.getPattern(), expectedPattern); // Validate when converting to property - CodegenProperty stringRegexProperty = config.fromProperty("stringRegex", stringRegex); + CodegenProperty stringRegexProperty = config.fromProperty( + "stringRegex", stringRegex, false, false, null); Assert.assertEquals(stringRegexProperty.pattern, escapedPattern); // Validate when converting to parameter Operation operation = openAPI.getPaths().get("/fake/StringRegex").getPost(); RequestBody body = operation.getRequestBody(); - CodegenParameter codegenParameter = config.fromRequestBody(body, new HashSet<>(), "body"); + CodegenParameter codegenParameter = config.fromRequestBody( + body, new HashSet<>(), "body", null); Assert.assertEquals(codegenParameter.pattern, escapedPattern); // Validate when converting to response ApiResponse response = operation.getResponses().get("200"); - CodegenResponse codegenResponse = config.fromResponse("200", response); + CodegenResponse codegenResponse = config.fromResponse("200", response, null); Assert.assertEquals(((Schema) codegenResponse.schema).getPattern(), expectedPattern); Assert.assertEquals(codegenResponse.pattern, escapedPattern); diff --git a/modules/openapi-json-schema-generator/src/test/java/org/openapitools/codegen/java/AbstractJavaCodegenTest.java b/modules/openapi-json-schema-generator/src/test/java/org/openapitools/codegen/java/AbstractJavaCodegenTest.java index cff7a430ac4..ce198816ac4 100644 --- a/modules/openapi-json-schema-generator/src/test/java/org/openapitools/codegen/java/AbstractJavaCodegenTest.java +++ b/modules/openapi-json-schema-generator/src/test/java/org/openapitools/codegen/java/AbstractJavaCodegenTest.java @@ -655,8 +655,6 @@ public void dateDefaultValueIsIsoDate() { Assert.assertEquals(parameter.dataType, "Date"); Assert.assertEquals(parameter.isDate, true); Assert.assertEquals(parameter.defaultValue, "1974-01-01"); - Assert.assertEquals(imports.size(), 1); - Assert.assertEquals(imports.iterator().next(), "Date"); Assert.assertNotNull(parameter.getSchema()); Assert.assertEquals(parameter.getSchema().baseType, "Date"); @@ -675,8 +673,6 @@ public void dateDefaultValueIsIsoDateTime() { Assert.assertEquals(parameter.dataType, "Date"); Assert.assertEquals(parameter.isDateTime, true); Assert.assertEquals(parameter.defaultValue, "1973-12-19T03:39:57-08:00"); - Assert.assertEquals(imports.size(), 1); - Assert.assertEquals(imports.iterator().next(), "Date"); Assert.assertNotNull(parameter.getSchema()); Assert.assertEquals(parameter.getSchema().baseType, "Date"); diff --git a/modules/openapi-json-schema-generator/src/test/java/org/openapitools/codegen/java/JavaClientCodegenTest.java b/modules/openapi-json-schema-generator/src/test/java/org/openapitools/codegen/java/JavaClientCodegenTest.java index 27c9f62b73c..c9edac2da9a 100644 --- a/modules/openapi-json-schema-generator/src/test/java/org/openapitools/codegen/java/JavaClientCodegenTest.java +++ b/modules/openapi-json-schema-generator/src/test/java/org/openapitools/codegen/java/JavaClientCodegenTest.java @@ -92,7 +92,8 @@ public void arraysInRequestBody() { RequestBody body1 = new RequestBody(); body1.setDescription("A list of ids"); body1.setContent(new Content().addMediaType("application/json", new MediaType().schema(new ArraySchema().items(new StringSchema())))); - CodegenParameter codegenParameter1 = codegen.fromRequestBody(body1, new HashSet(), null); + CodegenParameter codegenParameter1 = codegen.fromRequestBody( + body1, new HashSet(), null, null); Assert.assertEquals(codegenParameter1.description, "A list of ids"); Assert.assertEquals(codegenParameter1.dataType, "List"); Assert.assertEquals(codegenParameter1.baseType, "String"); @@ -100,7 +101,8 @@ public void arraysInRequestBody() { RequestBody body2 = new RequestBody(); body2.setDescription("A list of list of values"); body2.setContent(new Content().addMediaType("application/json", new MediaType().schema(new ArraySchema().items(new ArraySchema().items(new IntegerSchema()))))); - CodegenParameter codegenParameter2 = codegen.fromRequestBody(body2, new HashSet(), null); + CodegenParameter codegenParameter2 = codegen.fromRequestBody( + body2, new HashSet(), null, null); Assert.assertEquals(codegenParameter2.description, "A list of list of values"); Assert.assertEquals(codegenParameter2.dataType, "List>"); Assert.assertEquals(codegenParameter2.baseType, "List"); @@ -112,7 +114,8 @@ public void arraysInRequestBody() { point.addProperties("message", new StringSchema()); point.addProperties("x", new IntegerSchema().format(SchemaTypeUtil.INTEGER32_FORMAT)); point.addProperties("y", new IntegerSchema().format(SchemaTypeUtil.INTEGER32_FORMAT)); - CodegenParameter codegenParameter3 = codegen.fromRequestBody(body3, new HashSet(), null); + CodegenParameter codegenParameter3 = codegen.fromRequestBody( + body3, new HashSet(), null, null); Assert.assertEquals(codegenParameter3.description, "A list of points"); Assert.assertEquals(codegenParameter3.dataType, "List"); Assert.assertEquals(codegenParameter3.baseType, "Point"); @@ -520,7 +523,7 @@ public void testReferencedHeader() { codegen.setOpenAPI(openAPI); ApiResponse ok_200 = openAPI.getComponents().getResponses().get("OK_200"); - CodegenResponse response = codegen.fromResponse("200", ok_200); + CodegenResponse response = codegen.fromResponse("200", ok_200, ""); Assert.assertEquals(response.headers.size(), 1); CodegenProperty header = response.headers.get(0); diff --git a/modules/openapi-json-schema-generator/src/test/java/org/openapitools/codegen/java/JavaInheritanceTest.java b/modules/openapi-json-schema-generator/src/test/java/org/openapitools/codegen/java/JavaInheritanceTest.java index ac94d91542f..5a175808d9d 100644 --- a/modules/openapi-json-schema-generator/src/test/java/org/openapitools/codegen/java/JavaInheritanceTest.java +++ b/modules/openapi-json-schema-generator/src/test/java/org/openapitools/codegen/java/JavaInheritanceTest.java @@ -81,7 +81,7 @@ public void javaInheritanceWithDiscriminatorTest() { Assert.assertEquals(cm.name, "sample"); Assert.assertEquals(cm.classname, "Sample"); Assert.assertEquals(cm.parent, "Base"); - Assert.assertEquals(cm.imports, Sets.newHashSet("Base")); + Assert.assertEquals(cm.imports, Sets.newHashSet("Base", "Schemas")); } @Test(description = "composed model has the required attributes on the child") diff --git a/modules/openapi-json-schema-generator/src/test/java/org/openapitools/codegen/java/JavaModelTest.java b/modules/openapi-json-schema-generator/src/test/java/org/openapitools/codegen/java/JavaModelTest.java index 802687c8bc3..fa2c179cf1d 100644 --- a/modules/openapi-json-schema-generator/src/test/java/org/openapitools/codegen/java/JavaModelTest.java +++ b/modules/openapi-json-schema-generator/src/test/java/org/openapitools/codegen/java/JavaModelTest.java @@ -327,7 +327,7 @@ public void complexListPropertyTest() { final CodegenProperty property = cm.vars.get(0); Assert.assertEquals(property.baseName, "children"); - Assert.assertEquals(property.refClass, "Children"); + Assert.assertEquals(property.items.refClass, "Children"); Assert.assertEquals(property.getter, "getChildren"); Assert.assertEquals(property.setter, "setChildren"); Assert.assertEquals(property.dataType, "List"); @@ -358,7 +358,7 @@ public void complexMapPropertyTest() { final CodegenProperty property = cm.vars.get(0); Assert.assertEquals(property.baseName, "children"); - Assert.assertEquals(property.refClass, "Children"); + Assert.assertEquals(property.additionalProperties.refClass, "Children"); Assert.assertEquals(property.getter, "getChildren"); Assert.assertEquals(property.setter, "setChildren"); Assert.assertEquals(property.dataType, "Map"); @@ -390,7 +390,7 @@ public void complexArrayPropertyTest() { final CodegenProperty property = cm.vars.get(0); Assert.assertEquals(property.baseName, "children"); - Assert.assertEquals(property.refClass, "Children"); + Assert.assertEquals(property.items.refClass, "Children"); Assert.assertEquals(property.getter, "getChildren"); Assert.assertEquals(property.setter, "setChildren"); Assert.assertEquals(property.dataType, "List"); @@ -423,7 +423,7 @@ public void complexSetPropertyTest() { final CodegenProperty property = cm.vars.get(0); Assert.assertEquals(property.baseName, "children"); - Assert.assertEquals(property.refClass, "Children"); + Assert.assertEquals(property.items.refClass, "Children"); Assert.assertEquals(property.getter, "getChildren"); Assert.assertEquals(property.setter, "setChildren"); Assert.assertEquals(property.dataType, "Set"); @@ -460,7 +460,7 @@ public void arrayModelWithItemNameTest() { final CodegenProperty property = cm.vars.get(0); Assert.assertEquals(property.baseName, "children"); - Assert.assertEquals(property.refClass, "Child"); + Assert.assertEquals(property.items.refClass, "Child"); Assert.assertEquals(property.getter, "getChildren"); Assert.assertEquals(property.setter, "setChildren"); Assert.assertEquals(property.dataType, "List"); @@ -492,8 +492,7 @@ public void arrayModelTest() { Assert.assertEquals(cm.description, "an array model"); Assert.assertEquals(cm.vars.size(), 0); Assert.assertEquals(cm.parent, "ArrayList"); - Assert.assertEquals(cm.imports.size(), 4); - Assert.assertEquals(Sets.intersection(cm.imports, Sets.newHashSet("ApiModel", "List", "ArrayList", "Children")).size(), 4); + Assert.assertEquals(Sets.intersection(cm.imports, Sets.newHashSet("ApiModel", "List", "ArrayList")).size(), 3); } @Test(description = "convert a set model") @@ -513,8 +512,7 @@ public void setModelTest() { Assert.assertEquals(cm.description, "an array model"); Assert.assertEquals(cm.vars.size(), 0); Assert.assertEquals(cm.parent, "LinkedHashSet"); - Assert.assertEquals(cm.imports.size(), 4); - Assert.assertEquals(Sets.intersection(cm.imports, Sets.newHashSet("ApiModel", "Set", "LinkedHashSet", "Children")).size(), 4); + Assert.assertEquals(Sets.intersection(cm.imports, Sets.newHashSet("ApiModel", "Set", "LinkedHashSet")).size(), 3); } @Test(description = "convert a map model") @@ -989,7 +987,7 @@ public void booleanPropertyTest() { final JavaClientCodegen codegen = new JavaClientCodegen(); codegen.setOpenAPI(openAPI); codegen.setBooleanGetterPrefix("is"); - final CodegenProperty cp = codegen.fromProperty("property", property); + final CodegenProperty cp = codegen.fromProperty("property", property, false, false, null); Assert.assertEquals(cp.baseName, "property"); Assert.assertEquals(cp.dataType, "Boolean"); @@ -1006,7 +1004,7 @@ public void integerPropertyTest() { final IntegerSchema property = new IntegerSchema(); final DefaultCodegen codegen = new JavaClientCodegen(); codegen.setOpenAPI(openAPI); - final CodegenProperty cp = codegen.fromProperty("property", property); + final CodegenProperty cp = codegen.fromProperty("property", property, false, false, null); Assert.assertEquals(cp.baseName, "property"); Assert.assertEquals(cp.dataType, "Integer"); @@ -1024,7 +1022,7 @@ public void longPropertyTest() { final IntegerSchema property = new IntegerSchema().format("int64"); final DefaultCodegen codegen = new JavaClientCodegen(); codegen.setOpenAPI(openAPI); - final CodegenProperty cp = codegen.fromProperty("property", property); + final CodegenProperty cp = codegen.fromProperty("property", property, false, false, null); Assert.assertEquals(cp.baseName, "property"); Assert.assertEquals(cp.nameInCamelCase, "Property"); @@ -1104,7 +1102,8 @@ public void stringPropertyTest() { final Schema property = new StringSchema().maxLength(10).minLength(3).pattern("^[A-Z]+$"); final DefaultCodegen codegen = new JavaClientCodegen(); codegen.setOpenAPI(openAPI); - final CodegenProperty cp = codegen.fromProperty("somePropertyWithMinMaxAndPattern", property); + final CodegenProperty cp = codegen.fromProperty( + "somePropertyWithMinMaxAndPattern", property, false, false, null); Assert.assertEquals(cp.baseName, "somePropertyWithMinMaxAndPattern"); Assert.assertEquals(cp.nameInCamelCase, "SomePropertyWithMinMaxAndPattern"); @@ -1312,7 +1311,7 @@ public void arrayOfArraySchemaTestInRequestBody() { Assert.assertTrue(cp1.isArray); Assert.assertFalse(cp1.isMap); Assert.assertEquals(cp1.items.baseType, "List"); - Assert.assertEquals(cp1.items.refClass, "Pet"); + Assert.assertEquals(cp1.items.items.refClass, "Pet"); Assert.assertEquals(cp1.items.dataType, "List"); Assert.assertEquals(cp1.items.items.baseType, "Pet"); Assert.assertEquals(cp1.items.items.refClass, "Pet"); diff --git a/modules/openapi-json-schema-generator/src/test/resources/3_0/issue_13043_geometry_collection_expected_value.txt b/modules/openapi-json-schema-generator/src/test/resources/3_0/issue_13043_geometry_collection_expected_value.txt index 7d4d61650ba..2d004d9d37e 100644 --- a/modules/openapi-json-schema-generator/src/test/resources/3_0/issue_13043_geometry_collection_expected_value.txt +++ b/modules/openapi-json-schema-generator/src/test/resources/3_0/issue_13043_geometry_collection_expected_value.txt @@ -1,4 +1,4 @@ -GeometryCollection( +geometry_collection.GeometryCollection( type="GeometryCollection", geometries=[], ) \ No newline at end of file diff --git a/modules/openapi-json-schema-generator/src/test/resources/3_0/issue_13043_recursive_model_expected_value.txt b/modules/openapi-json-schema-generator/src/test/resources/3_0/issue_13043_recursive_model_expected_value.txt index 137db22fa97..fb9d3068d74 100644 --- a/modules/openapi-json-schema-generator/src/test/resources/3_0/issue_13043_recursive_model_expected_value.txt +++ b/modules/openapi-json-schema-generator/src/test/resources/3_0/issue_13043_recursive_model_expected_value.txt @@ -1,4 +1,4 @@ -GeoJsonGeometry( +geo_json_geometry.GeoJsonGeometry( type="GeometryCollection", geometries=[], ) \ No newline at end of file diff --git a/modules/openapi-json-schema-generator/src/test/resources/3_0/issue_7532_tree_example_value_expected.txt b/modules/openapi-json-schema-generator/src/test/resources/3_0/issue_7532_tree_example_value_expected.txt index 6c3772035ed..db85c8b22cb 100644 --- a/modules/openapi-json-schema-generator/src/test/resources/3_0/issue_7532_tree_example_value_expected.txt +++ b/modules/openapi-json-schema-generator/src/test/resources/3_0/issue_7532_tree_example_value_expected.txt @@ -1,15 +1,15 @@ dict( - trees=Tree( + trees=tree.Tree( id=1, name="name_example", description="description_example", children=[ - Tree() + tree.Tree() ], - parent=Tree(), - forest=Forest(), + parent=tree.Tree(), + forest=forest.Forest(), additional=dict( - "key": Tree(), + "key": tree.Tree(), ), ), ) \ No newline at end of file diff --git a/modules/openapi-json-schema-generator/src/test/resources/3_0/python/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml b/modules/openapi-json-schema-generator/src/test/resources/3_0/python/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml index 40e411267e5..14eb821ae92 100644 --- a/modules/openapi-json-schema-generator/src/test/resources/3_0/python/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml +++ b/modules/openapi-json-schema-generator/src/test/resources/3_0/python/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml @@ -2286,11 +2286,11 @@ components: type: object properties: myNumber: - $ref: '#/definitions/NumberWithValidations' + $ref: '#/components/schemas/NumberWithValidations' myString: - $ref: '#/definitions/String' + $ref: '#/components/schemas/String' myBoolean: - $ref: '#/definitions/Boolean' + $ref: '#/components/schemas/Boolean' NumberWithValidations: type: number minimum: 10 @@ -3008,4 +3008,15 @@ components: discriminator: propertyName: discriminator anyOf: - - $ref: '#/components/schemas/AbstractStepMessage' \ No newline at end of file + - $ref: '#/components/schemas/AbstractStepMessage' + SelfReferencingObjectModel: + type: object + properties: + selfRef: + $ref: '#/components/schemas/SelfReferencingObjectModel' + additionalProperties: + $ref: '#/components/schemas/SelfReferencingObjectModel' + SelfReferencingArrayModel: + type: array + items: + $ref: '#/components/schemas/SelfReferencingArrayModel' \ No newline at end of file diff --git a/samples/openapi3/client/3_0_3_unit_test/python/.openapi-generator/FILES b/samples/openapi3/client/3_0_3_unit_test/python/.openapi-generator/FILES index 87941b27310..090677bf5c5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/.openapi-generator/FILES +++ b/samples/openapi3/client/3_0_3_unit_test/python/.openapi-generator/FILES @@ -30,93 +30,93 @@ docs/apis/tags/RequiredApi.md docs/apis/tags/ResponseContentContentTypeSchemaApi.md docs/apis/tags/TypeApi.md docs/apis/tags/UniqueItemsApi.md -docs/components/schema/AdditionalpropertiesAllowsASchemaWhichShouldValidate.md -docs/components/schema/AdditionalpropertiesAreAllowedByDefault.md -docs/components/schema/AdditionalpropertiesCanExistByItself.md -docs/components/schema/AdditionalpropertiesShouldNotLookInApplicators.md -docs/components/schema/Allof.md -docs/components/schema/AllofCombinedWithAnyofOneof.md -docs/components/schema/AllofSimpleTypes.md -docs/components/schema/AllofWithBaseSchema.md -docs/components/schema/AllofWithOneEmptySchema.md -docs/components/schema/AllofWithTheFirstEmptySchema.md -docs/components/schema/AllofWithTheLastEmptySchema.md -docs/components/schema/AllofWithTwoEmptySchemas.md -docs/components/schema/Anyof.md -docs/components/schema/AnyofComplexTypes.md -docs/components/schema/AnyofWithBaseSchema.md -docs/components/schema/AnyofWithOneEmptySchema.md -docs/components/schema/ArrayTypeMatchesArrays.md -docs/components/schema/BooleanTypeMatchesBooleans.md -docs/components/schema/ByInt.md -docs/components/schema/ByNumber.md -docs/components/schema/BySmallNumber.md -docs/components/schema/DateTimeFormat.md -docs/components/schema/EmailFormat.md -docs/components/schema/EnumWith0DoesNotMatchFalse.md -docs/components/schema/EnumWith1DoesNotMatchTrue.md -docs/components/schema/EnumWithEscapedCharacters.md -docs/components/schema/EnumWithFalseDoesNotMatch0.md -docs/components/schema/EnumWithTrueDoesNotMatch1.md -docs/components/schema/EnumsInProperties.md -docs/components/schema/ForbiddenProperty.md -docs/components/schema/HostnameFormat.md -docs/components/schema/IntegerTypeMatchesIntegers.md -docs/components/schema/InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf.md -docs/components/schema/InvalidStringValueForDefault.md -docs/components/schema/Ipv4Format.md -docs/components/schema/Ipv6Format.md -docs/components/schema/JsonPointerFormat.md -docs/components/schema/MaximumValidation.md -docs/components/schema/MaximumValidationWithUnsignedInteger.md -docs/components/schema/MaxitemsValidation.md -docs/components/schema/MaxlengthValidation.md -docs/components/schema/Maxproperties0MeansTheObjectIsEmpty.md -docs/components/schema/MaxpropertiesValidation.md -docs/components/schema/MinimumValidation.md -docs/components/schema/MinimumValidationWithSignedInteger.md -docs/components/schema/MinitemsValidation.md -docs/components/schema/MinlengthValidation.md -docs/components/schema/MinpropertiesValidation.md -docs/components/schema/ModelNot.md -docs/components/schema/NestedAllofToCheckValidationSemantics.md -docs/components/schema/NestedAnyofToCheckValidationSemantics.md -docs/components/schema/NestedItems.md -docs/components/schema/NestedOneofToCheckValidationSemantics.md -docs/components/schema/NotMoreComplexSchema.md -docs/components/schema/NulCharactersInStrings.md -docs/components/schema/NullTypeMatchesOnlyTheNullObject.md -docs/components/schema/NumberTypeMatchesNumbers.md -docs/components/schema/ObjectPropertiesValidation.md -docs/components/schema/ObjectTypeMatchesObjects.md -docs/components/schema/Oneof.md -docs/components/schema/OneofComplexTypes.md -docs/components/schema/OneofWithBaseSchema.md -docs/components/schema/OneofWithEmptySchema.md -docs/components/schema/OneofWithRequired.md -docs/components/schema/PatternIsNotAnchored.md -docs/components/schema/PatternValidation.md -docs/components/schema/PropertiesWithEscapedCharacters.md -docs/components/schema/PropertyNamedRefThatIsNotAReference.md -docs/components/schema/RefInAdditionalproperties.md -docs/components/schema/RefInAllof.md -docs/components/schema/RefInAnyof.md -docs/components/schema/RefInItems.md -docs/components/schema/RefInNot.md -docs/components/schema/RefInOneof.md -docs/components/schema/RefInProperty.md -docs/components/schema/RequiredDefaultValidation.md -docs/components/schema/RequiredValidation.md -docs/components/schema/RequiredWithEmptyArray.md -docs/components/schema/RequiredWithEscapedCharacters.md -docs/components/schema/SimpleEnumValidation.md -docs/components/schema/StringTypeMatchesStrings.md -docs/components/schema/TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing.md -docs/components/schema/UniqueitemsFalseValidation.md -docs/components/schema/UniqueitemsValidation.md -docs/components/schema/UriFormat.md -docs/components/schema/UriReferenceFormat.md -docs/components/schema/UriTemplateFormat.md +docs/components/schema/additionalproperties_allows_a_schema_which_should_validate.AdditionalpropertiesAllowsASchemaWhichShouldValidate.md +docs/components/schema/additionalproperties_are_allowed_by_default.AdditionalpropertiesAreAllowedByDefault.md +docs/components/schema/additionalproperties_can_exist_by_itself.AdditionalpropertiesCanExistByItself.md +docs/components/schema/additionalproperties_should_not_look_in_applicators.AdditionalpropertiesShouldNotLookInApplicators.md +docs/components/schema/allof.Allof.md +docs/components/schema/allof_combined_with_anyof_oneof.AllofCombinedWithAnyofOneof.md +docs/components/schema/allof_simple_types.AllofSimpleTypes.md +docs/components/schema/allof_with_base_schema.AllofWithBaseSchema.md +docs/components/schema/allof_with_one_empty_schema.AllofWithOneEmptySchema.md +docs/components/schema/allof_with_the_first_empty_schema.AllofWithTheFirstEmptySchema.md +docs/components/schema/allof_with_the_last_empty_schema.AllofWithTheLastEmptySchema.md +docs/components/schema/allof_with_two_empty_schemas.AllofWithTwoEmptySchemas.md +docs/components/schema/anyof.Anyof.md +docs/components/schema/anyof_complex_types.AnyofComplexTypes.md +docs/components/schema/anyof_with_base_schema.AnyofWithBaseSchema.md +docs/components/schema/anyof_with_one_empty_schema.AnyofWithOneEmptySchema.md +docs/components/schema/array_type_matches_arrays.ArrayTypeMatchesArrays.md +docs/components/schema/boolean_type_matches_booleans.BooleanTypeMatchesBooleans.md +docs/components/schema/by_int.ByInt.md +docs/components/schema/by_number.ByNumber.md +docs/components/schema/by_small_number.BySmallNumber.md +docs/components/schema/date_time_format.DateTimeFormat.md +docs/components/schema/email_format.EmailFormat.md +docs/components/schema/enum_with0_does_not_match_false.EnumWith0DoesNotMatchFalse.md +docs/components/schema/enum_with1_does_not_match_true.EnumWith1DoesNotMatchTrue.md +docs/components/schema/enum_with_escaped_characters.EnumWithEscapedCharacters.md +docs/components/schema/enum_with_false_does_not_match0.EnumWithFalseDoesNotMatch0.md +docs/components/schema/enum_with_true_does_not_match1.EnumWithTrueDoesNotMatch1.md +docs/components/schema/enums_in_properties.EnumsInProperties.md +docs/components/schema/forbidden_property.ForbiddenProperty.md +docs/components/schema/hostname_format.HostnameFormat.md +docs/components/schema/integer_type_matches_integers.IntegerTypeMatchesIntegers.md +docs/components/schema/invalid_instance_should_not_raise_error_when_float_division_inf.InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf.md +docs/components/schema/invalid_string_value_for_default.InvalidStringValueForDefault.md +docs/components/schema/ipv4_format.Ipv4Format.md +docs/components/schema/ipv6_format.Ipv6Format.md +docs/components/schema/json_pointer_format.JsonPointerFormat.md +docs/components/schema/maximum_validation.MaximumValidation.md +docs/components/schema/maximum_validation_with_unsigned_integer.MaximumValidationWithUnsignedInteger.md +docs/components/schema/maxitems_validation.MaxitemsValidation.md +docs/components/schema/maxlength_validation.MaxlengthValidation.md +docs/components/schema/maxproperties0_means_the_object_is_empty.Maxproperties0MeansTheObjectIsEmpty.md +docs/components/schema/maxproperties_validation.MaxpropertiesValidation.md +docs/components/schema/minimum_validation.MinimumValidation.md +docs/components/schema/minimum_validation_with_signed_integer.MinimumValidationWithSignedInteger.md +docs/components/schema/minitems_validation.MinitemsValidation.md +docs/components/schema/minlength_validation.MinlengthValidation.md +docs/components/schema/minproperties_validation.MinpropertiesValidation.md +docs/components/schema/model_not.ModelNot.md +docs/components/schema/nested_allof_to_check_validation_semantics.NestedAllofToCheckValidationSemantics.md +docs/components/schema/nested_anyof_to_check_validation_semantics.NestedAnyofToCheckValidationSemantics.md +docs/components/schema/nested_items.NestedItems.md +docs/components/schema/nested_oneof_to_check_validation_semantics.NestedOneofToCheckValidationSemantics.md +docs/components/schema/not_more_complex_schema.NotMoreComplexSchema.md +docs/components/schema/nul_characters_in_strings.NulCharactersInStrings.md +docs/components/schema/null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject.md +docs/components/schema/number_type_matches_numbers.NumberTypeMatchesNumbers.md +docs/components/schema/object_properties_validation.ObjectPropertiesValidation.md +docs/components/schema/object_type_matches_objects.ObjectTypeMatchesObjects.md +docs/components/schema/oneof.Oneof.md +docs/components/schema/oneof_complex_types.OneofComplexTypes.md +docs/components/schema/oneof_with_base_schema.OneofWithBaseSchema.md +docs/components/schema/oneof_with_empty_schema.OneofWithEmptySchema.md +docs/components/schema/oneof_with_required.OneofWithRequired.md +docs/components/schema/pattern_is_not_anchored.PatternIsNotAnchored.md +docs/components/schema/pattern_validation.PatternValidation.md +docs/components/schema/properties_with_escaped_characters.PropertiesWithEscapedCharacters.md +docs/components/schema/property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference.md +docs/components/schema/ref_in_additionalproperties.RefInAdditionalproperties.md +docs/components/schema/ref_in_allof.RefInAllof.md +docs/components/schema/ref_in_anyof.RefInAnyof.md +docs/components/schema/ref_in_items.RefInItems.md +docs/components/schema/ref_in_not.RefInNot.md +docs/components/schema/ref_in_oneof.RefInOneof.md +docs/components/schema/ref_in_property.RefInProperty.md +docs/components/schema/required_default_validation.RequiredDefaultValidation.md +docs/components/schema/required_validation.RequiredValidation.md +docs/components/schema/required_with_empty_array.RequiredWithEmptyArray.md +docs/components/schema/required_with_escaped_characters.RequiredWithEscapedCharacters.md +docs/components/schema/simple_enum_validation.SimpleEnumValidation.md +docs/components/schema/string_type_matches_strings.StringTypeMatchesStrings.md +docs/components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing.md +docs/components/schema/uniqueitems_false_validation.UniqueitemsFalseValidation.md +docs/components/schema/uniqueitems_validation.UniqueitemsValidation.md +docs/components/schema/uri_format.UriFormat.md +docs/components/schema/uri_reference_format.UriReferenceFormat.md +docs/components/schema/uri_template_format.UriTemplateFormat.md git_push.sh requirements.txt setup.cfg diff --git a/samples/openapi3/client/3_0_3_unit_test/python/README.md b/samples/openapi3/client/3_0_3_unit_test/python/README.md index adf1e00397c..36e9a1060b0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/README.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/README.md @@ -138,7 +138,7 @@ Please follow the [installation procedure](#installation--usage) and then run th ```python import unit_test_api from unit_test_api.apis.tags import ref_api -from unit_test_api.components.schema.property_named_ref_that_is_not_a_reference import PropertyNamedRefThatIsNotAReference +from unit_test_api.components.schema import property_named_ref_that_is_not_a_reference from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -152,7 +152,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = ref_api.RefApi(api_client) # example passing only required values which don't have defaults set - body = PropertyNamedRefThatIsNotAReference(None) + body = property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference(None) try: api_response = api_instance.post_property_named_ref_that_is_not_a_reference_request_body( body=body, @@ -866,93 +866,93 @@ Class | Method | HTTP request | Description ## Documentation For Models - - [AdditionalpropertiesAllowsASchemaWhichShouldValidate](docs/components/schema/AdditionalpropertiesAllowsASchemaWhichShouldValidate.md) - - [AdditionalpropertiesAreAllowedByDefault](docs/components/schema/AdditionalpropertiesAreAllowedByDefault.md) - - [AdditionalpropertiesCanExistByItself](docs/components/schema/AdditionalpropertiesCanExistByItself.md) - - [AdditionalpropertiesShouldNotLookInApplicators](docs/components/schema/AdditionalpropertiesShouldNotLookInApplicators.md) - - [Allof](docs/components/schema/Allof.md) - - [AllofCombinedWithAnyofOneof](docs/components/schema/AllofCombinedWithAnyofOneof.md) - - [AllofSimpleTypes](docs/components/schema/AllofSimpleTypes.md) - - [AllofWithBaseSchema](docs/components/schema/AllofWithBaseSchema.md) - - [AllofWithOneEmptySchema](docs/components/schema/AllofWithOneEmptySchema.md) - - [AllofWithTheFirstEmptySchema](docs/components/schema/AllofWithTheFirstEmptySchema.md) - - [AllofWithTheLastEmptySchema](docs/components/schema/AllofWithTheLastEmptySchema.md) - - [AllofWithTwoEmptySchemas](docs/components/schema/AllofWithTwoEmptySchemas.md) - - [Anyof](docs/components/schema/Anyof.md) - - [AnyofComplexTypes](docs/components/schema/AnyofComplexTypes.md) - - [AnyofWithBaseSchema](docs/components/schema/AnyofWithBaseSchema.md) - - [AnyofWithOneEmptySchema](docs/components/schema/AnyofWithOneEmptySchema.md) - - [ArrayTypeMatchesArrays](docs/components/schema/ArrayTypeMatchesArrays.md) - - [BooleanTypeMatchesBooleans](docs/components/schema/BooleanTypeMatchesBooleans.md) - - [ByInt](docs/components/schema/ByInt.md) - - [ByNumber](docs/components/schema/ByNumber.md) - - [BySmallNumber](docs/components/schema/BySmallNumber.md) - - [DateTimeFormat](docs/components/schema/DateTimeFormat.md) - - [EmailFormat](docs/components/schema/EmailFormat.md) - - [EnumWith0DoesNotMatchFalse](docs/components/schema/EnumWith0DoesNotMatchFalse.md) - - [EnumWith1DoesNotMatchTrue](docs/components/schema/EnumWith1DoesNotMatchTrue.md) - - [EnumWithEscapedCharacters](docs/components/schema/EnumWithEscapedCharacters.md) - - [EnumWithFalseDoesNotMatch0](docs/components/schema/EnumWithFalseDoesNotMatch0.md) - - [EnumWithTrueDoesNotMatch1](docs/components/schema/EnumWithTrueDoesNotMatch1.md) - - [EnumsInProperties](docs/components/schema/EnumsInProperties.md) - - [ForbiddenProperty](docs/components/schema/ForbiddenProperty.md) - - [HostnameFormat](docs/components/schema/HostnameFormat.md) - - [IntegerTypeMatchesIntegers](docs/components/schema/IntegerTypeMatchesIntegers.md) - - [InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf](docs/components/schema/InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf.md) - - [InvalidStringValueForDefault](docs/components/schema/InvalidStringValueForDefault.md) - - [Ipv4Format](docs/components/schema/Ipv4Format.md) - - [Ipv6Format](docs/components/schema/Ipv6Format.md) - - [JsonPointerFormat](docs/components/schema/JsonPointerFormat.md) - - [MaximumValidation](docs/components/schema/MaximumValidation.md) - - [MaximumValidationWithUnsignedInteger](docs/components/schema/MaximumValidationWithUnsignedInteger.md) - - [MaxitemsValidation](docs/components/schema/MaxitemsValidation.md) - - [MaxlengthValidation](docs/components/schema/MaxlengthValidation.md) - - [Maxproperties0MeansTheObjectIsEmpty](docs/components/schema/Maxproperties0MeansTheObjectIsEmpty.md) - - [MaxpropertiesValidation](docs/components/schema/MaxpropertiesValidation.md) - - [MinimumValidation](docs/components/schema/MinimumValidation.md) - - [MinimumValidationWithSignedInteger](docs/components/schema/MinimumValidationWithSignedInteger.md) - - [MinitemsValidation](docs/components/schema/MinitemsValidation.md) - - [MinlengthValidation](docs/components/schema/MinlengthValidation.md) - - [MinpropertiesValidation](docs/components/schema/MinpropertiesValidation.md) - - [ModelNot](docs/components/schema/ModelNot.md) - - [NestedAllofToCheckValidationSemantics](docs/components/schema/NestedAllofToCheckValidationSemantics.md) - - [NestedAnyofToCheckValidationSemantics](docs/components/schema/NestedAnyofToCheckValidationSemantics.md) - - [NestedItems](docs/components/schema/NestedItems.md) - - [NestedOneofToCheckValidationSemantics](docs/components/schema/NestedOneofToCheckValidationSemantics.md) - - [NotMoreComplexSchema](docs/components/schema/NotMoreComplexSchema.md) - - [NulCharactersInStrings](docs/components/schema/NulCharactersInStrings.md) - - [NullTypeMatchesOnlyTheNullObject](docs/components/schema/NullTypeMatchesOnlyTheNullObject.md) - - [NumberTypeMatchesNumbers](docs/components/schema/NumberTypeMatchesNumbers.md) - - [ObjectPropertiesValidation](docs/components/schema/ObjectPropertiesValidation.md) - - [ObjectTypeMatchesObjects](docs/components/schema/ObjectTypeMatchesObjects.md) - - [Oneof](docs/components/schema/Oneof.md) - - [OneofComplexTypes](docs/components/schema/OneofComplexTypes.md) - - [OneofWithBaseSchema](docs/components/schema/OneofWithBaseSchema.md) - - [OneofWithEmptySchema](docs/components/schema/OneofWithEmptySchema.md) - - [OneofWithRequired](docs/components/schema/OneofWithRequired.md) - - [PatternIsNotAnchored](docs/components/schema/PatternIsNotAnchored.md) - - [PatternValidation](docs/components/schema/PatternValidation.md) - - [PropertiesWithEscapedCharacters](docs/components/schema/PropertiesWithEscapedCharacters.md) - - [PropertyNamedRefThatIsNotAReference](docs/components/schema/PropertyNamedRefThatIsNotAReference.md) - - [RefInAdditionalproperties](docs/components/schema/RefInAdditionalproperties.md) - - [RefInAllof](docs/components/schema/RefInAllof.md) - - [RefInAnyof](docs/components/schema/RefInAnyof.md) - - [RefInItems](docs/components/schema/RefInItems.md) - - [RefInNot](docs/components/schema/RefInNot.md) - - [RefInOneof](docs/components/schema/RefInOneof.md) - - [RefInProperty](docs/components/schema/RefInProperty.md) - - [RequiredDefaultValidation](docs/components/schema/RequiredDefaultValidation.md) - - [RequiredValidation](docs/components/schema/RequiredValidation.md) - - [RequiredWithEmptyArray](docs/components/schema/RequiredWithEmptyArray.md) - - [RequiredWithEscapedCharacters](docs/components/schema/RequiredWithEscapedCharacters.md) - - [SimpleEnumValidation](docs/components/schema/SimpleEnumValidation.md) - - [StringTypeMatchesStrings](docs/components/schema/StringTypeMatchesStrings.md) - - [TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing](docs/components/schema/TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing.md) - - [UniqueitemsFalseValidation](docs/components/schema/UniqueitemsFalseValidation.md) - - [UniqueitemsValidation](docs/components/schema/UniqueitemsValidation.md) - - [UriFormat](docs/components/schema/UriFormat.md) - - [UriReferenceFormat](docs/components/schema/UriReferenceFormat.md) - - [UriTemplateFormat](docs/components/schema/UriTemplateFormat.md) + - [AdditionalpropertiesAllowsASchemaWhichShouldValidate](docs/components/schema/additionalproperties_allows_a_schema_which_should_validate.AdditionalpropertiesAllowsASchemaWhichShouldValidate.md) + - [AdditionalpropertiesAreAllowedByDefault](docs/components/schema/additionalproperties_are_allowed_by_default.AdditionalpropertiesAreAllowedByDefault.md) + - [AdditionalpropertiesCanExistByItself](docs/components/schema/additionalproperties_can_exist_by_itself.AdditionalpropertiesCanExistByItself.md) + - [AdditionalpropertiesShouldNotLookInApplicators](docs/components/schema/additionalproperties_should_not_look_in_applicators.AdditionalpropertiesShouldNotLookInApplicators.md) + - [Allof](docs/components/schema/allof.Allof.md) + - [AllofCombinedWithAnyofOneof](docs/components/schema/allof_combined_with_anyof_oneof.AllofCombinedWithAnyofOneof.md) + - [AllofSimpleTypes](docs/components/schema/allof_simple_types.AllofSimpleTypes.md) + - [AllofWithBaseSchema](docs/components/schema/allof_with_base_schema.AllofWithBaseSchema.md) + - [AllofWithOneEmptySchema](docs/components/schema/allof_with_one_empty_schema.AllofWithOneEmptySchema.md) + - [AllofWithTheFirstEmptySchema](docs/components/schema/allof_with_the_first_empty_schema.AllofWithTheFirstEmptySchema.md) + - [AllofWithTheLastEmptySchema](docs/components/schema/allof_with_the_last_empty_schema.AllofWithTheLastEmptySchema.md) + - [AllofWithTwoEmptySchemas](docs/components/schema/allof_with_two_empty_schemas.AllofWithTwoEmptySchemas.md) + - [Anyof](docs/components/schema/anyof.Anyof.md) + - [AnyofComplexTypes](docs/components/schema/anyof_complex_types.AnyofComplexTypes.md) + - [AnyofWithBaseSchema](docs/components/schema/anyof_with_base_schema.AnyofWithBaseSchema.md) + - [AnyofWithOneEmptySchema](docs/components/schema/anyof_with_one_empty_schema.AnyofWithOneEmptySchema.md) + - [ArrayTypeMatchesArrays](docs/components/schema/array_type_matches_arrays.ArrayTypeMatchesArrays.md) + - [BooleanTypeMatchesBooleans](docs/components/schema/boolean_type_matches_booleans.BooleanTypeMatchesBooleans.md) + - [ByInt](docs/components/schema/by_int.ByInt.md) + - [ByNumber](docs/components/schema/by_number.ByNumber.md) + - [BySmallNumber](docs/components/schema/by_small_number.BySmallNumber.md) + - [DateTimeFormat](docs/components/schema/date_time_format.DateTimeFormat.md) + - [EmailFormat](docs/components/schema/email_format.EmailFormat.md) + - [EnumWith0DoesNotMatchFalse](docs/components/schema/enum_with0_does_not_match_false.EnumWith0DoesNotMatchFalse.md) + - [EnumWith1DoesNotMatchTrue](docs/components/schema/enum_with1_does_not_match_true.EnumWith1DoesNotMatchTrue.md) + - [EnumWithEscapedCharacters](docs/components/schema/enum_with_escaped_characters.EnumWithEscapedCharacters.md) + - [EnumWithFalseDoesNotMatch0](docs/components/schema/enum_with_false_does_not_match0.EnumWithFalseDoesNotMatch0.md) + - [EnumWithTrueDoesNotMatch1](docs/components/schema/enum_with_true_does_not_match1.EnumWithTrueDoesNotMatch1.md) + - [EnumsInProperties](docs/components/schema/enums_in_properties.EnumsInProperties.md) + - [ForbiddenProperty](docs/components/schema/forbidden_property.ForbiddenProperty.md) + - [HostnameFormat](docs/components/schema/hostname_format.HostnameFormat.md) + - [IntegerTypeMatchesIntegers](docs/components/schema/integer_type_matches_integers.IntegerTypeMatchesIntegers.md) + - [InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf](docs/components/schema/invalid_instance_should_not_raise_error_when_float_division_inf.InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf.md) + - [InvalidStringValueForDefault](docs/components/schema/invalid_string_value_for_default.InvalidStringValueForDefault.md) + - [Ipv4Format](docs/components/schema/ipv4_format.Ipv4Format.md) + - [Ipv6Format](docs/components/schema/ipv6_format.Ipv6Format.md) + - [JsonPointerFormat](docs/components/schema/json_pointer_format.JsonPointerFormat.md) + - [MaximumValidation](docs/components/schema/maximum_validation.MaximumValidation.md) + - [MaximumValidationWithUnsignedInteger](docs/components/schema/maximum_validation_with_unsigned_integer.MaximumValidationWithUnsignedInteger.md) + - [MaxitemsValidation](docs/components/schema/maxitems_validation.MaxitemsValidation.md) + - [MaxlengthValidation](docs/components/schema/maxlength_validation.MaxlengthValidation.md) + - [Maxproperties0MeansTheObjectIsEmpty](docs/components/schema/maxproperties0_means_the_object_is_empty.Maxproperties0MeansTheObjectIsEmpty.md) + - [MaxpropertiesValidation](docs/components/schema/maxproperties_validation.MaxpropertiesValidation.md) + - [MinimumValidation](docs/components/schema/minimum_validation.MinimumValidation.md) + - [MinimumValidationWithSignedInteger](docs/components/schema/minimum_validation_with_signed_integer.MinimumValidationWithSignedInteger.md) + - [MinitemsValidation](docs/components/schema/minitems_validation.MinitemsValidation.md) + - [MinlengthValidation](docs/components/schema/minlength_validation.MinlengthValidation.md) + - [MinpropertiesValidation](docs/components/schema/minproperties_validation.MinpropertiesValidation.md) + - [ModelNot](docs/components/schema/model_not.ModelNot.md) + - [NestedAllofToCheckValidationSemantics](docs/components/schema/nested_allof_to_check_validation_semantics.NestedAllofToCheckValidationSemantics.md) + - [NestedAnyofToCheckValidationSemantics](docs/components/schema/nested_anyof_to_check_validation_semantics.NestedAnyofToCheckValidationSemantics.md) + - [NestedItems](docs/components/schema/nested_items.NestedItems.md) + - [NestedOneofToCheckValidationSemantics](docs/components/schema/nested_oneof_to_check_validation_semantics.NestedOneofToCheckValidationSemantics.md) + - [NotMoreComplexSchema](docs/components/schema/not_more_complex_schema.NotMoreComplexSchema.md) + - [NulCharactersInStrings](docs/components/schema/nul_characters_in_strings.NulCharactersInStrings.md) + - [NullTypeMatchesOnlyTheNullObject](docs/components/schema/null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject.md) + - [NumberTypeMatchesNumbers](docs/components/schema/number_type_matches_numbers.NumberTypeMatchesNumbers.md) + - [ObjectPropertiesValidation](docs/components/schema/object_properties_validation.ObjectPropertiesValidation.md) + - [ObjectTypeMatchesObjects](docs/components/schema/object_type_matches_objects.ObjectTypeMatchesObjects.md) + - [Oneof](docs/components/schema/oneof.Oneof.md) + - [OneofComplexTypes](docs/components/schema/oneof_complex_types.OneofComplexTypes.md) + - [OneofWithBaseSchema](docs/components/schema/oneof_with_base_schema.OneofWithBaseSchema.md) + - [OneofWithEmptySchema](docs/components/schema/oneof_with_empty_schema.OneofWithEmptySchema.md) + - [OneofWithRequired](docs/components/schema/oneof_with_required.OneofWithRequired.md) + - [PatternIsNotAnchored](docs/components/schema/pattern_is_not_anchored.PatternIsNotAnchored.md) + - [PatternValidation](docs/components/schema/pattern_validation.PatternValidation.md) + - [PropertiesWithEscapedCharacters](docs/components/schema/properties_with_escaped_characters.PropertiesWithEscapedCharacters.md) + - [PropertyNamedRefThatIsNotAReference](docs/components/schema/property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference.md) + - [RefInAdditionalproperties](docs/components/schema/ref_in_additionalproperties.RefInAdditionalproperties.md) + - [RefInAllof](docs/components/schema/ref_in_allof.RefInAllof.md) + - [RefInAnyof](docs/components/schema/ref_in_anyof.RefInAnyof.md) + - [RefInItems](docs/components/schema/ref_in_items.RefInItems.md) + - [RefInNot](docs/components/schema/ref_in_not.RefInNot.md) + - [RefInOneof](docs/components/schema/ref_in_oneof.RefInOneof.md) + - [RefInProperty](docs/components/schema/ref_in_property.RefInProperty.md) + - [RequiredDefaultValidation](docs/components/schema/required_default_validation.RequiredDefaultValidation.md) + - [RequiredValidation](docs/components/schema/required_validation.RequiredValidation.md) + - [RequiredWithEmptyArray](docs/components/schema/required_with_empty_array.RequiredWithEmptyArray.md) + - [RequiredWithEscapedCharacters](docs/components/schema/required_with_escaped_characters.RequiredWithEscapedCharacters.md) + - [SimpleEnumValidation](docs/components/schema/simple_enum_validation.SimpleEnumValidation.md) + - [StringTypeMatchesStrings](docs/components/schema/string_type_matches_strings.StringTypeMatchesStrings.md) + - [TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing](docs/components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing.md) + - [UniqueitemsFalseValidation](docs/components/schema/uniqueitems_false_validation.UniqueitemsFalseValidation.md) + - [UniqueitemsValidation](docs/components/schema/uniqueitems_validation.UniqueitemsValidation.md) + - [UriFormat](docs/components/schema/uri_format.UriFormat.md) + - [UriReferenceFormat](docs/components/schema/uri_reference_format.UriReferenceFormat.md) + - [UriTemplateFormat](docs/components/schema/uri_template_format.UriTemplateFormat.md) ## Documentation For Authorization diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/AdditionalPropertiesApi.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/AdditionalPropertiesApi.md index c8235acea0c..227490d9295 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/AdditionalPropertiesApi.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/AdditionalPropertiesApi.md @@ -23,7 +23,7 @@ Method | HTTP request | Description ```python import unit_test_api from unit_test_api.apis.tags import additional_properties_api -from unit_test_api.components.schema.additionalproperties_allows_a_schema_which_should_validate import AdditionalpropertiesAllowsASchemaWhichShouldValidate +from unit_test_api.components.schema import additionalproperties_allows_a_schema_which_should_validate from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -37,7 +37,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = additional_properties_api.AdditionalPropertiesApi(api_client) # example passing only required values which don't have defaults set - body = AdditionalpropertiesAllowsASchemaWhichShouldValidate( + body = additionalproperties_allows_a_schema_which_should_validate.AdditionalpropertiesAllowsASchemaWhichShouldValidate( foo=None, bar=None, ) @@ -63,7 +63,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AdditionalpropertiesAllowsASchemaWhichShouldValidate**](../../components/schema/AdditionalpropertiesAllowsASchemaWhichShouldValidate.md) | | +[**AdditionalpropertiesAllowsASchemaWhichShouldValidate**](../../components/schema/additionalproperties_allows_a_schema_which_should_validate.AdditionalpropertiesAllowsASchemaWhichShouldValidate.md) | | ### Return Types, Responses @@ -134,7 +134,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AdditionalpropertiesAllowsASchemaWhichShouldValidate**](../../components/schema/AdditionalpropertiesAllowsASchemaWhichShouldValidate.md) | | +[**AdditionalpropertiesAllowsASchemaWhichShouldValidate**](../../components/schema/additionalproperties_allows_a_schema_which_should_validate.AdditionalpropertiesAllowsASchemaWhichShouldValidate.md) | | ### Authorization @@ -152,7 +152,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import additional_properties_api -from unit_test_api.components.schema.additionalproperties_are_allowed_by_default import AdditionalpropertiesAreAllowedByDefault +from unit_test_api.components.schema import additionalproperties_are_allowed_by_default from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -166,7 +166,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = additional_properties_api.AdditionalPropertiesApi(api_client) # example passing only required values which don't have defaults set - body = AdditionalpropertiesAreAllowedByDefault(None) + body = additionalproperties_are_allowed_by_default.AdditionalpropertiesAreAllowedByDefault(None) try: api_response = api_instance.post_additionalproperties_are_allowed_by_default_request_body( body=body, @@ -189,7 +189,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AdditionalpropertiesAreAllowedByDefault**](../../components/schema/AdditionalpropertiesAreAllowedByDefault.md) | | +[**AdditionalpropertiesAreAllowedByDefault**](../../components/schema/additionalproperties_are_allowed_by_default.AdditionalpropertiesAreAllowedByDefault.md) | | ### Return Types, Responses @@ -260,7 +260,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AdditionalpropertiesAreAllowedByDefault**](../../components/schema/AdditionalpropertiesAreAllowedByDefault.md) | | +[**AdditionalpropertiesAreAllowedByDefault**](../../components/schema/additionalproperties_are_allowed_by_default.AdditionalpropertiesAreAllowedByDefault.md) | | ### Authorization @@ -278,7 +278,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import additional_properties_api -from unit_test_api.components.schema.additionalproperties_can_exist_by_itself import AdditionalpropertiesCanExistByItself +from unit_test_api.components.schema import additionalproperties_can_exist_by_itself from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -292,7 +292,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = additional_properties_api.AdditionalPropertiesApi(api_client) # example passing only required values which don't have defaults set - body = AdditionalpropertiesCanExistByItself( + body = additionalproperties_can_exist_by_itself.AdditionalpropertiesCanExistByItself( key=True, ) try: @@ -317,7 +317,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AdditionalpropertiesCanExistByItself**](../../components/schema/AdditionalpropertiesCanExistByItself.md) | | +[**AdditionalpropertiesCanExistByItself**](../../components/schema/additionalproperties_can_exist_by_itself.AdditionalpropertiesCanExistByItself.md) | | ### Return Types, Responses @@ -388,7 +388,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AdditionalpropertiesCanExistByItself**](../../components/schema/AdditionalpropertiesCanExistByItself.md) | | +[**AdditionalpropertiesCanExistByItself**](../../components/schema/additionalproperties_can_exist_by_itself.AdditionalpropertiesCanExistByItself.md) | | ### Authorization @@ -406,7 +406,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import additional_properties_api -from unit_test_api.components.schema.additionalproperties_should_not_look_in_applicators import AdditionalpropertiesShouldNotLookInApplicators +from unit_test_api.components.schema import additionalproperties_should_not_look_in_applicators from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -420,7 +420,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = additional_properties_api.AdditionalPropertiesApi(api_client) # example passing only required values which don't have defaults set - body = AdditionalpropertiesShouldNotLookInApplicators(None) + body = additionalproperties_should_not_look_in_applicators.AdditionalpropertiesShouldNotLookInApplicators(None) try: api_response = api_instance.post_additionalproperties_should_not_look_in_applicators_request_body( body=body, @@ -443,7 +443,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AdditionalpropertiesShouldNotLookInApplicators**](../../components/schema/AdditionalpropertiesShouldNotLookInApplicators.md) | | +[**AdditionalpropertiesShouldNotLookInApplicators**](../../components/schema/additionalproperties_should_not_look_in_applicators.AdditionalpropertiesShouldNotLookInApplicators.md) | | ### Return Types, Responses @@ -514,7 +514,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AdditionalpropertiesShouldNotLookInApplicators**](../../components/schema/AdditionalpropertiesShouldNotLookInApplicators.md) | | +[**AdditionalpropertiesShouldNotLookInApplicators**](../../components/schema/additionalproperties_should_not_look_in_applicators.AdditionalpropertiesShouldNotLookInApplicators.md) | | ### Authorization diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/AllOfApi.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/AllOfApi.md index 29d44ce4648..678d99e6d2d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/AllOfApi.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/AllOfApi.md @@ -33,7 +33,7 @@ Method | HTTP request | Description ```python import unit_test_api from unit_test_api.apis.tags import all_of_api -from unit_test_api.components.schema.allof_combined_with_anyof_oneof import AllofCombinedWithAnyofOneof +from unit_test_api.components.schema import allof_combined_with_anyof_oneof from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -47,7 +47,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = all_of_api.AllOfApi(api_client) # example passing only required values which don't have defaults set - body = AllofCombinedWithAnyofOneof(None) + body = allof_combined_with_anyof_oneof.AllofCombinedWithAnyofOneof(None) try: api_response = api_instance.post_allof_combined_with_anyof_oneof_request_body( body=body, @@ -70,7 +70,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AllofCombinedWithAnyofOneof**](../../components/schema/AllofCombinedWithAnyofOneof.md) | | +[**AllofCombinedWithAnyofOneof**](../../components/schema/allof_combined_with_anyof_oneof.AllofCombinedWithAnyofOneof.md) | | ### Return Types, Responses @@ -141,7 +141,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AllofCombinedWithAnyofOneof**](../../components/schema/AllofCombinedWithAnyofOneof.md) | | +[**AllofCombinedWithAnyofOneof**](../../components/schema/allof_combined_with_anyof_oneof.AllofCombinedWithAnyofOneof.md) | | ### Authorization @@ -159,7 +159,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import all_of_api -from unit_test_api.components.schema.allof import Allof +from unit_test_api.components.schema import allof from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -173,7 +173,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = all_of_api.AllOfApi(api_client) # example passing only required values which don't have defaults set - body = Allof(None) + body = allof.Allof(None) try: api_response = api_instance.post_allof_request_body( body=body, @@ -196,7 +196,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Allof**](../../components/schema/Allof.md) | | +[**Allof**](../../components/schema/allof.Allof.md) | | ### Return Types, Responses @@ -267,7 +267,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Allof**](../../components/schema/Allof.md) | | +[**Allof**](../../components/schema/allof.Allof.md) | | ### Authorization @@ -285,7 +285,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import all_of_api -from unit_test_api.components.schema.allof_simple_types import AllofSimpleTypes +from unit_test_api.components.schema import allof_simple_types from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -299,7 +299,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = all_of_api.AllOfApi(api_client) # example passing only required values which don't have defaults set - body = AllofSimpleTypes(None) + body = allof_simple_types.AllofSimpleTypes(None) try: api_response = api_instance.post_allof_simple_types_request_body( body=body, @@ -322,7 +322,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AllofSimpleTypes**](../../components/schema/AllofSimpleTypes.md) | | +[**AllofSimpleTypes**](../../components/schema/allof_simple_types.AllofSimpleTypes.md) | | ### Return Types, Responses @@ -393,7 +393,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AllofSimpleTypes**](../../components/schema/AllofSimpleTypes.md) | | +[**AllofSimpleTypes**](../../components/schema/allof_simple_types.AllofSimpleTypes.md) | | ### Authorization @@ -411,7 +411,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import all_of_api -from unit_test_api.components.schema.allof_with_base_schema import AllofWithBaseSchema +from unit_test_api.components.schema import allof_with_base_schema from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -425,7 +425,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = all_of_api.AllOfApi(api_client) # example passing only required values which don't have defaults set - body = AllofWithBaseSchema({}) + body = allof_with_base_schema.AllofWithBaseSchema({}) try: api_response = api_instance.post_allof_with_base_schema_request_body( body=body, @@ -448,7 +448,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AllofWithBaseSchema**](../../components/schema/AllofWithBaseSchema.md) | | +[**AllofWithBaseSchema**](../../components/schema/allof_with_base_schema.AllofWithBaseSchema.md) | | ### Return Types, Responses @@ -519,7 +519,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AllofWithBaseSchema**](../../components/schema/AllofWithBaseSchema.md) | | +[**AllofWithBaseSchema**](../../components/schema/allof_with_base_schema.AllofWithBaseSchema.md) | | ### Authorization @@ -537,7 +537,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import all_of_api -from unit_test_api.components.schema.allof_with_one_empty_schema import AllofWithOneEmptySchema +from unit_test_api.components.schema import allof_with_one_empty_schema from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -551,7 +551,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = all_of_api.AllOfApi(api_client) # example passing only required values which don't have defaults set - body = AllofWithOneEmptySchema(None) + body = allof_with_one_empty_schema.AllofWithOneEmptySchema(None) try: api_response = api_instance.post_allof_with_one_empty_schema_request_body( body=body, @@ -574,7 +574,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AllofWithOneEmptySchema**](../../components/schema/AllofWithOneEmptySchema.md) | | +[**AllofWithOneEmptySchema**](../../components/schema/allof_with_one_empty_schema.AllofWithOneEmptySchema.md) | | ### Return Types, Responses @@ -645,7 +645,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AllofWithOneEmptySchema**](../../components/schema/AllofWithOneEmptySchema.md) | | +[**AllofWithOneEmptySchema**](../../components/schema/allof_with_one_empty_schema.AllofWithOneEmptySchema.md) | | ### Authorization @@ -663,7 +663,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import all_of_api -from unit_test_api.components.schema.allof_with_the_first_empty_schema import AllofWithTheFirstEmptySchema +from unit_test_api.components.schema import allof_with_the_first_empty_schema from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -677,7 +677,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = all_of_api.AllOfApi(api_client) # example passing only required values which don't have defaults set - body = AllofWithTheFirstEmptySchema(None) + body = allof_with_the_first_empty_schema.AllofWithTheFirstEmptySchema(None) try: api_response = api_instance.post_allof_with_the_first_empty_schema_request_body( body=body, @@ -700,7 +700,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AllofWithTheFirstEmptySchema**](../../components/schema/AllofWithTheFirstEmptySchema.md) | | +[**AllofWithTheFirstEmptySchema**](../../components/schema/allof_with_the_first_empty_schema.AllofWithTheFirstEmptySchema.md) | | ### Return Types, Responses @@ -771,7 +771,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AllofWithTheFirstEmptySchema**](../../components/schema/AllofWithTheFirstEmptySchema.md) | | +[**AllofWithTheFirstEmptySchema**](../../components/schema/allof_with_the_first_empty_schema.AllofWithTheFirstEmptySchema.md) | | ### Authorization @@ -789,7 +789,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import all_of_api -from unit_test_api.components.schema.allof_with_the_last_empty_schema import AllofWithTheLastEmptySchema +from unit_test_api.components.schema import allof_with_the_last_empty_schema from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -803,7 +803,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = all_of_api.AllOfApi(api_client) # example passing only required values which don't have defaults set - body = AllofWithTheLastEmptySchema(None) + body = allof_with_the_last_empty_schema.AllofWithTheLastEmptySchema(None) try: api_response = api_instance.post_allof_with_the_last_empty_schema_request_body( body=body, @@ -826,7 +826,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AllofWithTheLastEmptySchema**](../../components/schema/AllofWithTheLastEmptySchema.md) | | +[**AllofWithTheLastEmptySchema**](../../components/schema/allof_with_the_last_empty_schema.AllofWithTheLastEmptySchema.md) | | ### Return Types, Responses @@ -897,7 +897,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AllofWithTheLastEmptySchema**](../../components/schema/AllofWithTheLastEmptySchema.md) | | +[**AllofWithTheLastEmptySchema**](../../components/schema/allof_with_the_last_empty_schema.AllofWithTheLastEmptySchema.md) | | ### Authorization @@ -915,7 +915,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import all_of_api -from unit_test_api.components.schema.allof_with_two_empty_schemas import AllofWithTwoEmptySchemas +from unit_test_api.components.schema import allof_with_two_empty_schemas from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -929,7 +929,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = all_of_api.AllOfApi(api_client) # example passing only required values which don't have defaults set - body = AllofWithTwoEmptySchemas(None) + body = allof_with_two_empty_schemas.AllofWithTwoEmptySchemas(None) try: api_response = api_instance.post_allof_with_two_empty_schemas_request_body( body=body, @@ -952,7 +952,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AllofWithTwoEmptySchemas**](../../components/schema/AllofWithTwoEmptySchemas.md) | | +[**AllofWithTwoEmptySchemas**](../../components/schema/allof_with_two_empty_schemas.AllofWithTwoEmptySchemas.md) | | ### Return Types, Responses @@ -1023,7 +1023,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AllofWithTwoEmptySchemas**](../../components/schema/AllofWithTwoEmptySchemas.md) | | +[**AllofWithTwoEmptySchemas**](../../components/schema/allof_with_two_empty_schemas.AllofWithTwoEmptySchemas.md) | | ### Authorization @@ -1041,7 +1041,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import all_of_api -from unit_test_api.components.schema.nested_allof_to_check_validation_semantics import NestedAllofToCheckValidationSemantics +from unit_test_api.components.schema import nested_allof_to_check_validation_semantics from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -1055,7 +1055,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = all_of_api.AllOfApi(api_client) # example passing only required values which don't have defaults set - body = NestedAllofToCheckValidationSemantics(None) + body = nested_allof_to_check_validation_semantics.NestedAllofToCheckValidationSemantics(None) try: api_response = api_instance.post_nested_allof_to_check_validation_semantics_request_body( body=body, @@ -1078,7 +1078,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NestedAllofToCheckValidationSemantics**](../../components/schema/NestedAllofToCheckValidationSemantics.md) | | +[**NestedAllofToCheckValidationSemantics**](../../components/schema/nested_allof_to_check_validation_semantics.NestedAllofToCheckValidationSemantics.md) | | ### Return Types, Responses @@ -1149,7 +1149,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NestedAllofToCheckValidationSemantics**](../../components/schema/NestedAllofToCheckValidationSemantics.md) | | +[**NestedAllofToCheckValidationSemantics**](../../components/schema/nested_allof_to_check_validation_semantics.NestedAllofToCheckValidationSemantics.md) | | ### Authorization diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/AnyOfApi.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/AnyOfApi.md index 838e7ec8fb7..562ce2f6b4a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/AnyOfApi.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/AnyOfApi.md @@ -25,7 +25,7 @@ Method | HTTP request | Description ```python import unit_test_api from unit_test_api.apis.tags import any_of_api -from unit_test_api.components.schema.anyof_complex_types import AnyofComplexTypes +from unit_test_api.components.schema import anyof_complex_types from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -39,7 +39,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = any_of_api.AnyOfApi(api_client) # example passing only required values which don't have defaults set - body = AnyofComplexTypes(None) + body = anyof_complex_types.AnyofComplexTypes(None) try: api_response = api_instance.post_anyof_complex_types_request_body( body=body, @@ -62,7 +62,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AnyofComplexTypes**](../../components/schema/AnyofComplexTypes.md) | | +[**AnyofComplexTypes**](../../components/schema/anyof_complex_types.AnyofComplexTypes.md) | | ### Return Types, Responses @@ -133,7 +133,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AnyofComplexTypes**](../../components/schema/AnyofComplexTypes.md) | | +[**AnyofComplexTypes**](../../components/schema/anyof_complex_types.AnyofComplexTypes.md) | | ### Authorization @@ -151,7 +151,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import any_of_api -from unit_test_api.components.schema.anyof import Anyof +from unit_test_api.components.schema import anyof from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -165,7 +165,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = any_of_api.AnyOfApi(api_client) # example passing only required values which don't have defaults set - body = Anyof(None) + body = anyof.Anyof(None) try: api_response = api_instance.post_anyof_request_body( body=body, @@ -188,7 +188,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Anyof**](../../components/schema/Anyof.md) | | +[**Anyof**](../../components/schema/anyof.Anyof.md) | | ### Return Types, Responses @@ -259,7 +259,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Anyof**](../../components/schema/Anyof.md) | | +[**Anyof**](../../components/schema/anyof.Anyof.md) | | ### Authorization @@ -277,7 +277,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import any_of_api -from unit_test_api.components.schema.anyof_with_base_schema import AnyofWithBaseSchema +from unit_test_api.components.schema import anyof_with_base_schema from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -291,7 +291,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = any_of_api.AnyOfApi(api_client) # example passing only required values which don't have defaults set - body = AnyofWithBaseSchema("parameter_body_example") + body = anyof_with_base_schema.AnyofWithBaseSchema("parameter_body_example") try: api_response = api_instance.post_anyof_with_base_schema_request_body( body=body, @@ -314,7 +314,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AnyofWithBaseSchema**](../../components/schema/AnyofWithBaseSchema.md) | | +[**AnyofWithBaseSchema**](../../components/schema/anyof_with_base_schema.AnyofWithBaseSchema.md) | | ### Return Types, Responses @@ -385,7 +385,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AnyofWithBaseSchema**](../../components/schema/AnyofWithBaseSchema.md) | | +[**AnyofWithBaseSchema**](../../components/schema/anyof_with_base_schema.AnyofWithBaseSchema.md) | | ### Authorization @@ -403,7 +403,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import any_of_api -from unit_test_api.components.schema.anyof_with_one_empty_schema import AnyofWithOneEmptySchema +from unit_test_api.components.schema import anyof_with_one_empty_schema from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -417,7 +417,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = any_of_api.AnyOfApi(api_client) # example passing only required values which don't have defaults set - body = AnyofWithOneEmptySchema(None) + body = anyof_with_one_empty_schema.AnyofWithOneEmptySchema(None) try: api_response = api_instance.post_anyof_with_one_empty_schema_request_body( body=body, @@ -440,7 +440,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AnyofWithOneEmptySchema**](../../components/schema/AnyofWithOneEmptySchema.md) | | +[**AnyofWithOneEmptySchema**](../../components/schema/anyof_with_one_empty_schema.AnyofWithOneEmptySchema.md) | | ### Return Types, Responses @@ -511,7 +511,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AnyofWithOneEmptySchema**](../../components/schema/AnyofWithOneEmptySchema.md) | | +[**AnyofWithOneEmptySchema**](../../components/schema/anyof_with_one_empty_schema.AnyofWithOneEmptySchema.md) | | ### Authorization @@ -529,7 +529,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import any_of_api -from unit_test_api.components.schema.nested_anyof_to_check_validation_semantics import NestedAnyofToCheckValidationSemantics +from unit_test_api.components.schema import nested_anyof_to_check_validation_semantics from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -543,7 +543,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = any_of_api.AnyOfApi(api_client) # example passing only required values which don't have defaults set - body = NestedAnyofToCheckValidationSemantics(None) + body = nested_anyof_to_check_validation_semantics.NestedAnyofToCheckValidationSemantics(None) try: api_response = api_instance.post_nested_anyof_to_check_validation_semantics_request_body( body=body, @@ -566,7 +566,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NestedAnyofToCheckValidationSemantics**](../../components/schema/NestedAnyofToCheckValidationSemantics.md) | | +[**NestedAnyofToCheckValidationSemantics**](../../components/schema/nested_anyof_to_check_validation_semantics.NestedAnyofToCheckValidationSemantics.md) | | ### Return Types, Responses @@ -637,7 +637,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NestedAnyofToCheckValidationSemantics**](../../components/schema/NestedAnyofToCheckValidationSemantics.md) | | +[**NestedAnyofToCheckValidationSemantics**](../../components/schema/nested_anyof_to_check_validation_semantics.NestedAnyofToCheckValidationSemantics.md) | | ### Authorization diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ContentTypeJsonApi.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ContentTypeJsonApi.md index d4159a2afc1..9cc426dbb01 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ContentTypeJsonApi.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ContentTypeJsonApi.md @@ -189,7 +189,7 @@ Method | HTTP request | Description ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.additionalproperties_allows_a_schema_which_should_validate import AdditionalpropertiesAllowsASchemaWhichShouldValidate +from unit_test_api.components.schema import additionalproperties_allows_a_schema_which_should_validate from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -203,7 +203,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = AdditionalpropertiesAllowsASchemaWhichShouldValidate( + body = additionalproperties_allows_a_schema_which_should_validate.AdditionalpropertiesAllowsASchemaWhichShouldValidate( foo=None, bar=None, ) @@ -229,7 +229,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AdditionalpropertiesAllowsASchemaWhichShouldValidate**](../../components/schema/AdditionalpropertiesAllowsASchemaWhichShouldValidate.md) | | +[**AdditionalpropertiesAllowsASchemaWhichShouldValidate**](../../components/schema/additionalproperties_allows_a_schema_which_should_validate.AdditionalpropertiesAllowsASchemaWhichShouldValidate.md) | | ### Return Types, Responses @@ -300,7 +300,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AdditionalpropertiesAllowsASchemaWhichShouldValidate**](../../components/schema/AdditionalpropertiesAllowsASchemaWhichShouldValidate.md) | | +[**AdditionalpropertiesAllowsASchemaWhichShouldValidate**](../../components/schema/additionalproperties_allows_a_schema_which_should_validate.AdditionalpropertiesAllowsASchemaWhichShouldValidate.md) | | ### Authorization @@ -318,7 +318,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.additionalproperties_are_allowed_by_default import AdditionalpropertiesAreAllowedByDefault +from unit_test_api.components.schema import additionalproperties_are_allowed_by_default from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -332,7 +332,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = AdditionalpropertiesAreAllowedByDefault(None) + body = additionalproperties_are_allowed_by_default.AdditionalpropertiesAreAllowedByDefault(None) try: api_response = api_instance.post_additionalproperties_are_allowed_by_default_request_body( body=body, @@ -355,7 +355,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AdditionalpropertiesAreAllowedByDefault**](../../components/schema/AdditionalpropertiesAreAllowedByDefault.md) | | +[**AdditionalpropertiesAreAllowedByDefault**](../../components/schema/additionalproperties_are_allowed_by_default.AdditionalpropertiesAreAllowedByDefault.md) | | ### Return Types, Responses @@ -426,7 +426,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AdditionalpropertiesAreAllowedByDefault**](../../components/schema/AdditionalpropertiesAreAllowedByDefault.md) | | +[**AdditionalpropertiesAreAllowedByDefault**](../../components/schema/additionalproperties_are_allowed_by_default.AdditionalpropertiesAreAllowedByDefault.md) | | ### Authorization @@ -444,7 +444,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.additionalproperties_can_exist_by_itself import AdditionalpropertiesCanExistByItself +from unit_test_api.components.schema import additionalproperties_can_exist_by_itself from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -458,7 +458,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = AdditionalpropertiesCanExistByItself( + body = additionalproperties_can_exist_by_itself.AdditionalpropertiesCanExistByItself( key=True, ) try: @@ -483,7 +483,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AdditionalpropertiesCanExistByItself**](../../components/schema/AdditionalpropertiesCanExistByItself.md) | | +[**AdditionalpropertiesCanExistByItself**](../../components/schema/additionalproperties_can_exist_by_itself.AdditionalpropertiesCanExistByItself.md) | | ### Return Types, Responses @@ -554,7 +554,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AdditionalpropertiesCanExistByItself**](../../components/schema/AdditionalpropertiesCanExistByItself.md) | | +[**AdditionalpropertiesCanExistByItself**](../../components/schema/additionalproperties_can_exist_by_itself.AdditionalpropertiesCanExistByItself.md) | | ### Authorization @@ -572,7 +572,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.additionalproperties_should_not_look_in_applicators import AdditionalpropertiesShouldNotLookInApplicators +from unit_test_api.components.schema import additionalproperties_should_not_look_in_applicators from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -586,7 +586,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = AdditionalpropertiesShouldNotLookInApplicators(None) + body = additionalproperties_should_not_look_in_applicators.AdditionalpropertiesShouldNotLookInApplicators(None) try: api_response = api_instance.post_additionalproperties_should_not_look_in_applicators_request_body( body=body, @@ -609,7 +609,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AdditionalpropertiesShouldNotLookInApplicators**](../../components/schema/AdditionalpropertiesShouldNotLookInApplicators.md) | | +[**AdditionalpropertiesShouldNotLookInApplicators**](../../components/schema/additionalproperties_should_not_look_in_applicators.AdditionalpropertiesShouldNotLookInApplicators.md) | | ### Return Types, Responses @@ -680,7 +680,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AdditionalpropertiesShouldNotLookInApplicators**](../../components/schema/AdditionalpropertiesShouldNotLookInApplicators.md) | | +[**AdditionalpropertiesShouldNotLookInApplicators**](../../components/schema/additionalproperties_should_not_look_in_applicators.AdditionalpropertiesShouldNotLookInApplicators.md) | | ### Authorization @@ -698,7 +698,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.allof_combined_with_anyof_oneof import AllofCombinedWithAnyofOneof +from unit_test_api.components.schema import allof_combined_with_anyof_oneof from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -712,7 +712,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = AllofCombinedWithAnyofOneof(None) + body = allof_combined_with_anyof_oneof.AllofCombinedWithAnyofOneof(None) try: api_response = api_instance.post_allof_combined_with_anyof_oneof_request_body( body=body, @@ -735,7 +735,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AllofCombinedWithAnyofOneof**](../../components/schema/AllofCombinedWithAnyofOneof.md) | | +[**AllofCombinedWithAnyofOneof**](../../components/schema/allof_combined_with_anyof_oneof.AllofCombinedWithAnyofOneof.md) | | ### Return Types, Responses @@ -806,7 +806,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AllofCombinedWithAnyofOneof**](../../components/schema/AllofCombinedWithAnyofOneof.md) | | +[**AllofCombinedWithAnyofOneof**](../../components/schema/allof_combined_with_anyof_oneof.AllofCombinedWithAnyofOneof.md) | | ### Authorization @@ -824,7 +824,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.allof import Allof +from unit_test_api.components.schema import allof from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -838,7 +838,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = Allof(None) + body = allof.Allof(None) try: api_response = api_instance.post_allof_request_body( body=body, @@ -861,7 +861,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Allof**](../../components/schema/Allof.md) | | +[**Allof**](../../components/schema/allof.Allof.md) | | ### Return Types, Responses @@ -932,7 +932,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Allof**](../../components/schema/Allof.md) | | +[**Allof**](../../components/schema/allof.Allof.md) | | ### Authorization @@ -950,7 +950,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.allof_simple_types import AllofSimpleTypes +from unit_test_api.components.schema import allof_simple_types from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -964,7 +964,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = AllofSimpleTypes(None) + body = allof_simple_types.AllofSimpleTypes(None) try: api_response = api_instance.post_allof_simple_types_request_body( body=body, @@ -987,7 +987,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AllofSimpleTypes**](../../components/schema/AllofSimpleTypes.md) | | +[**AllofSimpleTypes**](../../components/schema/allof_simple_types.AllofSimpleTypes.md) | | ### Return Types, Responses @@ -1058,7 +1058,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AllofSimpleTypes**](../../components/schema/AllofSimpleTypes.md) | | +[**AllofSimpleTypes**](../../components/schema/allof_simple_types.AllofSimpleTypes.md) | | ### Authorization @@ -1076,7 +1076,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.allof_with_base_schema import AllofWithBaseSchema +from unit_test_api.components.schema import allof_with_base_schema from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -1090,7 +1090,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = AllofWithBaseSchema({}) + body = allof_with_base_schema.AllofWithBaseSchema({}) try: api_response = api_instance.post_allof_with_base_schema_request_body( body=body, @@ -1113,7 +1113,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AllofWithBaseSchema**](../../components/schema/AllofWithBaseSchema.md) | | +[**AllofWithBaseSchema**](../../components/schema/allof_with_base_schema.AllofWithBaseSchema.md) | | ### Return Types, Responses @@ -1184,7 +1184,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AllofWithBaseSchema**](../../components/schema/AllofWithBaseSchema.md) | | +[**AllofWithBaseSchema**](../../components/schema/allof_with_base_schema.AllofWithBaseSchema.md) | | ### Authorization @@ -1202,7 +1202,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.allof_with_one_empty_schema import AllofWithOneEmptySchema +from unit_test_api.components.schema import allof_with_one_empty_schema from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -1216,7 +1216,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = AllofWithOneEmptySchema(None) + body = allof_with_one_empty_schema.AllofWithOneEmptySchema(None) try: api_response = api_instance.post_allof_with_one_empty_schema_request_body( body=body, @@ -1239,7 +1239,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AllofWithOneEmptySchema**](../../components/schema/AllofWithOneEmptySchema.md) | | +[**AllofWithOneEmptySchema**](../../components/schema/allof_with_one_empty_schema.AllofWithOneEmptySchema.md) | | ### Return Types, Responses @@ -1310,7 +1310,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AllofWithOneEmptySchema**](../../components/schema/AllofWithOneEmptySchema.md) | | +[**AllofWithOneEmptySchema**](../../components/schema/allof_with_one_empty_schema.AllofWithOneEmptySchema.md) | | ### Authorization @@ -1328,7 +1328,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.allof_with_the_first_empty_schema import AllofWithTheFirstEmptySchema +from unit_test_api.components.schema import allof_with_the_first_empty_schema from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -1342,7 +1342,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = AllofWithTheFirstEmptySchema(None) + body = allof_with_the_first_empty_schema.AllofWithTheFirstEmptySchema(None) try: api_response = api_instance.post_allof_with_the_first_empty_schema_request_body( body=body, @@ -1365,7 +1365,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AllofWithTheFirstEmptySchema**](../../components/schema/AllofWithTheFirstEmptySchema.md) | | +[**AllofWithTheFirstEmptySchema**](../../components/schema/allof_with_the_first_empty_schema.AllofWithTheFirstEmptySchema.md) | | ### Return Types, Responses @@ -1436,7 +1436,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AllofWithTheFirstEmptySchema**](../../components/schema/AllofWithTheFirstEmptySchema.md) | | +[**AllofWithTheFirstEmptySchema**](../../components/schema/allof_with_the_first_empty_schema.AllofWithTheFirstEmptySchema.md) | | ### Authorization @@ -1454,7 +1454,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.allof_with_the_last_empty_schema import AllofWithTheLastEmptySchema +from unit_test_api.components.schema import allof_with_the_last_empty_schema from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -1468,7 +1468,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = AllofWithTheLastEmptySchema(None) + body = allof_with_the_last_empty_schema.AllofWithTheLastEmptySchema(None) try: api_response = api_instance.post_allof_with_the_last_empty_schema_request_body( body=body, @@ -1491,7 +1491,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AllofWithTheLastEmptySchema**](../../components/schema/AllofWithTheLastEmptySchema.md) | | +[**AllofWithTheLastEmptySchema**](../../components/schema/allof_with_the_last_empty_schema.AllofWithTheLastEmptySchema.md) | | ### Return Types, Responses @@ -1562,7 +1562,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AllofWithTheLastEmptySchema**](../../components/schema/AllofWithTheLastEmptySchema.md) | | +[**AllofWithTheLastEmptySchema**](../../components/schema/allof_with_the_last_empty_schema.AllofWithTheLastEmptySchema.md) | | ### Authorization @@ -1580,7 +1580,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.allof_with_two_empty_schemas import AllofWithTwoEmptySchemas +from unit_test_api.components.schema import allof_with_two_empty_schemas from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -1594,7 +1594,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = AllofWithTwoEmptySchemas(None) + body = allof_with_two_empty_schemas.AllofWithTwoEmptySchemas(None) try: api_response = api_instance.post_allof_with_two_empty_schemas_request_body( body=body, @@ -1617,7 +1617,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AllofWithTwoEmptySchemas**](../../components/schema/AllofWithTwoEmptySchemas.md) | | +[**AllofWithTwoEmptySchemas**](../../components/schema/allof_with_two_empty_schemas.AllofWithTwoEmptySchemas.md) | | ### Return Types, Responses @@ -1688,7 +1688,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AllofWithTwoEmptySchemas**](../../components/schema/AllofWithTwoEmptySchemas.md) | | +[**AllofWithTwoEmptySchemas**](../../components/schema/allof_with_two_empty_schemas.AllofWithTwoEmptySchemas.md) | | ### Authorization @@ -1706,7 +1706,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.anyof_complex_types import AnyofComplexTypes +from unit_test_api.components.schema import anyof_complex_types from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -1720,7 +1720,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = AnyofComplexTypes(None) + body = anyof_complex_types.AnyofComplexTypes(None) try: api_response = api_instance.post_anyof_complex_types_request_body( body=body, @@ -1743,7 +1743,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AnyofComplexTypes**](../../components/schema/AnyofComplexTypes.md) | | +[**AnyofComplexTypes**](../../components/schema/anyof_complex_types.AnyofComplexTypes.md) | | ### Return Types, Responses @@ -1814,7 +1814,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AnyofComplexTypes**](../../components/schema/AnyofComplexTypes.md) | | +[**AnyofComplexTypes**](../../components/schema/anyof_complex_types.AnyofComplexTypes.md) | | ### Authorization @@ -1832,7 +1832,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.anyof import Anyof +from unit_test_api.components.schema import anyof from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -1846,7 +1846,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = Anyof(None) + body = anyof.Anyof(None) try: api_response = api_instance.post_anyof_request_body( body=body, @@ -1869,7 +1869,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Anyof**](../../components/schema/Anyof.md) | | +[**Anyof**](../../components/schema/anyof.Anyof.md) | | ### Return Types, Responses @@ -1940,7 +1940,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Anyof**](../../components/schema/Anyof.md) | | +[**Anyof**](../../components/schema/anyof.Anyof.md) | | ### Authorization @@ -1958,7 +1958,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.anyof_with_base_schema import AnyofWithBaseSchema +from unit_test_api.components.schema import anyof_with_base_schema from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -1972,7 +1972,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = AnyofWithBaseSchema("parameter_body_example") + body = anyof_with_base_schema.AnyofWithBaseSchema("parameter_body_example") try: api_response = api_instance.post_anyof_with_base_schema_request_body( body=body, @@ -1995,7 +1995,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AnyofWithBaseSchema**](../../components/schema/AnyofWithBaseSchema.md) | | +[**AnyofWithBaseSchema**](../../components/schema/anyof_with_base_schema.AnyofWithBaseSchema.md) | | ### Return Types, Responses @@ -2066,7 +2066,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AnyofWithBaseSchema**](../../components/schema/AnyofWithBaseSchema.md) | | +[**AnyofWithBaseSchema**](../../components/schema/anyof_with_base_schema.AnyofWithBaseSchema.md) | | ### Authorization @@ -2084,7 +2084,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.anyof_with_one_empty_schema import AnyofWithOneEmptySchema +from unit_test_api.components.schema import anyof_with_one_empty_schema from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -2098,7 +2098,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = AnyofWithOneEmptySchema(None) + body = anyof_with_one_empty_schema.AnyofWithOneEmptySchema(None) try: api_response = api_instance.post_anyof_with_one_empty_schema_request_body( body=body, @@ -2121,7 +2121,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AnyofWithOneEmptySchema**](../../components/schema/AnyofWithOneEmptySchema.md) | | +[**AnyofWithOneEmptySchema**](../../components/schema/anyof_with_one_empty_schema.AnyofWithOneEmptySchema.md) | | ### Return Types, Responses @@ -2192,7 +2192,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AnyofWithOneEmptySchema**](../../components/schema/AnyofWithOneEmptySchema.md) | | +[**AnyofWithOneEmptySchema**](../../components/schema/anyof_with_one_empty_schema.AnyofWithOneEmptySchema.md) | | ### Authorization @@ -2210,7 +2210,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.array_type_matches_arrays import ArrayTypeMatchesArrays +from unit_test_api.components.schema import array_type_matches_arrays from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -2224,7 +2224,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = ArrayTypeMatchesArrays([ + body = array_type_matches_arrays.ArrayTypeMatchesArrays([ None ]) try: @@ -2249,7 +2249,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ArrayTypeMatchesArrays**](../../components/schema/ArrayTypeMatchesArrays.md) | | +[**ArrayTypeMatchesArrays**](../../components/schema/array_type_matches_arrays.ArrayTypeMatchesArrays.md) | | ### Return Types, Responses @@ -2320,7 +2320,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ArrayTypeMatchesArrays**](../../components/schema/ArrayTypeMatchesArrays.md) | | +[**ArrayTypeMatchesArrays**](../../components/schema/array_type_matches_arrays.ArrayTypeMatchesArrays.md) | | ### Authorization @@ -2338,7 +2338,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.boolean_type_matches_booleans import BooleanTypeMatchesBooleans +from unit_test_api.components.schema import boolean_type_matches_booleans from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -2352,7 +2352,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = BooleanTypeMatchesBooleans(True) + body = boolean_type_matches_booleans.BooleanTypeMatchesBooleans(True) try: api_response = api_instance.post_boolean_type_matches_booleans_request_body( body=body, @@ -2375,7 +2375,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**BooleanTypeMatchesBooleans**](../../components/schema/BooleanTypeMatchesBooleans.md) | | +[**BooleanTypeMatchesBooleans**](../../components/schema/boolean_type_matches_booleans.BooleanTypeMatchesBooleans.md) | | ### Return Types, Responses @@ -2446,7 +2446,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**BooleanTypeMatchesBooleans**](../../components/schema/BooleanTypeMatchesBooleans.md) | | +[**BooleanTypeMatchesBooleans**](../../components/schema/boolean_type_matches_booleans.BooleanTypeMatchesBooleans.md) | | ### Authorization @@ -2464,7 +2464,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.by_int import ByInt +from unit_test_api.components.schema import by_int from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -2478,7 +2478,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = ByInt(None) + body = by_int.ByInt(None) try: api_response = api_instance.post_by_int_request_body( body=body, @@ -2501,7 +2501,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ByInt**](../../components/schema/ByInt.md) | | +[**ByInt**](../../components/schema/by_int.ByInt.md) | | ### Return Types, Responses @@ -2572,7 +2572,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ByInt**](../../components/schema/ByInt.md) | | +[**ByInt**](../../components/schema/by_int.ByInt.md) | | ### Authorization @@ -2590,7 +2590,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.by_number import ByNumber +from unit_test_api.components.schema import by_number from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -2604,7 +2604,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = ByNumber(None) + body = by_number.ByNumber(None) try: api_response = api_instance.post_by_number_request_body( body=body, @@ -2627,7 +2627,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ByNumber**](../../components/schema/ByNumber.md) | | +[**ByNumber**](../../components/schema/by_number.ByNumber.md) | | ### Return Types, Responses @@ -2698,7 +2698,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ByNumber**](../../components/schema/ByNumber.md) | | +[**ByNumber**](../../components/schema/by_number.ByNumber.md) | | ### Authorization @@ -2716,7 +2716,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.by_small_number import BySmallNumber +from unit_test_api.components.schema import by_small_number from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -2730,7 +2730,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = BySmallNumber(None) + body = by_small_number.BySmallNumber(None) try: api_response = api_instance.post_by_small_number_request_body( body=body, @@ -2753,7 +2753,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**BySmallNumber**](../../components/schema/BySmallNumber.md) | | +[**BySmallNumber**](../../components/schema/by_small_number.BySmallNumber.md) | | ### Return Types, Responses @@ -2824,7 +2824,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**BySmallNumber**](../../components/schema/BySmallNumber.md) | | +[**BySmallNumber**](../../components/schema/by_small_number.BySmallNumber.md) | | ### Authorization @@ -2842,7 +2842,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.date_time_format import DateTimeFormat +from unit_test_api.components.schema import date_time_format from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -2856,7 +2856,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = DateTimeFormat(None) + body = date_time_format.DateTimeFormat(None) try: api_response = api_instance.post_date_time_format_request_body( body=body, @@ -2879,7 +2879,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**DateTimeFormat**](../../components/schema/DateTimeFormat.md) | | +[**DateTimeFormat**](../../components/schema/date_time_format.DateTimeFormat.md) | | ### Return Types, Responses @@ -2950,7 +2950,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**DateTimeFormat**](../../components/schema/DateTimeFormat.md) | | +[**DateTimeFormat**](../../components/schema/date_time_format.DateTimeFormat.md) | | ### Authorization @@ -2968,7 +2968,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.email_format import EmailFormat +from unit_test_api.components.schema import email_format from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -2982,7 +2982,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = EmailFormat(None) + body = email_format.EmailFormat(None) try: api_response = api_instance.post_email_format_request_body( body=body, @@ -3005,7 +3005,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**EmailFormat**](../../components/schema/EmailFormat.md) | | +[**EmailFormat**](../../components/schema/email_format.EmailFormat.md) | | ### Return Types, Responses @@ -3076,7 +3076,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**EmailFormat**](../../components/schema/EmailFormat.md) | | +[**EmailFormat**](../../components/schema/email_format.EmailFormat.md) | | ### Authorization @@ -3094,7 +3094,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.enum_with0_does_not_match_false import EnumWith0DoesNotMatchFalse +from unit_test_api.components.schema import enum_with0_does_not_match_false from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -3108,7 +3108,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = EnumWith0DoesNotMatchFalse(0) + body = enum_with0_does_not_match_false.EnumWith0DoesNotMatchFalse(0) try: api_response = api_instance.post_enum_with0_does_not_match_false_request_body( body=body, @@ -3131,7 +3131,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**EnumWith0DoesNotMatchFalse**](../../components/schema/EnumWith0DoesNotMatchFalse.md) | | +[**EnumWith0DoesNotMatchFalse**](../../components/schema/enum_with0_does_not_match_false.EnumWith0DoesNotMatchFalse.md) | | ### Return Types, Responses @@ -3202,7 +3202,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**EnumWith0DoesNotMatchFalse**](../../components/schema/EnumWith0DoesNotMatchFalse.md) | | +[**EnumWith0DoesNotMatchFalse**](../../components/schema/enum_with0_does_not_match_false.EnumWith0DoesNotMatchFalse.md) | | ### Authorization @@ -3220,7 +3220,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.enum_with1_does_not_match_true import EnumWith1DoesNotMatchTrue +from unit_test_api.components.schema import enum_with1_does_not_match_true from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -3234,7 +3234,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = EnumWith1DoesNotMatchTrue(1) + body = enum_with1_does_not_match_true.EnumWith1DoesNotMatchTrue(1) try: api_response = api_instance.post_enum_with1_does_not_match_true_request_body( body=body, @@ -3257,7 +3257,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**EnumWith1DoesNotMatchTrue**](../../components/schema/EnumWith1DoesNotMatchTrue.md) | | +[**EnumWith1DoesNotMatchTrue**](../../components/schema/enum_with1_does_not_match_true.EnumWith1DoesNotMatchTrue.md) | | ### Return Types, Responses @@ -3328,7 +3328,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**EnumWith1DoesNotMatchTrue**](../../components/schema/EnumWith1DoesNotMatchTrue.md) | | +[**EnumWith1DoesNotMatchTrue**](../../components/schema/enum_with1_does_not_match_true.EnumWith1DoesNotMatchTrue.md) | | ### Authorization @@ -3346,7 +3346,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.enum_with_escaped_characters import EnumWithEscapedCharacters +from unit_test_api.components.schema import enum_with_escaped_characters from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -3360,7 +3360,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = EnumWithEscapedCharacters("foo\nbar") + body = enum_with_escaped_characters.EnumWithEscapedCharacters("foo\nbar") try: api_response = api_instance.post_enum_with_escaped_characters_request_body( body=body, @@ -3383,7 +3383,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**EnumWithEscapedCharacters**](../../components/schema/EnumWithEscapedCharacters.md) | | +[**EnumWithEscapedCharacters**](../../components/schema/enum_with_escaped_characters.EnumWithEscapedCharacters.md) | | ### Return Types, Responses @@ -3454,7 +3454,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**EnumWithEscapedCharacters**](../../components/schema/EnumWithEscapedCharacters.md) | | +[**EnumWithEscapedCharacters**](../../components/schema/enum_with_escaped_characters.EnumWithEscapedCharacters.md) | | ### Authorization @@ -3472,7 +3472,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.enum_with_false_does_not_match0 import EnumWithFalseDoesNotMatch0 +from unit_test_api.components.schema import enum_with_false_does_not_match0 from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -3486,7 +3486,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = EnumWithFalseDoesNotMatch0(False) + body = enum_with_false_does_not_match0.EnumWithFalseDoesNotMatch0(False) try: api_response = api_instance.post_enum_with_false_does_not_match0_request_body( body=body, @@ -3509,7 +3509,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**EnumWithFalseDoesNotMatch0**](../../components/schema/EnumWithFalseDoesNotMatch0.md) | | +[**EnumWithFalseDoesNotMatch0**](../../components/schema/enum_with_false_does_not_match0.EnumWithFalseDoesNotMatch0.md) | | ### Return Types, Responses @@ -3580,7 +3580,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**EnumWithFalseDoesNotMatch0**](../../components/schema/EnumWithFalseDoesNotMatch0.md) | | +[**EnumWithFalseDoesNotMatch0**](../../components/schema/enum_with_false_does_not_match0.EnumWithFalseDoesNotMatch0.md) | | ### Authorization @@ -3598,7 +3598,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.enum_with_true_does_not_match1 import EnumWithTrueDoesNotMatch1 +from unit_test_api.components.schema import enum_with_true_does_not_match1 from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -3612,7 +3612,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = EnumWithTrueDoesNotMatch1(True) + body = enum_with_true_does_not_match1.EnumWithTrueDoesNotMatch1(True) try: api_response = api_instance.post_enum_with_true_does_not_match1_request_body( body=body, @@ -3635,7 +3635,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**EnumWithTrueDoesNotMatch1**](../../components/schema/EnumWithTrueDoesNotMatch1.md) | | +[**EnumWithTrueDoesNotMatch1**](../../components/schema/enum_with_true_does_not_match1.EnumWithTrueDoesNotMatch1.md) | | ### Return Types, Responses @@ -3706,7 +3706,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**EnumWithTrueDoesNotMatch1**](../../components/schema/EnumWithTrueDoesNotMatch1.md) | | +[**EnumWithTrueDoesNotMatch1**](../../components/schema/enum_with_true_does_not_match1.EnumWithTrueDoesNotMatch1.md) | | ### Authorization @@ -3724,7 +3724,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.enums_in_properties import EnumsInProperties +from unit_test_api.components.schema import enums_in_properties from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -3738,7 +3738,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = EnumsInProperties( + body = enums_in_properties.EnumsInProperties( foo="foo", bar="bar", ) @@ -3764,7 +3764,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**EnumsInProperties**](../../components/schema/EnumsInProperties.md) | | +[**EnumsInProperties**](../../components/schema/enums_in_properties.EnumsInProperties.md) | | ### Return Types, Responses @@ -3835,7 +3835,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**EnumsInProperties**](../../components/schema/EnumsInProperties.md) | | +[**EnumsInProperties**](../../components/schema/enums_in_properties.EnumsInProperties.md) | | ### Authorization @@ -3853,7 +3853,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.forbidden_property import ForbiddenProperty +from unit_test_api.components.schema import forbidden_property from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -3867,7 +3867,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = ForbiddenProperty(None) + body = forbidden_property.ForbiddenProperty(None) try: api_response = api_instance.post_forbidden_property_request_body( body=body, @@ -3890,7 +3890,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ForbiddenProperty**](../../components/schema/ForbiddenProperty.md) | | +[**ForbiddenProperty**](../../components/schema/forbidden_property.ForbiddenProperty.md) | | ### Return Types, Responses @@ -3961,7 +3961,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ForbiddenProperty**](../../components/schema/ForbiddenProperty.md) | | +[**ForbiddenProperty**](../../components/schema/forbidden_property.ForbiddenProperty.md) | | ### Authorization @@ -3979,7 +3979,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.hostname_format import HostnameFormat +from unit_test_api.components.schema import hostname_format from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -3993,7 +3993,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = HostnameFormat(None) + body = hostname_format.HostnameFormat(None) try: api_response = api_instance.post_hostname_format_request_body( body=body, @@ -4016,7 +4016,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**HostnameFormat**](../../components/schema/HostnameFormat.md) | | +[**HostnameFormat**](../../components/schema/hostname_format.HostnameFormat.md) | | ### Return Types, Responses @@ -4087,7 +4087,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**HostnameFormat**](../../components/schema/HostnameFormat.md) | | +[**HostnameFormat**](../../components/schema/hostname_format.HostnameFormat.md) | | ### Authorization @@ -4105,7 +4105,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.integer_type_matches_integers import IntegerTypeMatchesIntegers +from unit_test_api.components.schema import integer_type_matches_integers from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -4119,7 +4119,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = IntegerTypeMatchesIntegers(1) + body = integer_type_matches_integers.IntegerTypeMatchesIntegers(1) try: api_response = api_instance.post_integer_type_matches_integers_request_body( body=body, @@ -4142,7 +4142,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**IntegerTypeMatchesIntegers**](../../components/schema/IntegerTypeMatchesIntegers.md) | | +[**IntegerTypeMatchesIntegers**](../../components/schema/integer_type_matches_integers.IntegerTypeMatchesIntegers.md) | | ### Return Types, Responses @@ -4213,7 +4213,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**IntegerTypeMatchesIntegers**](../../components/schema/IntegerTypeMatchesIntegers.md) | | +[**IntegerTypeMatchesIntegers**](../../components/schema/integer_type_matches_integers.IntegerTypeMatchesIntegers.md) | | ### Authorization @@ -4231,7 +4231,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.invalid_instance_should_not_raise_error_when_float_division_inf import InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf +from unit_test_api.components.schema import invalid_instance_should_not_raise_error_when_float_division_inf from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -4245,7 +4245,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf(1) + body = invalid_instance_should_not_raise_error_when_float_division_inf.InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf(1) try: api_response = api_instance.post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body( body=body, @@ -4268,7 +4268,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf**](../../components/schema/InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf.md) | | +[**InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf**](../../components/schema/invalid_instance_should_not_raise_error_when_float_division_inf.InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf.md) | | ### Return Types, Responses @@ -4339,7 +4339,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf**](../../components/schema/InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf.md) | | +[**InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf**](../../components/schema/invalid_instance_should_not_raise_error_when_float_division_inf.InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf.md) | | ### Authorization @@ -4357,7 +4357,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.invalid_string_value_for_default import InvalidStringValueForDefault +from unit_test_api.components.schema import invalid_string_value_for_default from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -4371,7 +4371,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = InvalidStringValueForDefault(None) + body = invalid_string_value_for_default.InvalidStringValueForDefault(None) try: api_response = api_instance.post_invalid_string_value_for_default_request_body( body=body, @@ -4394,7 +4394,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**InvalidStringValueForDefault**](../../components/schema/InvalidStringValueForDefault.md) | | +[**InvalidStringValueForDefault**](../../components/schema/invalid_string_value_for_default.InvalidStringValueForDefault.md) | | ### Return Types, Responses @@ -4465,7 +4465,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**InvalidStringValueForDefault**](../../components/schema/InvalidStringValueForDefault.md) | | +[**InvalidStringValueForDefault**](../../components/schema/invalid_string_value_for_default.InvalidStringValueForDefault.md) | | ### Authorization @@ -4483,7 +4483,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.ipv4_format import Ipv4Format +from unit_test_api.components.schema import ipv4_format from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -4497,7 +4497,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = Ipv4Format(None) + body = ipv4_format.Ipv4Format(None) try: api_response = api_instance.post_ipv4_format_request_body( body=body, @@ -4520,7 +4520,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Ipv4Format**](../../components/schema/Ipv4Format.md) | | +[**Ipv4Format**](../../components/schema/ipv4_format.Ipv4Format.md) | | ### Return Types, Responses @@ -4591,7 +4591,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Ipv4Format**](../../components/schema/Ipv4Format.md) | | +[**Ipv4Format**](../../components/schema/ipv4_format.Ipv4Format.md) | | ### Authorization @@ -4609,7 +4609,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.ipv6_format import Ipv6Format +from unit_test_api.components.schema import ipv6_format from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -4623,7 +4623,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = Ipv6Format(None) + body = ipv6_format.Ipv6Format(None) try: api_response = api_instance.post_ipv6_format_request_body( body=body, @@ -4646,7 +4646,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Ipv6Format**](../../components/schema/Ipv6Format.md) | | +[**Ipv6Format**](../../components/schema/ipv6_format.Ipv6Format.md) | | ### Return Types, Responses @@ -4717,7 +4717,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Ipv6Format**](../../components/schema/Ipv6Format.md) | | +[**Ipv6Format**](../../components/schema/ipv6_format.Ipv6Format.md) | | ### Authorization @@ -4735,7 +4735,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.json_pointer_format import JsonPointerFormat +from unit_test_api.components.schema import json_pointer_format from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -4749,7 +4749,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = JsonPointerFormat(None) + body = json_pointer_format.JsonPointerFormat(None) try: api_response = api_instance.post_json_pointer_format_request_body( body=body, @@ -4772,7 +4772,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**JsonPointerFormat**](../../components/schema/JsonPointerFormat.md) | | +[**JsonPointerFormat**](../../components/schema/json_pointer_format.JsonPointerFormat.md) | | ### Return Types, Responses @@ -4843,7 +4843,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**JsonPointerFormat**](../../components/schema/JsonPointerFormat.md) | | +[**JsonPointerFormat**](../../components/schema/json_pointer_format.JsonPointerFormat.md) | | ### Authorization @@ -4861,7 +4861,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.maximum_validation import MaximumValidation +from unit_test_api.components.schema import maximum_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -4875,7 +4875,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = MaximumValidation(None) + body = maximum_validation.MaximumValidation(None) try: api_response = api_instance.post_maximum_validation_request_body( body=body, @@ -4898,7 +4898,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MaximumValidation**](../../components/schema/MaximumValidation.md) | | +[**MaximumValidation**](../../components/schema/maximum_validation.MaximumValidation.md) | | ### Return Types, Responses @@ -4969,7 +4969,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MaximumValidation**](../../components/schema/MaximumValidation.md) | | +[**MaximumValidation**](../../components/schema/maximum_validation.MaximumValidation.md) | | ### Authorization @@ -4987,7 +4987,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.maximum_validation_with_unsigned_integer import MaximumValidationWithUnsignedInteger +from unit_test_api.components.schema import maximum_validation_with_unsigned_integer from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -5001,7 +5001,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = MaximumValidationWithUnsignedInteger(None) + body = maximum_validation_with_unsigned_integer.MaximumValidationWithUnsignedInteger(None) try: api_response = api_instance.post_maximum_validation_with_unsigned_integer_request_body( body=body, @@ -5024,7 +5024,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MaximumValidationWithUnsignedInteger**](../../components/schema/MaximumValidationWithUnsignedInteger.md) | | +[**MaximumValidationWithUnsignedInteger**](../../components/schema/maximum_validation_with_unsigned_integer.MaximumValidationWithUnsignedInteger.md) | | ### Return Types, Responses @@ -5095,7 +5095,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MaximumValidationWithUnsignedInteger**](../../components/schema/MaximumValidationWithUnsignedInteger.md) | | +[**MaximumValidationWithUnsignedInteger**](../../components/schema/maximum_validation_with_unsigned_integer.MaximumValidationWithUnsignedInteger.md) | | ### Authorization @@ -5113,7 +5113,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.maxitems_validation import MaxitemsValidation +from unit_test_api.components.schema import maxitems_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -5127,7 +5127,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = MaxitemsValidation(None) + body = maxitems_validation.MaxitemsValidation(None) try: api_response = api_instance.post_maxitems_validation_request_body( body=body, @@ -5150,7 +5150,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MaxitemsValidation**](../../components/schema/MaxitemsValidation.md) | | +[**MaxitemsValidation**](../../components/schema/maxitems_validation.MaxitemsValidation.md) | | ### Return Types, Responses @@ -5221,7 +5221,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MaxitemsValidation**](../../components/schema/MaxitemsValidation.md) | | +[**MaxitemsValidation**](../../components/schema/maxitems_validation.MaxitemsValidation.md) | | ### Authorization @@ -5239,7 +5239,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.maxlength_validation import MaxlengthValidation +from unit_test_api.components.schema import maxlength_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -5253,7 +5253,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = MaxlengthValidation(None) + body = maxlength_validation.MaxlengthValidation(None) try: api_response = api_instance.post_maxlength_validation_request_body( body=body, @@ -5276,7 +5276,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MaxlengthValidation**](../../components/schema/MaxlengthValidation.md) | | +[**MaxlengthValidation**](../../components/schema/maxlength_validation.MaxlengthValidation.md) | | ### Return Types, Responses @@ -5347,7 +5347,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MaxlengthValidation**](../../components/schema/MaxlengthValidation.md) | | +[**MaxlengthValidation**](../../components/schema/maxlength_validation.MaxlengthValidation.md) | | ### Authorization @@ -5365,7 +5365,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.maxproperties0_means_the_object_is_empty import Maxproperties0MeansTheObjectIsEmpty +from unit_test_api.components.schema import maxproperties0_means_the_object_is_empty from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -5379,7 +5379,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = Maxproperties0MeansTheObjectIsEmpty(None) + body = maxproperties0_means_the_object_is_empty.Maxproperties0MeansTheObjectIsEmpty(None) try: api_response = api_instance.post_maxproperties0_means_the_object_is_empty_request_body( body=body, @@ -5402,7 +5402,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Maxproperties0MeansTheObjectIsEmpty**](../../components/schema/Maxproperties0MeansTheObjectIsEmpty.md) | | +[**Maxproperties0MeansTheObjectIsEmpty**](../../components/schema/maxproperties0_means_the_object_is_empty.Maxproperties0MeansTheObjectIsEmpty.md) | | ### Return Types, Responses @@ -5473,7 +5473,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Maxproperties0MeansTheObjectIsEmpty**](../../components/schema/Maxproperties0MeansTheObjectIsEmpty.md) | | +[**Maxproperties0MeansTheObjectIsEmpty**](../../components/schema/maxproperties0_means_the_object_is_empty.Maxproperties0MeansTheObjectIsEmpty.md) | | ### Authorization @@ -5491,7 +5491,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.maxproperties_validation import MaxpropertiesValidation +from unit_test_api.components.schema import maxproperties_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -5505,7 +5505,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = MaxpropertiesValidation(None) + body = maxproperties_validation.MaxpropertiesValidation(None) try: api_response = api_instance.post_maxproperties_validation_request_body( body=body, @@ -5528,7 +5528,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MaxpropertiesValidation**](../../components/schema/MaxpropertiesValidation.md) | | +[**MaxpropertiesValidation**](../../components/schema/maxproperties_validation.MaxpropertiesValidation.md) | | ### Return Types, Responses @@ -5599,7 +5599,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MaxpropertiesValidation**](../../components/schema/MaxpropertiesValidation.md) | | +[**MaxpropertiesValidation**](../../components/schema/maxproperties_validation.MaxpropertiesValidation.md) | | ### Authorization @@ -5617,7 +5617,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.minimum_validation import MinimumValidation +from unit_test_api.components.schema import minimum_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -5631,7 +5631,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = MinimumValidation(None) + body = minimum_validation.MinimumValidation(None) try: api_response = api_instance.post_minimum_validation_request_body( body=body, @@ -5654,7 +5654,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MinimumValidation**](../../components/schema/MinimumValidation.md) | | +[**MinimumValidation**](../../components/schema/minimum_validation.MinimumValidation.md) | | ### Return Types, Responses @@ -5725,7 +5725,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MinimumValidation**](../../components/schema/MinimumValidation.md) | | +[**MinimumValidation**](../../components/schema/minimum_validation.MinimumValidation.md) | | ### Authorization @@ -5743,7 +5743,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.minimum_validation_with_signed_integer import MinimumValidationWithSignedInteger +from unit_test_api.components.schema import minimum_validation_with_signed_integer from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -5757,7 +5757,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = MinimumValidationWithSignedInteger(None) + body = minimum_validation_with_signed_integer.MinimumValidationWithSignedInteger(None) try: api_response = api_instance.post_minimum_validation_with_signed_integer_request_body( body=body, @@ -5780,7 +5780,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MinimumValidationWithSignedInteger**](../../components/schema/MinimumValidationWithSignedInteger.md) | | +[**MinimumValidationWithSignedInteger**](../../components/schema/minimum_validation_with_signed_integer.MinimumValidationWithSignedInteger.md) | | ### Return Types, Responses @@ -5851,7 +5851,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MinimumValidationWithSignedInteger**](../../components/schema/MinimumValidationWithSignedInteger.md) | | +[**MinimumValidationWithSignedInteger**](../../components/schema/minimum_validation_with_signed_integer.MinimumValidationWithSignedInteger.md) | | ### Authorization @@ -5869,7 +5869,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.minitems_validation import MinitemsValidation +from unit_test_api.components.schema import minitems_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -5883,7 +5883,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = MinitemsValidation(None) + body = minitems_validation.MinitemsValidation(None) try: api_response = api_instance.post_minitems_validation_request_body( body=body, @@ -5906,7 +5906,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MinitemsValidation**](../../components/schema/MinitemsValidation.md) | | +[**MinitemsValidation**](../../components/schema/minitems_validation.MinitemsValidation.md) | | ### Return Types, Responses @@ -5977,7 +5977,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MinitemsValidation**](../../components/schema/MinitemsValidation.md) | | +[**MinitemsValidation**](../../components/schema/minitems_validation.MinitemsValidation.md) | | ### Authorization @@ -5995,7 +5995,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.minlength_validation import MinlengthValidation +from unit_test_api.components.schema import minlength_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -6009,7 +6009,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = MinlengthValidation(None) + body = minlength_validation.MinlengthValidation(None) try: api_response = api_instance.post_minlength_validation_request_body( body=body, @@ -6032,7 +6032,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MinlengthValidation**](../../components/schema/MinlengthValidation.md) | | +[**MinlengthValidation**](../../components/schema/minlength_validation.MinlengthValidation.md) | | ### Return Types, Responses @@ -6103,7 +6103,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MinlengthValidation**](../../components/schema/MinlengthValidation.md) | | +[**MinlengthValidation**](../../components/schema/minlength_validation.MinlengthValidation.md) | | ### Authorization @@ -6121,7 +6121,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.minproperties_validation import MinpropertiesValidation +from unit_test_api.components.schema import minproperties_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -6135,7 +6135,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = MinpropertiesValidation(None) + body = minproperties_validation.MinpropertiesValidation(None) try: api_response = api_instance.post_minproperties_validation_request_body( body=body, @@ -6158,7 +6158,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MinpropertiesValidation**](../../components/schema/MinpropertiesValidation.md) | | +[**MinpropertiesValidation**](../../components/schema/minproperties_validation.MinpropertiesValidation.md) | | ### Return Types, Responses @@ -6229,7 +6229,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MinpropertiesValidation**](../../components/schema/MinpropertiesValidation.md) | | +[**MinpropertiesValidation**](../../components/schema/minproperties_validation.MinpropertiesValidation.md) | | ### Authorization @@ -6247,7 +6247,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.nested_allof_to_check_validation_semantics import NestedAllofToCheckValidationSemantics +from unit_test_api.components.schema import nested_allof_to_check_validation_semantics from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -6261,7 +6261,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = NestedAllofToCheckValidationSemantics(None) + body = nested_allof_to_check_validation_semantics.NestedAllofToCheckValidationSemantics(None) try: api_response = api_instance.post_nested_allof_to_check_validation_semantics_request_body( body=body, @@ -6284,7 +6284,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NestedAllofToCheckValidationSemantics**](../../components/schema/NestedAllofToCheckValidationSemantics.md) | | +[**NestedAllofToCheckValidationSemantics**](../../components/schema/nested_allof_to_check_validation_semantics.NestedAllofToCheckValidationSemantics.md) | | ### Return Types, Responses @@ -6355,7 +6355,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NestedAllofToCheckValidationSemantics**](../../components/schema/NestedAllofToCheckValidationSemantics.md) | | +[**NestedAllofToCheckValidationSemantics**](../../components/schema/nested_allof_to_check_validation_semantics.NestedAllofToCheckValidationSemantics.md) | | ### Authorization @@ -6373,7 +6373,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.nested_anyof_to_check_validation_semantics import NestedAnyofToCheckValidationSemantics +from unit_test_api.components.schema import nested_anyof_to_check_validation_semantics from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -6387,7 +6387,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = NestedAnyofToCheckValidationSemantics(None) + body = nested_anyof_to_check_validation_semantics.NestedAnyofToCheckValidationSemantics(None) try: api_response = api_instance.post_nested_anyof_to_check_validation_semantics_request_body( body=body, @@ -6410,7 +6410,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NestedAnyofToCheckValidationSemantics**](../../components/schema/NestedAnyofToCheckValidationSemantics.md) | | +[**NestedAnyofToCheckValidationSemantics**](../../components/schema/nested_anyof_to_check_validation_semantics.NestedAnyofToCheckValidationSemantics.md) | | ### Return Types, Responses @@ -6481,7 +6481,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NestedAnyofToCheckValidationSemantics**](../../components/schema/NestedAnyofToCheckValidationSemantics.md) | | +[**NestedAnyofToCheckValidationSemantics**](../../components/schema/nested_anyof_to_check_validation_semantics.NestedAnyofToCheckValidationSemantics.md) | | ### Authorization @@ -6499,7 +6499,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.nested_items import NestedItems +from unit_test_api.components.schema import nested_items from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -6513,7 +6513,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = NestedItems([ + body = nested_items.NestedItems([ [ [ [ @@ -6544,7 +6544,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NestedItems**](../../components/schema/NestedItems.md) | | +[**NestedItems**](../../components/schema/nested_items.NestedItems.md) | | ### Return Types, Responses @@ -6615,7 +6615,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NestedItems**](../../components/schema/NestedItems.md) | | +[**NestedItems**](../../components/schema/nested_items.NestedItems.md) | | ### Authorization @@ -6633,7 +6633,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.nested_oneof_to_check_validation_semantics import NestedOneofToCheckValidationSemantics +from unit_test_api.components.schema import nested_oneof_to_check_validation_semantics from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -6647,7 +6647,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = NestedOneofToCheckValidationSemantics(None) + body = nested_oneof_to_check_validation_semantics.NestedOneofToCheckValidationSemantics(None) try: api_response = api_instance.post_nested_oneof_to_check_validation_semantics_request_body( body=body, @@ -6670,7 +6670,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NestedOneofToCheckValidationSemantics**](../../components/schema/NestedOneofToCheckValidationSemantics.md) | | +[**NestedOneofToCheckValidationSemantics**](../../components/schema/nested_oneof_to_check_validation_semantics.NestedOneofToCheckValidationSemantics.md) | | ### Return Types, Responses @@ -6741,7 +6741,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NestedOneofToCheckValidationSemantics**](../../components/schema/NestedOneofToCheckValidationSemantics.md) | | +[**NestedOneofToCheckValidationSemantics**](../../components/schema/nested_oneof_to_check_validation_semantics.NestedOneofToCheckValidationSemantics.md) | | ### Authorization @@ -6759,7 +6759,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.not_more_complex_schema import NotMoreComplexSchema +from unit_test_api.components.schema import not_more_complex_schema from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -6773,7 +6773,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = NotMoreComplexSchema(None) + body = not_more_complex_schema.NotMoreComplexSchema(None) try: api_response = api_instance.post_not_more_complex_schema_request_body( body=body, @@ -6796,7 +6796,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NotMoreComplexSchema**](../../components/schema/NotMoreComplexSchema.md) | | +[**NotMoreComplexSchema**](../../components/schema/not_more_complex_schema.NotMoreComplexSchema.md) | | ### Return Types, Responses @@ -6867,7 +6867,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NotMoreComplexSchema**](../../components/schema/NotMoreComplexSchema.md) | | +[**NotMoreComplexSchema**](../../components/schema/not_more_complex_schema.NotMoreComplexSchema.md) | | ### Authorization @@ -6885,7 +6885,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.model_not import ModelNot +from unit_test_api.components.schema import model_not from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -6899,7 +6899,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = ModelNot(None) + body = model_not.ModelNot(None) try: api_response = api_instance.post_not_request_body( body=body, @@ -6922,7 +6922,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ModelNot**](../../components/schema/ModelNot.md) | | +[**ModelNot**](../../components/schema/model_not.ModelNot.md) | | ### Return Types, Responses @@ -6993,7 +6993,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ModelNot**](../../components/schema/ModelNot.md) | | +[**ModelNot**](../../components/schema/model_not.ModelNot.md) | | ### Authorization @@ -7011,7 +7011,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.nul_characters_in_strings import NulCharactersInStrings +from unit_test_api.components.schema import nul_characters_in_strings from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -7025,7 +7025,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = NulCharactersInStrings("hello\x00there") + body = nul_characters_in_strings.NulCharactersInStrings("hello\x00there") try: api_response = api_instance.post_nul_characters_in_strings_request_body( body=body, @@ -7048,7 +7048,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NulCharactersInStrings**](../../components/schema/NulCharactersInStrings.md) | | +[**NulCharactersInStrings**](../../components/schema/nul_characters_in_strings.NulCharactersInStrings.md) | | ### Return Types, Responses @@ -7119,7 +7119,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NulCharactersInStrings**](../../components/schema/NulCharactersInStrings.md) | | +[**NulCharactersInStrings**](../../components/schema/nul_characters_in_strings.NulCharactersInStrings.md) | | ### Authorization @@ -7137,7 +7137,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.null_type_matches_only_the_null_object import NullTypeMatchesOnlyTheNullObject +from unit_test_api.components.schema import null_type_matches_only_the_null_object from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -7151,7 +7151,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = NullTypeMatchesOnlyTheNullObject(None) + body = null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject(None) try: api_response = api_instance.post_null_type_matches_only_the_null_object_request_body( body=body, @@ -7174,7 +7174,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NullTypeMatchesOnlyTheNullObject**](../../components/schema/NullTypeMatchesOnlyTheNullObject.md) | | +[**NullTypeMatchesOnlyTheNullObject**](../../components/schema/null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject.md) | | ### Return Types, Responses @@ -7245,7 +7245,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NullTypeMatchesOnlyTheNullObject**](../../components/schema/NullTypeMatchesOnlyTheNullObject.md) | | +[**NullTypeMatchesOnlyTheNullObject**](../../components/schema/null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject.md) | | ### Authorization @@ -7263,7 +7263,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.number_type_matches_numbers import NumberTypeMatchesNumbers +from unit_test_api.components.schema import number_type_matches_numbers from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -7277,7 +7277,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = NumberTypeMatchesNumbers(3.14) + body = number_type_matches_numbers.NumberTypeMatchesNumbers(3.14) try: api_response = api_instance.post_number_type_matches_numbers_request_body( body=body, @@ -7300,7 +7300,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NumberTypeMatchesNumbers**](../../components/schema/NumberTypeMatchesNumbers.md) | | +[**NumberTypeMatchesNumbers**](../../components/schema/number_type_matches_numbers.NumberTypeMatchesNumbers.md) | | ### Return Types, Responses @@ -7371,7 +7371,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NumberTypeMatchesNumbers**](../../components/schema/NumberTypeMatchesNumbers.md) | | +[**NumberTypeMatchesNumbers**](../../components/schema/number_type_matches_numbers.NumberTypeMatchesNumbers.md) | | ### Authorization @@ -7389,7 +7389,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.object_properties_validation import ObjectPropertiesValidation +from unit_test_api.components.schema import object_properties_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -7403,7 +7403,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = ObjectPropertiesValidation(None) + body = object_properties_validation.ObjectPropertiesValidation(None) try: api_response = api_instance.post_object_properties_validation_request_body( body=body, @@ -7426,7 +7426,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ObjectPropertiesValidation**](../../components/schema/ObjectPropertiesValidation.md) | | +[**ObjectPropertiesValidation**](../../components/schema/object_properties_validation.ObjectPropertiesValidation.md) | | ### Return Types, Responses @@ -7497,7 +7497,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ObjectPropertiesValidation**](../../components/schema/ObjectPropertiesValidation.md) | | +[**ObjectPropertiesValidation**](../../components/schema/object_properties_validation.ObjectPropertiesValidation.md) | | ### Authorization @@ -7515,7 +7515,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.object_type_matches_objects import ObjectTypeMatchesObjects +from unit_test_api.components.schema import object_type_matches_objects from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -7529,7 +7529,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = ObjectTypeMatchesObjects() + body = object_type_matches_objects.ObjectTypeMatchesObjects() try: api_response = api_instance.post_object_type_matches_objects_request_body( body=body, @@ -7552,7 +7552,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ObjectTypeMatchesObjects**](../../components/schema/ObjectTypeMatchesObjects.md) | | +[**ObjectTypeMatchesObjects**](../../components/schema/object_type_matches_objects.ObjectTypeMatchesObjects.md) | | ### Return Types, Responses @@ -7623,7 +7623,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ObjectTypeMatchesObjects**](../../components/schema/ObjectTypeMatchesObjects.md) | | +[**ObjectTypeMatchesObjects**](../../components/schema/object_type_matches_objects.ObjectTypeMatchesObjects.md) | | ### Authorization @@ -7641,7 +7641,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.oneof_complex_types import OneofComplexTypes +from unit_test_api.components.schema import oneof_complex_types from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -7655,7 +7655,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = OneofComplexTypes(None) + body = oneof_complex_types.OneofComplexTypes(None) try: api_response = api_instance.post_oneof_complex_types_request_body( body=body, @@ -7678,7 +7678,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**OneofComplexTypes**](../../components/schema/OneofComplexTypes.md) | | +[**OneofComplexTypes**](../../components/schema/oneof_complex_types.OneofComplexTypes.md) | | ### Return Types, Responses @@ -7749,7 +7749,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**OneofComplexTypes**](../../components/schema/OneofComplexTypes.md) | | +[**OneofComplexTypes**](../../components/schema/oneof_complex_types.OneofComplexTypes.md) | | ### Authorization @@ -7767,7 +7767,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.oneof import Oneof +from unit_test_api.components.schema import oneof from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -7781,7 +7781,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = Oneof(None) + body = oneof.Oneof(None) try: api_response = api_instance.post_oneof_request_body( body=body, @@ -7804,7 +7804,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Oneof**](../../components/schema/Oneof.md) | | +[**Oneof**](../../components/schema/oneof.Oneof.md) | | ### Return Types, Responses @@ -7875,7 +7875,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Oneof**](../../components/schema/Oneof.md) | | +[**Oneof**](../../components/schema/oneof.Oneof.md) | | ### Authorization @@ -7893,7 +7893,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.oneof_with_base_schema import OneofWithBaseSchema +from unit_test_api.components.schema import oneof_with_base_schema from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -7907,7 +7907,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = OneofWithBaseSchema("parameter_body_example") + body = oneof_with_base_schema.OneofWithBaseSchema("parameter_body_example") try: api_response = api_instance.post_oneof_with_base_schema_request_body( body=body, @@ -7930,7 +7930,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**OneofWithBaseSchema**](../../components/schema/OneofWithBaseSchema.md) | | +[**OneofWithBaseSchema**](../../components/schema/oneof_with_base_schema.OneofWithBaseSchema.md) | | ### Return Types, Responses @@ -8001,7 +8001,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**OneofWithBaseSchema**](../../components/schema/OneofWithBaseSchema.md) | | +[**OneofWithBaseSchema**](../../components/schema/oneof_with_base_schema.OneofWithBaseSchema.md) | | ### Authorization @@ -8019,7 +8019,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.oneof_with_empty_schema import OneofWithEmptySchema +from unit_test_api.components.schema import oneof_with_empty_schema from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -8033,7 +8033,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = OneofWithEmptySchema(None) + body = oneof_with_empty_schema.OneofWithEmptySchema(None) try: api_response = api_instance.post_oneof_with_empty_schema_request_body( body=body, @@ -8056,7 +8056,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**OneofWithEmptySchema**](../../components/schema/OneofWithEmptySchema.md) | | +[**OneofWithEmptySchema**](../../components/schema/oneof_with_empty_schema.OneofWithEmptySchema.md) | | ### Return Types, Responses @@ -8127,7 +8127,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**OneofWithEmptySchema**](../../components/schema/OneofWithEmptySchema.md) | | +[**OneofWithEmptySchema**](../../components/schema/oneof_with_empty_schema.OneofWithEmptySchema.md) | | ### Authorization @@ -8145,7 +8145,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.oneof_with_required import OneofWithRequired +from unit_test_api.components.schema import oneof_with_required from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -8159,7 +8159,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = OneofWithRequired() + body = oneof_with_required.OneofWithRequired() try: api_response = api_instance.post_oneof_with_required_request_body( body=body, @@ -8182,7 +8182,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**OneofWithRequired**](../../components/schema/OneofWithRequired.md) | | +[**OneofWithRequired**](../../components/schema/oneof_with_required.OneofWithRequired.md) | | ### Return Types, Responses @@ -8253,7 +8253,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**OneofWithRequired**](../../components/schema/OneofWithRequired.md) | | +[**OneofWithRequired**](../../components/schema/oneof_with_required.OneofWithRequired.md) | | ### Authorization @@ -8271,7 +8271,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.pattern_is_not_anchored import PatternIsNotAnchored +from unit_test_api.components.schema import pattern_is_not_anchored from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -8285,7 +8285,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = PatternIsNotAnchored(None) + body = pattern_is_not_anchored.PatternIsNotAnchored(None) try: api_response = api_instance.post_pattern_is_not_anchored_request_body( body=body, @@ -8308,7 +8308,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**PatternIsNotAnchored**](../../components/schema/PatternIsNotAnchored.md) | | +[**PatternIsNotAnchored**](../../components/schema/pattern_is_not_anchored.PatternIsNotAnchored.md) | | ### Return Types, Responses @@ -8379,7 +8379,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**PatternIsNotAnchored**](../../components/schema/PatternIsNotAnchored.md) | | +[**PatternIsNotAnchored**](../../components/schema/pattern_is_not_anchored.PatternIsNotAnchored.md) | | ### Authorization @@ -8397,7 +8397,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.pattern_validation import PatternValidation +from unit_test_api.components.schema import pattern_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -8411,7 +8411,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = PatternValidation(None) + body = pattern_validation.PatternValidation(None) try: api_response = api_instance.post_pattern_validation_request_body( body=body, @@ -8434,7 +8434,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**PatternValidation**](../../components/schema/PatternValidation.md) | | +[**PatternValidation**](../../components/schema/pattern_validation.PatternValidation.md) | | ### Return Types, Responses @@ -8505,7 +8505,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**PatternValidation**](../../components/schema/PatternValidation.md) | | +[**PatternValidation**](../../components/schema/pattern_validation.PatternValidation.md) | | ### Authorization @@ -8523,7 +8523,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.properties_with_escaped_characters import PropertiesWithEscapedCharacters +from unit_test_api.components.schema import properties_with_escaped_characters from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -8537,7 +8537,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = PropertiesWithEscapedCharacters(None) + body = properties_with_escaped_characters.PropertiesWithEscapedCharacters(None) try: api_response = api_instance.post_properties_with_escaped_characters_request_body( body=body, @@ -8560,7 +8560,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**PropertiesWithEscapedCharacters**](../../components/schema/PropertiesWithEscapedCharacters.md) | | +[**PropertiesWithEscapedCharacters**](../../components/schema/properties_with_escaped_characters.PropertiesWithEscapedCharacters.md) | | ### Return Types, Responses @@ -8631,7 +8631,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**PropertiesWithEscapedCharacters**](../../components/schema/PropertiesWithEscapedCharacters.md) | | +[**PropertiesWithEscapedCharacters**](../../components/schema/properties_with_escaped_characters.PropertiesWithEscapedCharacters.md) | | ### Authorization @@ -8649,7 +8649,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.property_named_ref_that_is_not_a_reference import PropertyNamedRefThatIsNotAReference +from unit_test_api.components.schema import property_named_ref_that_is_not_a_reference from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -8663,7 +8663,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = PropertyNamedRefThatIsNotAReference(None) + body = property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference(None) try: api_response = api_instance.post_property_named_ref_that_is_not_a_reference_request_body( body=body, @@ -8686,7 +8686,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**PropertyNamedRefThatIsNotAReference**](../../components/schema/PropertyNamedRefThatIsNotAReference.md) | | +[**PropertyNamedRefThatIsNotAReference**](../../components/schema/property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference.md) | | ### Return Types, Responses @@ -8757,7 +8757,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**PropertyNamedRefThatIsNotAReference**](../../components/schema/PropertyNamedRefThatIsNotAReference.md) | | +[**PropertyNamedRefThatIsNotAReference**](../../components/schema/property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference.md) | | ### Authorization @@ -8775,7 +8775,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.ref_in_additionalproperties import RefInAdditionalproperties +from unit_test_api.components.schema import ref_in_additionalproperties from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -8789,8 +8789,8 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = RefInAdditionalproperties( - key=PropertyNamedRefThatIsNotAReference(None), + body = ref_in_additionalproperties.RefInAdditionalproperties( + key=property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference(None), ) try: api_response = api_instance.post_ref_in_additionalproperties_request_body( @@ -8814,7 +8814,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RefInAdditionalproperties**](../../components/schema/RefInAdditionalproperties.md) | | +[**RefInAdditionalproperties**](../../components/schema/ref_in_additionalproperties.RefInAdditionalproperties.md) | | ### Return Types, Responses @@ -8885,7 +8885,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RefInAdditionalproperties**](../../components/schema/RefInAdditionalproperties.md) | | +[**RefInAdditionalproperties**](../../components/schema/ref_in_additionalproperties.RefInAdditionalproperties.md) | | ### Authorization @@ -8903,7 +8903,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.ref_in_allof import RefInAllof +from unit_test_api.components.schema import ref_in_allof from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -8917,7 +8917,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = RefInAllof(None) + body = ref_in_allof.RefInAllof(None) try: api_response = api_instance.post_ref_in_allof_request_body( body=body, @@ -8940,7 +8940,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RefInAllof**](../../components/schema/RefInAllof.md) | | +[**RefInAllof**](../../components/schema/ref_in_allof.RefInAllof.md) | | ### Return Types, Responses @@ -9011,7 +9011,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RefInAllof**](../../components/schema/RefInAllof.md) | | +[**RefInAllof**](../../components/schema/ref_in_allof.RefInAllof.md) | | ### Authorization @@ -9029,7 +9029,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.ref_in_anyof import RefInAnyof +from unit_test_api.components.schema import ref_in_anyof from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -9043,7 +9043,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = RefInAnyof(None) + body = ref_in_anyof.RefInAnyof(None) try: api_response = api_instance.post_ref_in_anyof_request_body( body=body, @@ -9066,7 +9066,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RefInAnyof**](../../components/schema/RefInAnyof.md) | | +[**RefInAnyof**](../../components/schema/ref_in_anyof.RefInAnyof.md) | | ### Return Types, Responses @@ -9137,7 +9137,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RefInAnyof**](../../components/schema/RefInAnyof.md) | | +[**RefInAnyof**](../../components/schema/ref_in_anyof.RefInAnyof.md) | | ### Authorization @@ -9155,7 +9155,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.ref_in_items import RefInItems +from unit_test_api.components.schema import ref_in_items from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -9169,8 +9169,8 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = RefInItems([ - PropertyNamedRefThatIsNotAReference(None) + body = ref_in_items.RefInItems([ + property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference(None) ]) try: api_response = api_instance.post_ref_in_items_request_body( @@ -9194,7 +9194,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RefInItems**](../../components/schema/RefInItems.md) | | +[**RefInItems**](../../components/schema/ref_in_items.RefInItems.md) | | ### Return Types, Responses @@ -9265,7 +9265,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RefInItems**](../../components/schema/RefInItems.md) | | +[**RefInItems**](../../components/schema/ref_in_items.RefInItems.md) | | ### Authorization @@ -9283,7 +9283,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.ref_in_not import RefInNot +from unit_test_api.components.schema import ref_in_not from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -9297,7 +9297,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = RefInNot(None) + body = ref_in_not.RefInNot(None) try: api_response = api_instance.post_ref_in_not_request_body( body=body, @@ -9320,7 +9320,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RefInNot**](../../components/schema/RefInNot.md) | | +[**RefInNot**](../../components/schema/ref_in_not.RefInNot.md) | | ### Return Types, Responses @@ -9391,7 +9391,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RefInNot**](../../components/schema/RefInNot.md) | | +[**RefInNot**](../../components/schema/ref_in_not.RefInNot.md) | | ### Authorization @@ -9409,7 +9409,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.ref_in_oneof import RefInOneof +from unit_test_api.components.schema import ref_in_oneof from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -9423,7 +9423,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = RefInOneof(None) + body = ref_in_oneof.RefInOneof(None) try: api_response = api_instance.post_ref_in_oneof_request_body( body=body, @@ -9446,7 +9446,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RefInOneof**](../../components/schema/RefInOneof.md) | | +[**RefInOneof**](../../components/schema/ref_in_oneof.RefInOneof.md) | | ### Return Types, Responses @@ -9517,7 +9517,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RefInOneof**](../../components/schema/RefInOneof.md) | | +[**RefInOneof**](../../components/schema/ref_in_oneof.RefInOneof.md) | | ### Authorization @@ -9535,7 +9535,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.ref_in_property import RefInProperty +from unit_test_api.components.schema import ref_in_property from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -9549,7 +9549,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = RefInProperty(None) + body = ref_in_property.RefInProperty(None) try: api_response = api_instance.post_ref_in_property_request_body( body=body, @@ -9572,7 +9572,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RefInProperty**](../../components/schema/RefInProperty.md) | | +[**RefInProperty**](../../components/schema/ref_in_property.RefInProperty.md) | | ### Return Types, Responses @@ -9643,7 +9643,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RefInProperty**](../../components/schema/RefInProperty.md) | | +[**RefInProperty**](../../components/schema/ref_in_property.RefInProperty.md) | | ### Authorization @@ -9661,7 +9661,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.required_default_validation import RequiredDefaultValidation +from unit_test_api.components.schema import required_default_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -9675,7 +9675,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = RequiredDefaultValidation(None) + body = required_default_validation.RequiredDefaultValidation(None) try: api_response = api_instance.post_required_default_validation_request_body( body=body, @@ -9698,7 +9698,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RequiredDefaultValidation**](../../components/schema/RequiredDefaultValidation.md) | | +[**RequiredDefaultValidation**](../../components/schema/required_default_validation.RequiredDefaultValidation.md) | | ### Return Types, Responses @@ -9769,7 +9769,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RequiredDefaultValidation**](../../components/schema/RequiredDefaultValidation.md) | | +[**RequiredDefaultValidation**](../../components/schema/required_default_validation.RequiredDefaultValidation.md) | | ### Authorization @@ -9787,7 +9787,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.required_validation import RequiredValidation +from unit_test_api.components.schema import required_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -9801,7 +9801,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = RequiredValidation(None) + body = required_validation.RequiredValidation(None) try: api_response = api_instance.post_required_validation_request_body( body=body, @@ -9824,7 +9824,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RequiredValidation**](../../components/schema/RequiredValidation.md) | | +[**RequiredValidation**](../../components/schema/required_validation.RequiredValidation.md) | | ### Return Types, Responses @@ -9895,7 +9895,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RequiredValidation**](../../components/schema/RequiredValidation.md) | | +[**RequiredValidation**](../../components/schema/required_validation.RequiredValidation.md) | | ### Authorization @@ -9913,7 +9913,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.required_with_empty_array import RequiredWithEmptyArray +from unit_test_api.components.schema import required_with_empty_array from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -9927,7 +9927,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = RequiredWithEmptyArray(None) + body = required_with_empty_array.RequiredWithEmptyArray(None) try: api_response = api_instance.post_required_with_empty_array_request_body( body=body, @@ -9950,7 +9950,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RequiredWithEmptyArray**](../../components/schema/RequiredWithEmptyArray.md) | | +[**RequiredWithEmptyArray**](../../components/schema/required_with_empty_array.RequiredWithEmptyArray.md) | | ### Return Types, Responses @@ -10021,7 +10021,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RequiredWithEmptyArray**](../../components/schema/RequiredWithEmptyArray.md) | | +[**RequiredWithEmptyArray**](../../components/schema/required_with_empty_array.RequiredWithEmptyArray.md) | | ### Authorization @@ -10039,7 +10039,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.required_with_escaped_characters import RequiredWithEscapedCharacters +from unit_test_api.components.schema import required_with_escaped_characters from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -10053,7 +10053,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = RequiredWithEscapedCharacters(None) + body = required_with_escaped_characters.RequiredWithEscapedCharacters(None) try: api_response = api_instance.post_required_with_escaped_characters_request_body( body=body, @@ -10076,7 +10076,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RequiredWithEscapedCharacters**](../../components/schema/RequiredWithEscapedCharacters.md) | | +[**RequiredWithEscapedCharacters**](../../components/schema/required_with_escaped_characters.RequiredWithEscapedCharacters.md) | | ### Return Types, Responses @@ -10147,7 +10147,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RequiredWithEscapedCharacters**](../../components/schema/RequiredWithEscapedCharacters.md) | | +[**RequiredWithEscapedCharacters**](../../components/schema/required_with_escaped_characters.RequiredWithEscapedCharacters.md) | | ### Authorization @@ -10165,7 +10165,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.simple_enum_validation import SimpleEnumValidation +from unit_test_api.components.schema import simple_enum_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -10179,7 +10179,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = SimpleEnumValidation(1) + body = simple_enum_validation.SimpleEnumValidation(1) try: api_response = api_instance.post_simple_enum_validation_request_body( body=body, @@ -10202,7 +10202,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**SimpleEnumValidation**](../../components/schema/SimpleEnumValidation.md) | | +[**SimpleEnumValidation**](../../components/schema/simple_enum_validation.SimpleEnumValidation.md) | | ### Return Types, Responses @@ -10273,7 +10273,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**SimpleEnumValidation**](../../components/schema/SimpleEnumValidation.md) | | +[**SimpleEnumValidation**](../../components/schema/simple_enum_validation.SimpleEnumValidation.md) | | ### Authorization @@ -10291,7 +10291,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.string_type_matches_strings import StringTypeMatchesStrings +from unit_test_api.components.schema import string_type_matches_strings from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -10305,7 +10305,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = StringTypeMatchesStrings("parameter_body_example") + body = string_type_matches_strings.StringTypeMatchesStrings("parameter_body_example") try: api_response = api_instance.post_string_type_matches_strings_request_body( body=body, @@ -10328,7 +10328,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**StringTypeMatchesStrings**](../../components/schema/StringTypeMatchesStrings.md) | | +[**StringTypeMatchesStrings**](../../components/schema/string_type_matches_strings.StringTypeMatchesStrings.md) | | ### Return Types, Responses @@ -10399,7 +10399,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**StringTypeMatchesStrings**](../../components/schema/StringTypeMatchesStrings.md) | | +[**StringTypeMatchesStrings**](../../components/schema/string_type_matches_strings.StringTypeMatchesStrings.md) | | ### Authorization @@ -10417,7 +10417,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.the_default_keyword_does_not_do_anything_if_the_property_is_missing import TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing +from unit_test_api.components.schema import the_default_keyword_does_not_do_anything_if_the_property_is_missing from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -10431,7 +10431,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing( + body = the_default_keyword_does_not_do_anything_if_the_property_is_missing.TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing( alpha=5, ) try: @@ -10456,7 +10456,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing**](../../components/schema/TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing.md) | | +[**TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing**](../../components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing.md) | | ### Return Types, Responses @@ -10527,7 +10527,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing**](../../components/schema/TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing.md) | | +[**TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing**](../../components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing.md) | | ### Authorization @@ -10545,7 +10545,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.uniqueitems_false_validation import UniqueitemsFalseValidation +from unit_test_api.components.schema import uniqueitems_false_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -10559,7 +10559,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = UniqueitemsFalseValidation(None) + body = uniqueitems_false_validation.UniqueitemsFalseValidation(None) try: api_response = api_instance.post_uniqueitems_false_validation_request_body( body=body, @@ -10582,7 +10582,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**UniqueitemsFalseValidation**](../../components/schema/UniqueitemsFalseValidation.md) | | +[**UniqueitemsFalseValidation**](../../components/schema/uniqueitems_false_validation.UniqueitemsFalseValidation.md) | | ### Return Types, Responses @@ -10653,7 +10653,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**UniqueitemsFalseValidation**](../../components/schema/UniqueitemsFalseValidation.md) | | +[**UniqueitemsFalseValidation**](../../components/schema/uniqueitems_false_validation.UniqueitemsFalseValidation.md) | | ### Authorization @@ -10671,7 +10671,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.uniqueitems_validation import UniqueitemsValidation +from unit_test_api.components.schema import uniqueitems_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -10685,7 +10685,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = UniqueitemsValidation(None) + body = uniqueitems_validation.UniqueitemsValidation(None) try: api_response = api_instance.post_uniqueitems_validation_request_body( body=body, @@ -10708,7 +10708,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**UniqueitemsValidation**](../../components/schema/UniqueitemsValidation.md) | | +[**UniqueitemsValidation**](../../components/schema/uniqueitems_validation.UniqueitemsValidation.md) | | ### Return Types, Responses @@ -10779,7 +10779,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**UniqueitemsValidation**](../../components/schema/UniqueitemsValidation.md) | | +[**UniqueitemsValidation**](../../components/schema/uniqueitems_validation.UniqueitemsValidation.md) | | ### Authorization @@ -10797,7 +10797,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.uri_format import UriFormat +from unit_test_api.components.schema import uri_format from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -10811,7 +10811,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = UriFormat(None) + body = uri_format.UriFormat(None) try: api_response = api_instance.post_uri_format_request_body( body=body, @@ -10834,7 +10834,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**UriFormat**](../../components/schema/UriFormat.md) | | +[**UriFormat**](../../components/schema/uri_format.UriFormat.md) | | ### Return Types, Responses @@ -10905,7 +10905,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**UriFormat**](../../components/schema/UriFormat.md) | | +[**UriFormat**](../../components/schema/uri_format.UriFormat.md) | | ### Authorization @@ -10923,7 +10923,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.uri_reference_format import UriReferenceFormat +from unit_test_api.components.schema import uri_reference_format from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -10937,7 +10937,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = UriReferenceFormat(None) + body = uri_reference_format.UriReferenceFormat(None) try: api_response = api_instance.post_uri_reference_format_request_body( body=body, @@ -10960,7 +10960,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**UriReferenceFormat**](../../components/schema/UriReferenceFormat.md) | | +[**UriReferenceFormat**](../../components/schema/uri_reference_format.UriReferenceFormat.md) | | ### Return Types, Responses @@ -11031,7 +11031,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**UriReferenceFormat**](../../components/schema/UriReferenceFormat.md) | | +[**UriReferenceFormat**](../../components/schema/uri_reference_format.UriReferenceFormat.md) | | ### Authorization @@ -11049,7 +11049,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import content_type_json_api -from unit_test_api.components.schema.uri_template_format import UriTemplateFormat +from unit_test_api.components.schema import uri_template_format from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -11063,7 +11063,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = content_type_json_api.ContentTypeJsonApi(api_client) # example passing only required values which don't have defaults set - body = UriTemplateFormat(None) + body = uri_template_format.UriTemplateFormat(None) try: api_response = api_instance.post_uri_template_format_request_body( body=body, @@ -11086,7 +11086,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**UriTemplateFormat**](../../components/schema/UriTemplateFormat.md) | | +[**UriTemplateFormat**](../../components/schema/uri_template_format.UriTemplateFormat.md) | | ### Return Types, Responses @@ -11157,7 +11157,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**UriTemplateFormat**](../../components/schema/UriTemplateFormat.md) | | +[**UriTemplateFormat**](../../components/schema/uri_template_format.UriTemplateFormat.md) | | ### Authorization diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/DefaultApi.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/DefaultApi.md index c280ac1faa7..3bec9a13b9e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/DefaultApi.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/DefaultApi.md @@ -19,7 +19,7 @@ Method | HTTP request | Description ```python import unit_test_api from unit_test_api.apis.tags import default_api -from unit_test_api.components.schema.invalid_string_value_for_default import InvalidStringValueForDefault +from unit_test_api.components.schema import invalid_string_value_for_default from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -33,7 +33,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = default_api.DefaultApi(api_client) # example passing only required values which don't have defaults set - body = InvalidStringValueForDefault(None) + body = invalid_string_value_for_default.InvalidStringValueForDefault(None) try: api_response = api_instance.post_invalid_string_value_for_default_request_body( body=body, @@ -56,7 +56,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**InvalidStringValueForDefault**](../../components/schema/InvalidStringValueForDefault.md) | | +[**InvalidStringValueForDefault**](../../components/schema/invalid_string_value_for_default.InvalidStringValueForDefault.md) | | ### Return Types, Responses @@ -127,7 +127,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**InvalidStringValueForDefault**](../../components/schema/InvalidStringValueForDefault.md) | | +[**InvalidStringValueForDefault**](../../components/schema/invalid_string_value_for_default.InvalidStringValueForDefault.md) | | ### Authorization @@ -145,7 +145,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import default_api -from unit_test_api.components.schema.the_default_keyword_does_not_do_anything_if_the_property_is_missing import TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing +from unit_test_api.components.schema import the_default_keyword_does_not_do_anything_if_the_property_is_missing from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -159,7 +159,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = default_api.DefaultApi(api_client) # example passing only required values which don't have defaults set - body = TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing( + body = the_default_keyword_does_not_do_anything_if_the_property_is_missing.TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing( alpha=5, ) try: @@ -184,7 +184,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing**](../../components/schema/TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing.md) | | +[**TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing**](../../components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing.md) | | ### Return Types, Responses @@ -255,7 +255,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing**](../../components/schema/TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing.md) | | +[**TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing**](../../components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing.md) | | ### Authorization diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/EnumApi.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/EnumApi.md index be1e3bfd6e5..a6bfe24a6c0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/EnumApi.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/EnumApi.md @@ -31,7 +31,7 @@ Method | HTTP request | Description ```python import unit_test_api from unit_test_api.apis.tags import enum_api -from unit_test_api.components.schema.enum_with0_does_not_match_false import EnumWith0DoesNotMatchFalse +from unit_test_api.components.schema import enum_with0_does_not_match_false from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -45,7 +45,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = enum_api.EnumApi(api_client) # example passing only required values which don't have defaults set - body = EnumWith0DoesNotMatchFalse(0) + body = enum_with0_does_not_match_false.EnumWith0DoesNotMatchFalse(0) try: api_response = api_instance.post_enum_with0_does_not_match_false_request_body( body=body, @@ -68,7 +68,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**EnumWith0DoesNotMatchFalse**](../../components/schema/EnumWith0DoesNotMatchFalse.md) | | +[**EnumWith0DoesNotMatchFalse**](../../components/schema/enum_with0_does_not_match_false.EnumWith0DoesNotMatchFalse.md) | | ### Return Types, Responses @@ -139,7 +139,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**EnumWith0DoesNotMatchFalse**](../../components/schema/EnumWith0DoesNotMatchFalse.md) | | +[**EnumWith0DoesNotMatchFalse**](../../components/schema/enum_with0_does_not_match_false.EnumWith0DoesNotMatchFalse.md) | | ### Authorization @@ -157,7 +157,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import enum_api -from unit_test_api.components.schema.enum_with1_does_not_match_true import EnumWith1DoesNotMatchTrue +from unit_test_api.components.schema import enum_with1_does_not_match_true from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -171,7 +171,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = enum_api.EnumApi(api_client) # example passing only required values which don't have defaults set - body = EnumWith1DoesNotMatchTrue(1) + body = enum_with1_does_not_match_true.EnumWith1DoesNotMatchTrue(1) try: api_response = api_instance.post_enum_with1_does_not_match_true_request_body( body=body, @@ -194,7 +194,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**EnumWith1DoesNotMatchTrue**](../../components/schema/EnumWith1DoesNotMatchTrue.md) | | +[**EnumWith1DoesNotMatchTrue**](../../components/schema/enum_with1_does_not_match_true.EnumWith1DoesNotMatchTrue.md) | | ### Return Types, Responses @@ -265,7 +265,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**EnumWith1DoesNotMatchTrue**](../../components/schema/EnumWith1DoesNotMatchTrue.md) | | +[**EnumWith1DoesNotMatchTrue**](../../components/schema/enum_with1_does_not_match_true.EnumWith1DoesNotMatchTrue.md) | | ### Authorization @@ -283,7 +283,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import enum_api -from unit_test_api.components.schema.enum_with_escaped_characters import EnumWithEscapedCharacters +from unit_test_api.components.schema import enum_with_escaped_characters from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -297,7 +297,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = enum_api.EnumApi(api_client) # example passing only required values which don't have defaults set - body = EnumWithEscapedCharacters("foo\nbar") + body = enum_with_escaped_characters.EnumWithEscapedCharacters("foo\nbar") try: api_response = api_instance.post_enum_with_escaped_characters_request_body( body=body, @@ -320,7 +320,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**EnumWithEscapedCharacters**](../../components/schema/EnumWithEscapedCharacters.md) | | +[**EnumWithEscapedCharacters**](../../components/schema/enum_with_escaped_characters.EnumWithEscapedCharacters.md) | | ### Return Types, Responses @@ -391,7 +391,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**EnumWithEscapedCharacters**](../../components/schema/EnumWithEscapedCharacters.md) | | +[**EnumWithEscapedCharacters**](../../components/schema/enum_with_escaped_characters.EnumWithEscapedCharacters.md) | | ### Authorization @@ -409,7 +409,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import enum_api -from unit_test_api.components.schema.enum_with_false_does_not_match0 import EnumWithFalseDoesNotMatch0 +from unit_test_api.components.schema import enum_with_false_does_not_match0 from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -423,7 +423,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = enum_api.EnumApi(api_client) # example passing only required values which don't have defaults set - body = EnumWithFalseDoesNotMatch0(False) + body = enum_with_false_does_not_match0.EnumWithFalseDoesNotMatch0(False) try: api_response = api_instance.post_enum_with_false_does_not_match0_request_body( body=body, @@ -446,7 +446,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**EnumWithFalseDoesNotMatch0**](../../components/schema/EnumWithFalseDoesNotMatch0.md) | | +[**EnumWithFalseDoesNotMatch0**](../../components/schema/enum_with_false_does_not_match0.EnumWithFalseDoesNotMatch0.md) | | ### Return Types, Responses @@ -517,7 +517,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**EnumWithFalseDoesNotMatch0**](../../components/schema/EnumWithFalseDoesNotMatch0.md) | | +[**EnumWithFalseDoesNotMatch0**](../../components/schema/enum_with_false_does_not_match0.EnumWithFalseDoesNotMatch0.md) | | ### Authorization @@ -535,7 +535,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import enum_api -from unit_test_api.components.schema.enum_with_true_does_not_match1 import EnumWithTrueDoesNotMatch1 +from unit_test_api.components.schema import enum_with_true_does_not_match1 from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -549,7 +549,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = enum_api.EnumApi(api_client) # example passing only required values which don't have defaults set - body = EnumWithTrueDoesNotMatch1(True) + body = enum_with_true_does_not_match1.EnumWithTrueDoesNotMatch1(True) try: api_response = api_instance.post_enum_with_true_does_not_match1_request_body( body=body, @@ -572,7 +572,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**EnumWithTrueDoesNotMatch1**](../../components/schema/EnumWithTrueDoesNotMatch1.md) | | +[**EnumWithTrueDoesNotMatch1**](../../components/schema/enum_with_true_does_not_match1.EnumWithTrueDoesNotMatch1.md) | | ### Return Types, Responses @@ -643,7 +643,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**EnumWithTrueDoesNotMatch1**](../../components/schema/EnumWithTrueDoesNotMatch1.md) | | +[**EnumWithTrueDoesNotMatch1**](../../components/schema/enum_with_true_does_not_match1.EnumWithTrueDoesNotMatch1.md) | | ### Authorization @@ -661,7 +661,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import enum_api -from unit_test_api.components.schema.enums_in_properties import EnumsInProperties +from unit_test_api.components.schema import enums_in_properties from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -675,7 +675,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = enum_api.EnumApi(api_client) # example passing only required values which don't have defaults set - body = EnumsInProperties( + body = enums_in_properties.EnumsInProperties( foo="foo", bar="bar", ) @@ -701,7 +701,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**EnumsInProperties**](../../components/schema/EnumsInProperties.md) | | +[**EnumsInProperties**](../../components/schema/enums_in_properties.EnumsInProperties.md) | | ### Return Types, Responses @@ -772,7 +772,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**EnumsInProperties**](../../components/schema/EnumsInProperties.md) | | +[**EnumsInProperties**](../../components/schema/enums_in_properties.EnumsInProperties.md) | | ### Authorization @@ -790,7 +790,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import enum_api -from unit_test_api.components.schema.nul_characters_in_strings import NulCharactersInStrings +from unit_test_api.components.schema import nul_characters_in_strings from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -804,7 +804,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = enum_api.EnumApi(api_client) # example passing only required values which don't have defaults set - body = NulCharactersInStrings("hello\x00there") + body = nul_characters_in_strings.NulCharactersInStrings("hello\x00there") try: api_response = api_instance.post_nul_characters_in_strings_request_body( body=body, @@ -827,7 +827,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NulCharactersInStrings**](../../components/schema/NulCharactersInStrings.md) | | +[**NulCharactersInStrings**](../../components/schema/nul_characters_in_strings.NulCharactersInStrings.md) | | ### Return Types, Responses @@ -898,7 +898,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NulCharactersInStrings**](../../components/schema/NulCharactersInStrings.md) | | +[**NulCharactersInStrings**](../../components/schema/nul_characters_in_strings.NulCharactersInStrings.md) | | ### Authorization @@ -916,7 +916,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import enum_api -from unit_test_api.components.schema.simple_enum_validation import SimpleEnumValidation +from unit_test_api.components.schema import simple_enum_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -930,7 +930,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = enum_api.EnumApi(api_client) # example passing only required values which don't have defaults set - body = SimpleEnumValidation(1) + body = simple_enum_validation.SimpleEnumValidation(1) try: api_response = api_instance.post_simple_enum_validation_request_body( body=body, @@ -953,7 +953,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**SimpleEnumValidation**](../../components/schema/SimpleEnumValidation.md) | | +[**SimpleEnumValidation**](../../components/schema/simple_enum_validation.SimpleEnumValidation.md) | | ### Return Types, Responses @@ -1024,7 +1024,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**SimpleEnumValidation**](../../components/schema/SimpleEnumValidation.md) | | +[**SimpleEnumValidation**](../../components/schema/simple_enum_validation.SimpleEnumValidation.md) | | ### Authorization diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/FormatApi.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/FormatApi.md index f703ad5f0f7..c233936a4be 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/FormatApi.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/FormatApi.md @@ -33,7 +33,7 @@ Method | HTTP request | Description ```python import unit_test_api from unit_test_api.apis.tags import format_api -from unit_test_api.components.schema.date_time_format import DateTimeFormat +from unit_test_api.components.schema import date_time_format from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -47,7 +47,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = format_api.FormatApi(api_client) # example passing only required values which don't have defaults set - body = DateTimeFormat(None) + body = date_time_format.DateTimeFormat(None) try: api_response = api_instance.post_date_time_format_request_body( body=body, @@ -70,7 +70,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**DateTimeFormat**](../../components/schema/DateTimeFormat.md) | | +[**DateTimeFormat**](../../components/schema/date_time_format.DateTimeFormat.md) | | ### Return Types, Responses @@ -141,7 +141,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**DateTimeFormat**](../../components/schema/DateTimeFormat.md) | | +[**DateTimeFormat**](../../components/schema/date_time_format.DateTimeFormat.md) | | ### Authorization @@ -159,7 +159,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import format_api -from unit_test_api.components.schema.email_format import EmailFormat +from unit_test_api.components.schema import email_format from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -173,7 +173,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = format_api.FormatApi(api_client) # example passing only required values which don't have defaults set - body = EmailFormat(None) + body = email_format.EmailFormat(None) try: api_response = api_instance.post_email_format_request_body( body=body, @@ -196,7 +196,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**EmailFormat**](../../components/schema/EmailFormat.md) | | +[**EmailFormat**](../../components/schema/email_format.EmailFormat.md) | | ### Return Types, Responses @@ -267,7 +267,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**EmailFormat**](../../components/schema/EmailFormat.md) | | +[**EmailFormat**](../../components/schema/email_format.EmailFormat.md) | | ### Authorization @@ -285,7 +285,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import format_api -from unit_test_api.components.schema.hostname_format import HostnameFormat +from unit_test_api.components.schema import hostname_format from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -299,7 +299,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = format_api.FormatApi(api_client) # example passing only required values which don't have defaults set - body = HostnameFormat(None) + body = hostname_format.HostnameFormat(None) try: api_response = api_instance.post_hostname_format_request_body( body=body, @@ -322,7 +322,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**HostnameFormat**](../../components/schema/HostnameFormat.md) | | +[**HostnameFormat**](../../components/schema/hostname_format.HostnameFormat.md) | | ### Return Types, Responses @@ -393,7 +393,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**HostnameFormat**](../../components/schema/HostnameFormat.md) | | +[**HostnameFormat**](../../components/schema/hostname_format.HostnameFormat.md) | | ### Authorization @@ -411,7 +411,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import format_api -from unit_test_api.components.schema.ipv4_format import Ipv4Format +from unit_test_api.components.schema import ipv4_format from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -425,7 +425,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = format_api.FormatApi(api_client) # example passing only required values which don't have defaults set - body = Ipv4Format(None) + body = ipv4_format.Ipv4Format(None) try: api_response = api_instance.post_ipv4_format_request_body( body=body, @@ -448,7 +448,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Ipv4Format**](../../components/schema/Ipv4Format.md) | | +[**Ipv4Format**](../../components/schema/ipv4_format.Ipv4Format.md) | | ### Return Types, Responses @@ -519,7 +519,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Ipv4Format**](../../components/schema/Ipv4Format.md) | | +[**Ipv4Format**](../../components/schema/ipv4_format.Ipv4Format.md) | | ### Authorization @@ -537,7 +537,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import format_api -from unit_test_api.components.schema.ipv6_format import Ipv6Format +from unit_test_api.components.schema import ipv6_format from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -551,7 +551,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = format_api.FormatApi(api_client) # example passing only required values which don't have defaults set - body = Ipv6Format(None) + body = ipv6_format.Ipv6Format(None) try: api_response = api_instance.post_ipv6_format_request_body( body=body, @@ -574,7 +574,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Ipv6Format**](../../components/schema/Ipv6Format.md) | | +[**Ipv6Format**](../../components/schema/ipv6_format.Ipv6Format.md) | | ### Return Types, Responses @@ -645,7 +645,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Ipv6Format**](../../components/schema/Ipv6Format.md) | | +[**Ipv6Format**](../../components/schema/ipv6_format.Ipv6Format.md) | | ### Authorization @@ -663,7 +663,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import format_api -from unit_test_api.components.schema.json_pointer_format import JsonPointerFormat +from unit_test_api.components.schema import json_pointer_format from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -677,7 +677,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = format_api.FormatApi(api_client) # example passing only required values which don't have defaults set - body = JsonPointerFormat(None) + body = json_pointer_format.JsonPointerFormat(None) try: api_response = api_instance.post_json_pointer_format_request_body( body=body, @@ -700,7 +700,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**JsonPointerFormat**](../../components/schema/JsonPointerFormat.md) | | +[**JsonPointerFormat**](../../components/schema/json_pointer_format.JsonPointerFormat.md) | | ### Return Types, Responses @@ -771,7 +771,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**JsonPointerFormat**](../../components/schema/JsonPointerFormat.md) | | +[**JsonPointerFormat**](../../components/schema/json_pointer_format.JsonPointerFormat.md) | | ### Authorization @@ -789,7 +789,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import format_api -from unit_test_api.components.schema.uri_format import UriFormat +from unit_test_api.components.schema import uri_format from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -803,7 +803,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = format_api.FormatApi(api_client) # example passing only required values which don't have defaults set - body = UriFormat(None) + body = uri_format.UriFormat(None) try: api_response = api_instance.post_uri_format_request_body( body=body, @@ -826,7 +826,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**UriFormat**](../../components/schema/UriFormat.md) | | +[**UriFormat**](../../components/schema/uri_format.UriFormat.md) | | ### Return Types, Responses @@ -897,7 +897,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**UriFormat**](../../components/schema/UriFormat.md) | | +[**UriFormat**](../../components/schema/uri_format.UriFormat.md) | | ### Authorization @@ -915,7 +915,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import format_api -from unit_test_api.components.schema.uri_reference_format import UriReferenceFormat +from unit_test_api.components.schema import uri_reference_format from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -929,7 +929,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = format_api.FormatApi(api_client) # example passing only required values which don't have defaults set - body = UriReferenceFormat(None) + body = uri_reference_format.UriReferenceFormat(None) try: api_response = api_instance.post_uri_reference_format_request_body( body=body, @@ -952,7 +952,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**UriReferenceFormat**](../../components/schema/UriReferenceFormat.md) | | +[**UriReferenceFormat**](../../components/schema/uri_reference_format.UriReferenceFormat.md) | | ### Return Types, Responses @@ -1023,7 +1023,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**UriReferenceFormat**](../../components/schema/UriReferenceFormat.md) | | +[**UriReferenceFormat**](../../components/schema/uri_reference_format.UriReferenceFormat.md) | | ### Authorization @@ -1041,7 +1041,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import format_api -from unit_test_api.components.schema.uri_template_format import UriTemplateFormat +from unit_test_api.components.schema import uri_template_format from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -1055,7 +1055,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = format_api.FormatApi(api_client) # example passing only required values which don't have defaults set - body = UriTemplateFormat(None) + body = uri_template_format.UriTemplateFormat(None) try: api_response = api_instance.post_uri_template_format_request_body( body=body, @@ -1078,7 +1078,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**UriTemplateFormat**](../../components/schema/UriTemplateFormat.md) | | +[**UriTemplateFormat**](../../components/schema/uri_template_format.UriTemplateFormat.md) | | ### Return Types, Responses @@ -1149,7 +1149,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**UriTemplateFormat**](../../components/schema/UriTemplateFormat.md) | | +[**UriTemplateFormat**](../../components/schema/uri_template_format.UriTemplateFormat.md) | | ### Authorization diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ItemsApi.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ItemsApi.md index 458ebecfbe3..f5c510d4caf 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ItemsApi.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ItemsApi.md @@ -17,7 +17,7 @@ Method | HTTP request | Description ```python import unit_test_api from unit_test_api.apis.tags import items_api -from unit_test_api.components.schema.nested_items import NestedItems +from unit_test_api.components.schema import nested_items from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -31,7 +31,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = items_api.ItemsApi(api_client) # example passing only required values which don't have defaults set - body = NestedItems([ + body = nested_items.NestedItems([ [ [ [ @@ -62,7 +62,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NestedItems**](../../components/schema/NestedItems.md) | | +[**NestedItems**](../../components/schema/nested_items.NestedItems.md) | | ### Return Types, Responses @@ -133,7 +133,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NestedItems**](../../components/schema/NestedItems.md) | | +[**NestedItems**](../../components/schema/nested_items.NestedItems.md) | | ### Authorization diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/MaxItemsApi.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/MaxItemsApi.md index 1eed6cd577a..e0c63e5cf2b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/MaxItemsApi.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/MaxItemsApi.md @@ -17,7 +17,7 @@ Method | HTTP request | Description ```python import unit_test_api from unit_test_api.apis.tags import max_items_api -from unit_test_api.components.schema.maxitems_validation import MaxitemsValidation +from unit_test_api.components.schema import maxitems_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -31,7 +31,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = max_items_api.MaxItemsApi(api_client) # example passing only required values which don't have defaults set - body = MaxitemsValidation(None) + body = maxitems_validation.MaxitemsValidation(None) try: api_response = api_instance.post_maxitems_validation_request_body( body=body, @@ -54,7 +54,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MaxitemsValidation**](../../components/schema/MaxitemsValidation.md) | | +[**MaxitemsValidation**](../../components/schema/maxitems_validation.MaxitemsValidation.md) | | ### Return Types, Responses @@ -125,7 +125,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MaxitemsValidation**](../../components/schema/MaxitemsValidation.md) | | +[**MaxitemsValidation**](../../components/schema/maxitems_validation.MaxitemsValidation.md) | | ### Authorization diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/MaxLengthApi.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/MaxLengthApi.md index 8efcb7df500..d37b758c4f8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/MaxLengthApi.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/MaxLengthApi.md @@ -17,7 +17,7 @@ Method | HTTP request | Description ```python import unit_test_api from unit_test_api.apis.tags import max_length_api -from unit_test_api.components.schema.maxlength_validation import MaxlengthValidation +from unit_test_api.components.schema import maxlength_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -31,7 +31,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = max_length_api.MaxLengthApi(api_client) # example passing only required values which don't have defaults set - body = MaxlengthValidation(None) + body = maxlength_validation.MaxlengthValidation(None) try: api_response = api_instance.post_maxlength_validation_request_body( body=body, @@ -54,7 +54,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MaxlengthValidation**](../../components/schema/MaxlengthValidation.md) | | +[**MaxlengthValidation**](../../components/schema/maxlength_validation.MaxlengthValidation.md) | | ### Return Types, Responses @@ -125,7 +125,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MaxlengthValidation**](../../components/schema/MaxlengthValidation.md) | | +[**MaxlengthValidation**](../../components/schema/maxlength_validation.MaxlengthValidation.md) | | ### Authorization diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/MaxPropertiesApi.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/MaxPropertiesApi.md index 0de2a54f6f9..af3f7fc2af8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/MaxPropertiesApi.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/MaxPropertiesApi.md @@ -19,7 +19,7 @@ Method | HTTP request | Description ```python import unit_test_api from unit_test_api.apis.tags import max_properties_api -from unit_test_api.components.schema.maxproperties0_means_the_object_is_empty import Maxproperties0MeansTheObjectIsEmpty +from unit_test_api.components.schema import maxproperties0_means_the_object_is_empty from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -33,7 +33,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = max_properties_api.MaxPropertiesApi(api_client) # example passing only required values which don't have defaults set - body = Maxproperties0MeansTheObjectIsEmpty(None) + body = maxproperties0_means_the_object_is_empty.Maxproperties0MeansTheObjectIsEmpty(None) try: api_response = api_instance.post_maxproperties0_means_the_object_is_empty_request_body( body=body, @@ -56,7 +56,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Maxproperties0MeansTheObjectIsEmpty**](../../components/schema/Maxproperties0MeansTheObjectIsEmpty.md) | | +[**Maxproperties0MeansTheObjectIsEmpty**](../../components/schema/maxproperties0_means_the_object_is_empty.Maxproperties0MeansTheObjectIsEmpty.md) | | ### Return Types, Responses @@ -127,7 +127,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Maxproperties0MeansTheObjectIsEmpty**](../../components/schema/Maxproperties0MeansTheObjectIsEmpty.md) | | +[**Maxproperties0MeansTheObjectIsEmpty**](../../components/schema/maxproperties0_means_the_object_is_empty.Maxproperties0MeansTheObjectIsEmpty.md) | | ### Authorization @@ -145,7 +145,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import max_properties_api -from unit_test_api.components.schema.maxproperties_validation import MaxpropertiesValidation +from unit_test_api.components.schema import maxproperties_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -159,7 +159,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = max_properties_api.MaxPropertiesApi(api_client) # example passing only required values which don't have defaults set - body = MaxpropertiesValidation(None) + body = maxproperties_validation.MaxpropertiesValidation(None) try: api_response = api_instance.post_maxproperties_validation_request_body( body=body, @@ -182,7 +182,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MaxpropertiesValidation**](../../components/schema/MaxpropertiesValidation.md) | | +[**MaxpropertiesValidation**](../../components/schema/maxproperties_validation.MaxpropertiesValidation.md) | | ### Return Types, Responses @@ -253,7 +253,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MaxpropertiesValidation**](../../components/schema/MaxpropertiesValidation.md) | | +[**MaxpropertiesValidation**](../../components/schema/maxproperties_validation.MaxpropertiesValidation.md) | | ### Authorization diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/MaximumApi.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/MaximumApi.md index 039688d4a93..d1d0c2bb8c1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/MaximumApi.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/MaximumApi.md @@ -19,7 +19,7 @@ Method | HTTP request | Description ```python import unit_test_api from unit_test_api.apis.tags import maximum_api -from unit_test_api.components.schema.maximum_validation import MaximumValidation +from unit_test_api.components.schema import maximum_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -33,7 +33,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = maximum_api.MaximumApi(api_client) # example passing only required values which don't have defaults set - body = MaximumValidation(None) + body = maximum_validation.MaximumValidation(None) try: api_response = api_instance.post_maximum_validation_request_body( body=body, @@ -56,7 +56,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MaximumValidation**](../../components/schema/MaximumValidation.md) | | +[**MaximumValidation**](../../components/schema/maximum_validation.MaximumValidation.md) | | ### Return Types, Responses @@ -127,7 +127,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MaximumValidation**](../../components/schema/MaximumValidation.md) | | +[**MaximumValidation**](../../components/schema/maximum_validation.MaximumValidation.md) | | ### Authorization @@ -145,7 +145,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import maximum_api -from unit_test_api.components.schema.maximum_validation_with_unsigned_integer import MaximumValidationWithUnsignedInteger +from unit_test_api.components.schema import maximum_validation_with_unsigned_integer from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -159,7 +159,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = maximum_api.MaximumApi(api_client) # example passing only required values which don't have defaults set - body = MaximumValidationWithUnsignedInteger(None) + body = maximum_validation_with_unsigned_integer.MaximumValidationWithUnsignedInteger(None) try: api_response = api_instance.post_maximum_validation_with_unsigned_integer_request_body( body=body, @@ -182,7 +182,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MaximumValidationWithUnsignedInteger**](../../components/schema/MaximumValidationWithUnsignedInteger.md) | | +[**MaximumValidationWithUnsignedInteger**](../../components/schema/maximum_validation_with_unsigned_integer.MaximumValidationWithUnsignedInteger.md) | | ### Return Types, Responses @@ -253,7 +253,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MaximumValidationWithUnsignedInteger**](../../components/schema/MaximumValidationWithUnsignedInteger.md) | | +[**MaximumValidationWithUnsignedInteger**](../../components/schema/maximum_validation_with_unsigned_integer.MaximumValidationWithUnsignedInteger.md) | | ### Authorization diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/MinItemsApi.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/MinItemsApi.md index 1bc662d5533..0203ca8bdf3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/MinItemsApi.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/MinItemsApi.md @@ -17,7 +17,7 @@ Method | HTTP request | Description ```python import unit_test_api from unit_test_api.apis.tags import min_items_api -from unit_test_api.components.schema.minitems_validation import MinitemsValidation +from unit_test_api.components.schema import minitems_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -31,7 +31,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = min_items_api.MinItemsApi(api_client) # example passing only required values which don't have defaults set - body = MinitemsValidation(None) + body = minitems_validation.MinitemsValidation(None) try: api_response = api_instance.post_minitems_validation_request_body( body=body, @@ -54,7 +54,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MinitemsValidation**](../../components/schema/MinitemsValidation.md) | | +[**MinitemsValidation**](../../components/schema/minitems_validation.MinitemsValidation.md) | | ### Return Types, Responses @@ -125,7 +125,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MinitemsValidation**](../../components/schema/MinitemsValidation.md) | | +[**MinitemsValidation**](../../components/schema/minitems_validation.MinitemsValidation.md) | | ### Authorization diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/MinLengthApi.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/MinLengthApi.md index 4d156568079..91c210d40a6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/MinLengthApi.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/MinLengthApi.md @@ -17,7 +17,7 @@ Method | HTTP request | Description ```python import unit_test_api from unit_test_api.apis.tags import min_length_api -from unit_test_api.components.schema.minlength_validation import MinlengthValidation +from unit_test_api.components.schema import minlength_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -31,7 +31,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = min_length_api.MinLengthApi(api_client) # example passing only required values which don't have defaults set - body = MinlengthValidation(None) + body = minlength_validation.MinlengthValidation(None) try: api_response = api_instance.post_minlength_validation_request_body( body=body, @@ -54,7 +54,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MinlengthValidation**](../../components/schema/MinlengthValidation.md) | | +[**MinlengthValidation**](../../components/schema/minlength_validation.MinlengthValidation.md) | | ### Return Types, Responses @@ -125,7 +125,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MinlengthValidation**](../../components/schema/MinlengthValidation.md) | | +[**MinlengthValidation**](../../components/schema/minlength_validation.MinlengthValidation.md) | | ### Authorization diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/MinPropertiesApi.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/MinPropertiesApi.md index e5d5767a766..04389a3b279 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/MinPropertiesApi.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/MinPropertiesApi.md @@ -17,7 +17,7 @@ Method | HTTP request | Description ```python import unit_test_api from unit_test_api.apis.tags import min_properties_api -from unit_test_api.components.schema.minproperties_validation import MinpropertiesValidation +from unit_test_api.components.schema import minproperties_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -31,7 +31,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = min_properties_api.MinPropertiesApi(api_client) # example passing only required values which don't have defaults set - body = MinpropertiesValidation(None) + body = minproperties_validation.MinpropertiesValidation(None) try: api_response = api_instance.post_minproperties_validation_request_body( body=body, @@ -54,7 +54,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MinpropertiesValidation**](../../components/schema/MinpropertiesValidation.md) | | +[**MinpropertiesValidation**](../../components/schema/minproperties_validation.MinpropertiesValidation.md) | | ### Return Types, Responses @@ -125,7 +125,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MinpropertiesValidation**](../../components/schema/MinpropertiesValidation.md) | | +[**MinpropertiesValidation**](../../components/schema/minproperties_validation.MinpropertiesValidation.md) | | ### Authorization diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/MinimumApi.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/MinimumApi.md index 0d279c6886c..4f4eab368a4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/MinimumApi.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/MinimumApi.md @@ -19,7 +19,7 @@ Method | HTTP request | Description ```python import unit_test_api from unit_test_api.apis.tags import minimum_api -from unit_test_api.components.schema.minimum_validation import MinimumValidation +from unit_test_api.components.schema import minimum_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -33,7 +33,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = minimum_api.MinimumApi(api_client) # example passing only required values which don't have defaults set - body = MinimumValidation(None) + body = minimum_validation.MinimumValidation(None) try: api_response = api_instance.post_minimum_validation_request_body( body=body, @@ -56,7 +56,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MinimumValidation**](../../components/schema/MinimumValidation.md) | | +[**MinimumValidation**](../../components/schema/minimum_validation.MinimumValidation.md) | | ### Return Types, Responses @@ -127,7 +127,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MinimumValidation**](../../components/schema/MinimumValidation.md) | | +[**MinimumValidation**](../../components/schema/minimum_validation.MinimumValidation.md) | | ### Authorization @@ -145,7 +145,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import minimum_api -from unit_test_api.components.schema.minimum_validation_with_signed_integer import MinimumValidationWithSignedInteger +from unit_test_api.components.schema import minimum_validation_with_signed_integer from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -159,7 +159,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = minimum_api.MinimumApi(api_client) # example passing only required values which don't have defaults set - body = MinimumValidationWithSignedInteger(None) + body = minimum_validation_with_signed_integer.MinimumValidationWithSignedInteger(None) try: api_response = api_instance.post_minimum_validation_with_signed_integer_request_body( body=body, @@ -182,7 +182,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MinimumValidationWithSignedInteger**](../../components/schema/MinimumValidationWithSignedInteger.md) | | +[**MinimumValidationWithSignedInteger**](../../components/schema/minimum_validation_with_signed_integer.MinimumValidationWithSignedInteger.md) | | ### Return Types, Responses @@ -253,7 +253,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MinimumValidationWithSignedInteger**](../../components/schema/MinimumValidationWithSignedInteger.md) | | +[**MinimumValidationWithSignedInteger**](../../components/schema/minimum_validation_with_signed_integer.MinimumValidationWithSignedInteger.md) | | ### Authorization diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ModelNotApi.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ModelNotApi.md index c3b60e1503e..dae3235845e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ModelNotApi.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ModelNotApi.md @@ -21,7 +21,7 @@ Method | HTTP request | Description ```python import unit_test_api from unit_test_api.apis.tags import model_not_api -from unit_test_api.components.schema.forbidden_property import ForbiddenProperty +from unit_test_api.components.schema import forbidden_property from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -35,7 +35,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = model_not_api.ModelNotApi(api_client) # example passing only required values which don't have defaults set - body = ForbiddenProperty(None) + body = forbidden_property.ForbiddenProperty(None) try: api_response = api_instance.post_forbidden_property_request_body( body=body, @@ -58,7 +58,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ForbiddenProperty**](../../components/schema/ForbiddenProperty.md) | | +[**ForbiddenProperty**](../../components/schema/forbidden_property.ForbiddenProperty.md) | | ### Return Types, Responses @@ -129,7 +129,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ForbiddenProperty**](../../components/schema/ForbiddenProperty.md) | | +[**ForbiddenProperty**](../../components/schema/forbidden_property.ForbiddenProperty.md) | | ### Authorization @@ -147,7 +147,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import model_not_api -from unit_test_api.components.schema.not_more_complex_schema import NotMoreComplexSchema +from unit_test_api.components.schema import not_more_complex_schema from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -161,7 +161,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = model_not_api.ModelNotApi(api_client) # example passing only required values which don't have defaults set - body = NotMoreComplexSchema(None) + body = not_more_complex_schema.NotMoreComplexSchema(None) try: api_response = api_instance.post_not_more_complex_schema_request_body( body=body, @@ -184,7 +184,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NotMoreComplexSchema**](../../components/schema/NotMoreComplexSchema.md) | | +[**NotMoreComplexSchema**](../../components/schema/not_more_complex_schema.NotMoreComplexSchema.md) | | ### Return Types, Responses @@ -255,7 +255,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NotMoreComplexSchema**](../../components/schema/NotMoreComplexSchema.md) | | +[**NotMoreComplexSchema**](../../components/schema/not_more_complex_schema.NotMoreComplexSchema.md) | | ### Authorization @@ -273,7 +273,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import model_not_api -from unit_test_api.components.schema.model_not import ModelNot +from unit_test_api.components.schema import model_not from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -287,7 +287,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = model_not_api.ModelNotApi(api_client) # example passing only required values which don't have defaults set - body = ModelNot(None) + body = model_not.ModelNot(None) try: api_response = api_instance.post_not_request_body( body=body, @@ -310,7 +310,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ModelNot**](../../components/schema/ModelNot.md) | | +[**ModelNot**](../../components/schema/model_not.ModelNot.md) | | ### Return Types, Responses @@ -381,7 +381,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ModelNot**](../../components/schema/ModelNot.md) | | +[**ModelNot**](../../components/schema/model_not.ModelNot.md) | | ### Authorization diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/MultipleOfApi.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/MultipleOfApi.md index c9a8de5b3ca..747748fb10a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/MultipleOfApi.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/MultipleOfApi.md @@ -23,7 +23,7 @@ Method | HTTP request | Description ```python import unit_test_api from unit_test_api.apis.tags import multiple_of_api -from unit_test_api.components.schema.by_int import ByInt +from unit_test_api.components.schema import by_int from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -37,7 +37,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = multiple_of_api.MultipleOfApi(api_client) # example passing only required values which don't have defaults set - body = ByInt(None) + body = by_int.ByInt(None) try: api_response = api_instance.post_by_int_request_body( body=body, @@ -60,7 +60,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ByInt**](../../components/schema/ByInt.md) | | +[**ByInt**](../../components/schema/by_int.ByInt.md) | | ### Return Types, Responses @@ -131,7 +131,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ByInt**](../../components/schema/ByInt.md) | | +[**ByInt**](../../components/schema/by_int.ByInt.md) | | ### Authorization @@ -149,7 +149,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import multiple_of_api -from unit_test_api.components.schema.by_number import ByNumber +from unit_test_api.components.schema import by_number from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -163,7 +163,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = multiple_of_api.MultipleOfApi(api_client) # example passing only required values which don't have defaults set - body = ByNumber(None) + body = by_number.ByNumber(None) try: api_response = api_instance.post_by_number_request_body( body=body, @@ -186,7 +186,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ByNumber**](../../components/schema/ByNumber.md) | | +[**ByNumber**](../../components/schema/by_number.ByNumber.md) | | ### Return Types, Responses @@ -257,7 +257,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ByNumber**](../../components/schema/ByNumber.md) | | +[**ByNumber**](../../components/schema/by_number.ByNumber.md) | | ### Authorization @@ -275,7 +275,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import multiple_of_api -from unit_test_api.components.schema.by_small_number import BySmallNumber +from unit_test_api.components.schema import by_small_number from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -289,7 +289,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = multiple_of_api.MultipleOfApi(api_client) # example passing only required values which don't have defaults set - body = BySmallNumber(None) + body = by_small_number.BySmallNumber(None) try: api_response = api_instance.post_by_small_number_request_body( body=body, @@ -312,7 +312,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**BySmallNumber**](../../components/schema/BySmallNumber.md) | | +[**BySmallNumber**](../../components/schema/by_small_number.BySmallNumber.md) | | ### Return Types, Responses @@ -383,7 +383,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**BySmallNumber**](../../components/schema/BySmallNumber.md) | | +[**BySmallNumber**](../../components/schema/by_small_number.BySmallNumber.md) | | ### Authorization @@ -401,7 +401,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import multiple_of_api -from unit_test_api.components.schema.invalid_instance_should_not_raise_error_when_float_division_inf import InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf +from unit_test_api.components.schema import invalid_instance_should_not_raise_error_when_float_division_inf from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -415,7 +415,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = multiple_of_api.MultipleOfApi(api_client) # example passing only required values which don't have defaults set - body = InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf(1) + body = invalid_instance_should_not_raise_error_when_float_division_inf.InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf(1) try: api_response = api_instance.post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body( body=body, @@ -438,7 +438,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf**](../../components/schema/InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf.md) | | +[**InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf**](../../components/schema/invalid_instance_should_not_raise_error_when_float_division_inf.InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf.md) | | ### Return Types, Responses @@ -509,7 +509,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf**](../../components/schema/InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf.md) | | +[**InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf**](../../components/schema/invalid_instance_should_not_raise_error_when_float_division_inf.InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf.md) | | ### Authorization diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/OneOfApi.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/OneOfApi.md index ce9054fd8a1..4463a525688 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/OneOfApi.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/OneOfApi.md @@ -27,7 +27,7 @@ Method | HTTP request | Description ```python import unit_test_api from unit_test_api.apis.tags import one_of_api -from unit_test_api.components.schema.nested_oneof_to_check_validation_semantics import NestedOneofToCheckValidationSemantics +from unit_test_api.components.schema import nested_oneof_to_check_validation_semantics from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -41,7 +41,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = one_of_api.OneOfApi(api_client) # example passing only required values which don't have defaults set - body = NestedOneofToCheckValidationSemantics(None) + body = nested_oneof_to_check_validation_semantics.NestedOneofToCheckValidationSemantics(None) try: api_response = api_instance.post_nested_oneof_to_check_validation_semantics_request_body( body=body, @@ -64,7 +64,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NestedOneofToCheckValidationSemantics**](../../components/schema/NestedOneofToCheckValidationSemantics.md) | | +[**NestedOneofToCheckValidationSemantics**](../../components/schema/nested_oneof_to_check_validation_semantics.NestedOneofToCheckValidationSemantics.md) | | ### Return Types, Responses @@ -135,7 +135,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NestedOneofToCheckValidationSemantics**](../../components/schema/NestedOneofToCheckValidationSemantics.md) | | +[**NestedOneofToCheckValidationSemantics**](../../components/schema/nested_oneof_to_check_validation_semantics.NestedOneofToCheckValidationSemantics.md) | | ### Authorization @@ -153,7 +153,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import one_of_api -from unit_test_api.components.schema.oneof_complex_types import OneofComplexTypes +from unit_test_api.components.schema import oneof_complex_types from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -167,7 +167,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = one_of_api.OneOfApi(api_client) # example passing only required values which don't have defaults set - body = OneofComplexTypes(None) + body = oneof_complex_types.OneofComplexTypes(None) try: api_response = api_instance.post_oneof_complex_types_request_body( body=body, @@ -190,7 +190,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**OneofComplexTypes**](../../components/schema/OneofComplexTypes.md) | | +[**OneofComplexTypes**](../../components/schema/oneof_complex_types.OneofComplexTypes.md) | | ### Return Types, Responses @@ -261,7 +261,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**OneofComplexTypes**](../../components/schema/OneofComplexTypes.md) | | +[**OneofComplexTypes**](../../components/schema/oneof_complex_types.OneofComplexTypes.md) | | ### Authorization @@ -279,7 +279,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import one_of_api -from unit_test_api.components.schema.oneof import Oneof +from unit_test_api.components.schema import oneof from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -293,7 +293,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = one_of_api.OneOfApi(api_client) # example passing only required values which don't have defaults set - body = Oneof(None) + body = oneof.Oneof(None) try: api_response = api_instance.post_oneof_request_body( body=body, @@ -316,7 +316,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Oneof**](../../components/schema/Oneof.md) | | +[**Oneof**](../../components/schema/oneof.Oneof.md) | | ### Return Types, Responses @@ -387,7 +387,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Oneof**](../../components/schema/Oneof.md) | | +[**Oneof**](../../components/schema/oneof.Oneof.md) | | ### Authorization @@ -405,7 +405,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import one_of_api -from unit_test_api.components.schema.oneof_with_base_schema import OneofWithBaseSchema +from unit_test_api.components.schema import oneof_with_base_schema from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -419,7 +419,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = one_of_api.OneOfApi(api_client) # example passing only required values which don't have defaults set - body = OneofWithBaseSchema("parameter_body_example") + body = oneof_with_base_schema.OneofWithBaseSchema("parameter_body_example") try: api_response = api_instance.post_oneof_with_base_schema_request_body( body=body, @@ -442,7 +442,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**OneofWithBaseSchema**](../../components/schema/OneofWithBaseSchema.md) | | +[**OneofWithBaseSchema**](../../components/schema/oneof_with_base_schema.OneofWithBaseSchema.md) | | ### Return Types, Responses @@ -513,7 +513,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**OneofWithBaseSchema**](../../components/schema/OneofWithBaseSchema.md) | | +[**OneofWithBaseSchema**](../../components/schema/oneof_with_base_schema.OneofWithBaseSchema.md) | | ### Authorization @@ -531,7 +531,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import one_of_api -from unit_test_api.components.schema.oneof_with_empty_schema import OneofWithEmptySchema +from unit_test_api.components.schema import oneof_with_empty_schema from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -545,7 +545,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = one_of_api.OneOfApi(api_client) # example passing only required values which don't have defaults set - body = OneofWithEmptySchema(None) + body = oneof_with_empty_schema.OneofWithEmptySchema(None) try: api_response = api_instance.post_oneof_with_empty_schema_request_body( body=body, @@ -568,7 +568,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**OneofWithEmptySchema**](../../components/schema/OneofWithEmptySchema.md) | | +[**OneofWithEmptySchema**](../../components/schema/oneof_with_empty_schema.OneofWithEmptySchema.md) | | ### Return Types, Responses @@ -639,7 +639,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**OneofWithEmptySchema**](../../components/schema/OneofWithEmptySchema.md) | | +[**OneofWithEmptySchema**](../../components/schema/oneof_with_empty_schema.OneofWithEmptySchema.md) | | ### Authorization @@ -657,7 +657,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import one_of_api -from unit_test_api.components.schema.oneof_with_required import OneofWithRequired +from unit_test_api.components.schema import oneof_with_required from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -671,7 +671,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = one_of_api.OneOfApi(api_client) # example passing only required values which don't have defaults set - body = OneofWithRequired() + body = oneof_with_required.OneofWithRequired() try: api_response = api_instance.post_oneof_with_required_request_body( body=body, @@ -694,7 +694,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**OneofWithRequired**](../../components/schema/OneofWithRequired.md) | | +[**OneofWithRequired**](../../components/schema/oneof_with_required.OneofWithRequired.md) | | ### Return Types, Responses @@ -765,7 +765,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**OneofWithRequired**](../../components/schema/OneofWithRequired.md) | | +[**OneofWithRequired**](../../components/schema/oneof_with_required.OneofWithRequired.md) | | ### Authorization diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/OperationRequestBodyApi.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/OperationRequestBodyApi.md index 6c8f55157a3..023557fca09 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/OperationRequestBodyApi.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/OperationRequestBodyApi.md @@ -102,7 +102,7 @@ Method | HTTP request | Description ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.additionalproperties_allows_a_schema_which_should_validate import AdditionalpropertiesAllowsASchemaWhichShouldValidate +from unit_test_api.components.schema import additionalproperties_allows_a_schema_which_should_validate from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -116,7 +116,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = AdditionalpropertiesAllowsASchemaWhichShouldValidate( + body = additionalproperties_allows_a_schema_which_should_validate.AdditionalpropertiesAllowsASchemaWhichShouldValidate( foo=None, bar=None, ) @@ -142,7 +142,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AdditionalpropertiesAllowsASchemaWhichShouldValidate**](../../components/schema/AdditionalpropertiesAllowsASchemaWhichShouldValidate.md) | | +[**AdditionalpropertiesAllowsASchemaWhichShouldValidate**](../../components/schema/additionalproperties_allows_a_schema_which_should_validate.AdditionalpropertiesAllowsASchemaWhichShouldValidate.md) | | ### Return Types, Responses @@ -174,7 +174,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.additionalproperties_are_allowed_by_default import AdditionalpropertiesAreAllowedByDefault +from unit_test_api.components.schema import additionalproperties_are_allowed_by_default from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -188,7 +188,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = AdditionalpropertiesAreAllowedByDefault(None) + body = additionalproperties_are_allowed_by_default.AdditionalpropertiesAreAllowedByDefault(None) try: api_response = api_instance.post_additionalproperties_are_allowed_by_default_request_body( body=body, @@ -211,7 +211,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AdditionalpropertiesAreAllowedByDefault**](../../components/schema/AdditionalpropertiesAreAllowedByDefault.md) | | +[**AdditionalpropertiesAreAllowedByDefault**](../../components/schema/additionalproperties_are_allowed_by_default.AdditionalpropertiesAreAllowedByDefault.md) | | ### Return Types, Responses @@ -243,7 +243,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.additionalproperties_can_exist_by_itself import AdditionalpropertiesCanExistByItself +from unit_test_api.components.schema import additionalproperties_can_exist_by_itself from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -257,7 +257,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = AdditionalpropertiesCanExistByItself( + body = additionalproperties_can_exist_by_itself.AdditionalpropertiesCanExistByItself( key=True, ) try: @@ -282,7 +282,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AdditionalpropertiesCanExistByItself**](../../components/schema/AdditionalpropertiesCanExistByItself.md) | | +[**AdditionalpropertiesCanExistByItself**](../../components/schema/additionalproperties_can_exist_by_itself.AdditionalpropertiesCanExistByItself.md) | | ### Return Types, Responses @@ -314,7 +314,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.additionalproperties_should_not_look_in_applicators import AdditionalpropertiesShouldNotLookInApplicators +from unit_test_api.components.schema import additionalproperties_should_not_look_in_applicators from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -328,7 +328,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = AdditionalpropertiesShouldNotLookInApplicators(None) + body = additionalproperties_should_not_look_in_applicators.AdditionalpropertiesShouldNotLookInApplicators(None) try: api_response = api_instance.post_additionalproperties_should_not_look_in_applicators_request_body( body=body, @@ -351,7 +351,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AdditionalpropertiesShouldNotLookInApplicators**](../../components/schema/AdditionalpropertiesShouldNotLookInApplicators.md) | | +[**AdditionalpropertiesShouldNotLookInApplicators**](../../components/schema/additionalproperties_should_not_look_in_applicators.AdditionalpropertiesShouldNotLookInApplicators.md) | | ### Return Types, Responses @@ -383,7 +383,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.allof_combined_with_anyof_oneof import AllofCombinedWithAnyofOneof +from unit_test_api.components.schema import allof_combined_with_anyof_oneof from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -397,7 +397,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = AllofCombinedWithAnyofOneof(None) + body = allof_combined_with_anyof_oneof.AllofCombinedWithAnyofOneof(None) try: api_response = api_instance.post_allof_combined_with_anyof_oneof_request_body( body=body, @@ -420,7 +420,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AllofCombinedWithAnyofOneof**](../../components/schema/AllofCombinedWithAnyofOneof.md) | | +[**AllofCombinedWithAnyofOneof**](../../components/schema/allof_combined_with_anyof_oneof.AllofCombinedWithAnyofOneof.md) | | ### Return Types, Responses @@ -452,7 +452,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.allof import Allof +from unit_test_api.components.schema import allof from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -466,7 +466,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = Allof(None) + body = allof.Allof(None) try: api_response = api_instance.post_allof_request_body( body=body, @@ -489,7 +489,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Allof**](../../components/schema/Allof.md) | | +[**Allof**](../../components/schema/allof.Allof.md) | | ### Return Types, Responses @@ -521,7 +521,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.allof_simple_types import AllofSimpleTypes +from unit_test_api.components.schema import allof_simple_types from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -535,7 +535,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = AllofSimpleTypes(None) + body = allof_simple_types.AllofSimpleTypes(None) try: api_response = api_instance.post_allof_simple_types_request_body( body=body, @@ -558,7 +558,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AllofSimpleTypes**](../../components/schema/AllofSimpleTypes.md) | | +[**AllofSimpleTypes**](../../components/schema/allof_simple_types.AllofSimpleTypes.md) | | ### Return Types, Responses @@ -590,7 +590,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.allof_with_base_schema import AllofWithBaseSchema +from unit_test_api.components.schema import allof_with_base_schema from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -604,7 +604,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = AllofWithBaseSchema({}) + body = allof_with_base_schema.AllofWithBaseSchema({}) try: api_response = api_instance.post_allof_with_base_schema_request_body( body=body, @@ -627,7 +627,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AllofWithBaseSchema**](../../components/schema/AllofWithBaseSchema.md) | | +[**AllofWithBaseSchema**](../../components/schema/allof_with_base_schema.AllofWithBaseSchema.md) | | ### Return Types, Responses @@ -659,7 +659,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.allof_with_one_empty_schema import AllofWithOneEmptySchema +from unit_test_api.components.schema import allof_with_one_empty_schema from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -673,7 +673,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = AllofWithOneEmptySchema(None) + body = allof_with_one_empty_schema.AllofWithOneEmptySchema(None) try: api_response = api_instance.post_allof_with_one_empty_schema_request_body( body=body, @@ -696,7 +696,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AllofWithOneEmptySchema**](../../components/schema/AllofWithOneEmptySchema.md) | | +[**AllofWithOneEmptySchema**](../../components/schema/allof_with_one_empty_schema.AllofWithOneEmptySchema.md) | | ### Return Types, Responses @@ -728,7 +728,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.allof_with_the_first_empty_schema import AllofWithTheFirstEmptySchema +from unit_test_api.components.schema import allof_with_the_first_empty_schema from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -742,7 +742,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = AllofWithTheFirstEmptySchema(None) + body = allof_with_the_first_empty_schema.AllofWithTheFirstEmptySchema(None) try: api_response = api_instance.post_allof_with_the_first_empty_schema_request_body( body=body, @@ -765,7 +765,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AllofWithTheFirstEmptySchema**](../../components/schema/AllofWithTheFirstEmptySchema.md) | | +[**AllofWithTheFirstEmptySchema**](../../components/schema/allof_with_the_first_empty_schema.AllofWithTheFirstEmptySchema.md) | | ### Return Types, Responses @@ -797,7 +797,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.allof_with_the_last_empty_schema import AllofWithTheLastEmptySchema +from unit_test_api.components.schema import allof_with_the_last_empty_schema from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -811,7 +811,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = AllofWithTheLastEmptySchema(None) + body = allof_with_the_last_empty_schema.AllofWithTheLastEmptySchema(None) try: api_response = api_instance.post_allof_with_the_last_empty_schema_request_body( body=body, @@ -834,7 +834,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AllofWithTheLastEmptySchema**](../../components/schema/AllofWithTheLastEmptySchema.md) | | +[**AllofWithTheLastEmptySchema**](../../components/schema/allof_with_the_last_empty_schema.AllofWithTheLastEmptySchema.md) | | ### Return Types, Responses @@ -866,7 +866,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.allof_with_two_empty_schemas import AllofWithTwoEmptySchemas +from unit_test_api.components.schema import allof_with_two_empty_schemas from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -880,7 +880,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = AllofWithTwoEmptySchemas(None) + body = allof_with_two_empty_schemas.AllofWithTwoEmptySchemas(None) try: api_response = api_instance.post_allof_with_two_empty_schemas_request_body( body=body, @@ -903,7 +903,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AllofWithTwoEmptySchemas**](../../components/schema/AllofWithTwoEmptySchemas.md) | | +[**AllofWithTwoEmptySchemas**](../../components/schema/allof_with_two_empty_schemas.AllofWithTwoEmptySchemas.md) | | ### Return Types, Responses @@ -935,7 +935,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.anyof_complex_types import AnyofComplexTypes +from unit_test_api.components.schema import anyof_complex_types from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -949,7 +949,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = AnyofComplexTypes(None) + body = anyof_complex_types.AnyofComplexTypes(None) try: api_response = api_instance.post_anyof_complex_types_request_body( body=body, @@ -972,7 +972,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AnyofComplexTypes**](../../components/schema/AnyofComplexTypes.md) | | +[**AnyofComplexTypes**](../../components/schema/anyof_complex_types.AnyofComplexTypes.md) | | ### Return Types, Responses @@ -1004,7 +1004,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.anyof import Anyof +from unit_test_api.components.schema import anyof from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -1018,7 +1018,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = Anyof(None) + body = anyof.Anyof(None) try: api_response = api_instance.post_anyof_request_body( body=body, @@ -1041,7 +1041,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Anyof**](../../components/schema/Anyof.md) | | +[**Anyof**](../../components/schema/anyof.Anyof.md) | | ### Return Types, Responses @@ -1073,7 +1073,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.anyof_with_base_schema import AnyofWithBaseSchema +from unit_test_api.components.schema import anyof_with_base_schema from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -1087,7 +1087,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = AnyofWithBaseSchema("parameter_body_example") + body = anyof_with_base_schema.AnyofWithBaseSchema("parameter_body_example") try: api_response = api_instance.post_anyof_with_base_schema_request_body( body=body, @@ -1110,7 +1110,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AnyofWithBaseSchema**](../../components/schema/AnyofWithBaseSchema.md) | | +[**AnyofWithBaseSchema**](../../components/schema/anyof_with_base_schema.AnyofWithBaseSchema.md) | | ### Return Types, Responses @@ -1142,7 +1142,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.anyof_with_one_empty_schema import AnyofWithOneEmptySchema +from unit_test_api.components.schema import anyof_with_one_empty_schema from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -1156,7 +1156,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = AnyofWithOneEmptySchema(None) + body = anyof_with_one_empty_schema.AnyofWithOneEmptySchema(None) try: api_response = api_instance.post_anyof_with_one_empty_schema_request_body( body=body, @@ -1179,7 +1179,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AnyofWithOneEmptySchema**](../../components/schema/AnyofWithOneEmptySchema.md) | | +[**AnyofWithOneEmptySchema**](../../components/schema/anyof_with_one_empty_schema.AnyofWithOneEmptySchema.md) | | ### Return Types, Responses @@ -1211,7 +1211,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.array_type_matches_arrays import ArrayTypeMatchesArrays +from unit_test_api.components.schema import array_type_matches_arrays from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -1225,7 +1225,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = ArrayTypeMatchesArrays([ + body = array_type_matches_arrays.ArrayTypeMatchesArrays([ None ]) try: @@ -1250,7 +1250,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ArrayTypeMatchesArrays**](../../components/schema/ArrayTypeMatchesArrays.md) | | +[**ArrayTypeMatchesArrays**](../../components/schema/array_type_matches_arrays.ArrayTypeMatchesArrays.md) | | ### Return Types, Responses @@ -1282,7 +1282,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.boolean_type_matches_booleans import BooleanTypeMatchesBooleans +from unit_test_api.components.schema import boolean_type_matches_booleans from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -1296,7 +1296,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = BooleanTypeMatchesBooleans(True) + body = boolean_type_matches_booleans.BooleanTypeMatchesBooleans(True) try: api_response = api_instance.post_boolean_type_matches_booleans_request_body( body=body, @@ -1319,7 +1319,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**BooleanTypeMatchesBooleans**](../../components/schema/BooleanTypeMatchesBooleans.md) | | +[**BooleanTypeMatchesBooleans**](../../components/schema/boolean_type_matches_booleans.BooleanTypeMatchesBooleans.md) | | ### Return Types, Responses @@ -1351,7 +1351,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.by_int import ByInt +from unit_test_api.components.schema import by_int from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -1365,7 +1365,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = ByInt(None) + body = by_int.ByInt(None) try: api_response = api_instance.post_by_int_request_body( body=body, @@ -1388,7 +1388,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ByInt**](../../components/schema/ByInt.md) | | +[**ByInt**](../../components/schema/by_int.ByInt.md) | | ### Return Types, Responses @@ -1420,7 +1420,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.by_number import ByNumber +from unit_test_api.components.schema import by_number from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -1434,7 +1434,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = ByNumber(None) + body = by_number.ByNumber(None) try: api_response = api_instance.post_by_number_request_body( body=body, @@ -1457,7 +1457,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ByNumber**](../../components/schema/ByNumber.md) | | +[**ByNumber**](../../components/schema/by_number.ByNumber.md) | | ### Return Types, Responses @@ -1489,7 +1489,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.by_small_number import BySmallNumber +from unit_test_api.components.schema import by_small_number from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -1503,7 +1503,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = BySmallNumber(None) + body = by_small_number.BySmallNumber(None) try: api_response = api_instance.post_by_small_number_request_body( body=body, @@ -1526,7 +1526,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**BySmallNumber**](../../components/schema/BySmallNumber.md) | | +[**BySmallNumber**](../../components/schema/by_small_number.BySmallNumber.md) | | ### Return Types, Responses @@ -1558,7 +1558,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.date_time_format import DateTimeFormat +from unit_test_api.components.schema import date_time_format from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -1572,7 +1572,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = DateTimeFormat(None) + body = date_time_format.DateTimeFormat(None) try: api_response = api_instance.post_date_time_format_request_body( body=body, @@ -1595,7 +1595,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**DateTimeFormat**](../../components/schema/DateTimeFormat.md) | | +[**DateTimeFormat**](../../components/schema/date_time_format.DateTimeFormat.md) | | ### Return Types, Responses @@ -1627,7 +1627,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.email_format import EmailFormat +from unit_test_api.components.schema import email_format from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -1641,7 +1641,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = EmailFormat(None) + body = email_format.EmailFormat(None) try: api_response = api_instance.post_email_format_request_body( body=body, @@ -1664,7 +1664,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**EmailFormat**](../../components/schema/EmailFormat.md) | | +[**EmailFormat**](../../components/schema/email_format.EmailFormat.md) | | ### Return Types, Responses @@ -1696,7 +1696,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.enum_with0_does_not_match_false import EnumWith0DoesNotMatchFalse +from unit_test_api.components.schema import enum_with0_does_not_match_false from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -1710,7 +1710,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = EnumWith0DoesNotMatchFalse(0) + body = enum_with0_does_not_match_false.EnumWith0DoesNotMatchFalse(0) try: api_response = api_instance.post_enum_with0_does_not_match_false_request_body( body=body, @@ -1733,7 +1733,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**EnumWith0DoesNotMatchFalse**](../../components/schema/EnumWith0DoesNotMatchFalse.md) | | +[**EnumWith0DoesNotMatchFalse**](../../components/schema/enum_with0_does_not_match_false.EnumWith0DoesNotMatchFalse.md) | | ### Return Types, Responses @@ -1765,7 +1765,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.enum_with1_does_not_match_true import EnumWith1DoesNotMatchTrue +from unit_test_api.components.schema import enum_with1_does_not_match_true from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -1779,7 +1779,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = EnumWith1DoesNotMatchTrue(1) + body = enum_with1_does_not_match_true.EnumWith1DoesNotMatchTrue(1) try: api_response = api_instance.post_enum_with1_does_not_match_true_request_body( body=body, @@ -1802,7 +1802,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**EnumWith1DoesNotMatchTrue**](../../components/schema/EnumWith1DoesNotMatchTrue.md) | | +[**EnumWith1DoesNotMatchTrue**](../../components/schema/enum_with1_does_not_match_true.EnumWith1DoesNotMatchTrue.md) | | ### Return Types, Responses @@ -1834,7 +1834,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.enum_with_escaped_characters import EnumWithEscapedCharacters +from unit_test_api.components.schema import enum_with_escaped_characters from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -1848,7 +1848,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = EnumWithEscapedCharacters("foo\nbar") + body = enum_with_escaped_characters.EnumWithEscapedCharacters("foo\nbar") try: api_response = api_instance.post_enum_with_escaped_characters_request_body( body=body, @@ -1871,7 +1871,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**EnumWithEscapedCharacters**](../../components/schema/EnumWithEscapedCharacters.md) | | +[**EnumWithEscapedCharacters**](../../components/schema/enum_with_escaped_characters.EnumWithEscapedCharacters.md) | | ### Return Types, Responses @@ -1903,7 +1903,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.enum_with_false_does_not_match0 import EnumWithFalseDoesNotMatch0 +from unit_test_api.components.schema import enum_with_false_does_not_match0 from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -1917,7 +1917,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = EnumWithFalseDoesNotMatch0(False) + body = enum_with_false_does_not_match0.EnumWithFalseDoesNotMatch0(False) try: api_response = api_instance.post_enum_with_false_does_not_match0_request_body( body=body, @@ -1940,7 +1940,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**EnumWithFalseDoesNotMatch0**](../../components/schema/EnumWithFalseDoesNotMatch0.md) | | +[**EnumWithFalseDoesNotMatch0**](../../components/schema/enum_with_false_does_not_match0.EnumWithFalseDoesNotMatch0.md) | | ### Return Types, Responses @@ -1972,7 +1972,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.enum_with_true_does_not_match1 import EnumWithTrueDoesNotMatch1 +from unit_test_api.components.schema import enum_with_true_does_not_match1 from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -1986,7 +1986,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = EnumWithTrueDoesNotMatch1(True) + body = enum_with_true_does_not_match1.EnumWithTrueDoesNotMatch1(True) try: api_response = api_instance.post_enum_with_true_does_not_match1_request_body( body=body, @@ -2009,7 +2009,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**EnumWithTrueDoesNotMatch1**](../../components/schema/EnumWithTrueDoesNotMatch1.md) | | +[**EnumWithTrueDoesNotMatch1**](../../components/schema/enum_with_true_does_not_match1.EnumWithTrueDoesNotMatch1.md) | | ### Return Types, Responses @@ -2041,7 +2041,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.enums_in_properties import EnumsInProperties +from unit_test_api.components.schema import enums_in_properties from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -2055,7 +2055,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = EnumsInProperties( + body = enums_in_properties.EnumsInProperties( foo="foo", bar="bar", ) @@ -2081,7 +2081,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**EnumsInProperties**](../../components/schema/EnumsInProperties.md) | | +[**EnumsInProperties**](../../components/schema/enums_in_properties.EnumsInProperties.md) | | ### Return Types, Responses @@ -2113,7 +2113,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.forbidden_property import ForbiddenProperty +from unit_test_api.components.schema import forbidden_property from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -2127,7 +2127,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = ForbiddenProperty(None) + body = forbidden_property.ForbiddenProperty(None) try: api_response = api_instance.post_forbidden_property_request_body( body=body, @@ -2150,7 +2150,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ForbiddenProperty**](../../components/schema/ForbiddenProperty.md) | | +[**ForbiddenProperty**](../../components/schema/forbidden_property.ForbiddenProperty.md) | | ### Return Types, Responses @@ -2182,7 +2182,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.hostname_format import HostnameFormat +from unit_test_api.components.schema import hostname_format from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -2196,7 +2196,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = HostnameFormat(None) + body = hostname_format.HostnameFormat(None) try: api_response = api_instance.post_hostname_format_request_body( body=body, @@ -2219,7 +2219,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**HostnameFormat**](../../components/schema/HostnameFormat.md) | | +[**HostnameFormat**](../../components/schema/hostname_format.HostnameFormat.md) | | ### Return Types, Responses @@ -2251,7 +2251,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.integer_type_matches_integers import IntegerTypeMatchesIntegers +from unit_test_api.components.schema import integer_type_matches_integers from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -2265,7 +2265,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = IntegerTypeMatchesIntegers(1) + body = integer_type_matches_integers.IntegerTypeMatchesIntegers(1) try: api_response = api_instance.post_integer_type_matches_integers_request_body( body=body, @@ -2288,7 +2288,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**IntegerTypeMatchesIntegers**](../../components/schema/IntegerTypeMatchesIntegers.md) | | +[**IntegerTypeMatchesIntegers**](../../components/schema/integer_type_matches_integers.IntegerTypeMatchesIntegers.md) | | ### Return Types, Responses @@ -2320,7 +2320,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.invalid_instance_should_not_raise_error_when_float_division_inf import InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf +from unit_test_api.components.schema import invalid_instance_should_not_raise_error_when_float_division_inf from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -2334,7 +2334,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf(1) + body = invalid_instance_should_not_raise_error_when_float_division_inf.InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf(1) try: api_response = api_instance.post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body( body=body, @@ -2357,7 +2357,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf**](../../components/schema/InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf.md) | | +[**InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf**](../../components/schema/invalid_instance_should_not_raise_error_when_float_division_inf.InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf.md) | | ### Return Types, Responses @@ -2389,7 +2389,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.invalid_string_value_for_default import InvalidStringValueForDefault +from unit_test_api.components.schema import invalid_string_value_for_default from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -2403,7 +2403,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = InvalidStringValueForDefault(None) + body = invalid_string_value_for_default.InvalidStringValueForDefault(None) try: api_response = api_instance.post_invalid_string_value_for_default_request_body( body=body, @@ -2426,7 +2426,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**InvalidStringValueForDefault**](../../components/schema/InvalidStringValueForDefault.md) | | +[**InvalidStringValueForDefault**](../../components/schema/invalid_string_value_for_default.InvalidStringValueForDefault.md) | | ### Return Types, Responses @@ -2458,7 +2458,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.ipv4_format import Ipv4Format +from unit_test_api.components.schema import ipv4_format from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -2472,7 +2472,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = Ipv4Format(None) + body = ipv4_format.Ipv4Format(None) try: api_response = api_instance.post_ipv4_format_request_body( body=body, @@ -2495,7 +2495,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Ipv4Format**](../../components/schema/Ipv4Format.md) | | +[**Ipv4Format**](../../components/schema/ipv4_format.Ipv4Format.md) | | ### Return Types, Responses @@ -2527,7 +2527,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.ipv6_format import Ipv6Format +from unit_test_api.components.schema import ipv6_format from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -2541,7 +2541,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = Ipv6Format(None) + body = ipv6_format.Ipv6Format(None) try: api_response = api_instance.post_ipv6_format_request_body( body=body, @@ -2564,7 +2564,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Ipv6Format**](../../components/schema/Ipv6Format.md) | | +[**Ipv6Format**](../../components/schema/ipv6_format.Ipv6Format.md) | | ### Return Types, Responses @@ -2596,7 +2596,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.json_pointer_format import JsonPointerFormat +from unit_test_api.components.schema import json_pointer_format from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -2610,7 +2610,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = JsonPointerFormat(None) + body = json_pointer_format.JsonPointerFormat(None) try: api_response = api_instance.post_json_pointer_format_request_body( body=body, @@ -2633,7 +2633,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**JsonPointerFormat**](../../components/schema/JsonPointerFormat.md) | | +[**JsonPointerFormat**](../../components/schema/json_pointer_format.JsonPointerFormat.md) | | ### Return Types, Responses @@ -2665,7 +2665,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.maximum_validation import MaximumValidation +from unit_test_api.components.schema import maximum_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -2679,7 +2679,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = MaximumValidation(None) + body = maximum_validation.MaximumValidation(None) try: api_response = api_instance.post_maximum_validation_request_body( body=body, @@ -2702,7 +2702,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MaximumValidation**](../../components/schema/MaximumValidation.md) | | +[**MaximumValidation**](../../components/schema/maximum_validation.MaximumValidation.md) | | ### Return Types, Responses @@ -2734,7 +2734,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.maximum_validation_with_unsigned_integer import MaximumValidationWithUnsignedInteger +from unit_test_api.components.schema import maximum_validation_with_unsigned_integer from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -2748,7 +2748,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = MaximumValidationWithUnsignedInteger(None) + body = maximum_validation_with_unsigned_integer.MaximumValidationWithUnsignedInteger(None) try: api_response = api_instance.post_maximum_validation_with_unsigned_integer_request_body( body=body, @@ -2771,7 +2771,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MaximumValidationWithUnsignedInteger**](../../components/schema/MaximumValidationWithUnsignedInteger.md) | | +[**MaximumValidationWithUnsignedInteger**](../../components/schema/maximum_validation_with_unsigned_integer.MaximumValidationWithUnsignedInteger.md) | | ### Return Types, Responses @@ -2803,7 +2803,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.maxitems_validation import MaxitemsValidation +from unit_test_api.components.schema import maxitems_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -2817,7 +2817,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = MaxitemsValidation(None) + body = maxitems_validation.MaxitemsValidation(None) try: api_response = api_instance.post_maxitems_validation_request_body( body=body, @@ -2840,7 +2840,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MaxitemsValidation**](../../components/schema/MaxitemsValidation.md) | | +[**MaxitemsValidation**](../../components/schema/maxitems_validation.MaxitemsValidation.md) | | ### Return Types, Responses @@ -2872,7 +2872,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.maxlength_validation import MaxlengthValidation +from unit_test_api.components.schema import maxlength_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -2886,7 +2886,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = MaxlengthValidation(None) + body = maxlength_validation.MaxlengthValidation(None) try: api_response = api_instance.post_maxlength_validation_request_body( body=body, @@ -2909,7 +2909,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MaxlengthValidation**](../../components/schema/MaxlengthValidation.md) | | +[**MaxlengthValidation**](../../components/schema/maxlength_validation.MaxlengthValidation.md) | | ### Return Types, Responses @@ -2941,7 +2941,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.maxproperties0_means_the_object_is_empty import Maxproperties0MeansTheObjectIsEmpty +from unit_test_api.components.schema import maxproperties0_means_the_object_is_empty from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -2955,7 +2955,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = Maxproperties0MeansTheObjectIsEmpty(None) + body = maxproperties0_means_the_object_is_empty.Maxproperties0MeansTheObjectIsEmpty(None) try: api_response = api_instance.post_maxproperties0_means_the_object_is_empty_request_body( body=body, @@ -2978,7 +2978,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Maxproperties0MeansTheObjectIsEmpty**](../../components/schema/Maxproperties0MeansTheObjectIsEmpty.md) | | +[**Maxproperties0MeansTheObjectIsEmpty**](../../components/schema/maxproperties0_means_the_object_is_empty.Maxproperties0MeansTheObjectIsEmpty.md) | | ### Return Types, Responses @@ -3010,7 +3010,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.maxproperties_validation import MaxpropertiesValidation +from unit_test_api.components.schema import maxproperties_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -3024,7 +3024,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = MaxpropertiesValidation(None) + body = maxproperties_validation.MaxpropertiesValidation(None) try: api_response = api_instance.post_maxproperties_validation_request_body( body=body, @@ -3047,7 +3047,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MaxpropertiesValidation**](../../components/schema/MaxpropertiesValidation.md) | | +[**MaxpropertiesValidation**](../../components/schema/maxproperties_validation.MaxpropertiesValidation.md) | | ### Return Types, Responses @@ -3079,7 +3079,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.minimum_validation import MinimumValidation +from unit_test_api.components.schema import minimum_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -3093,7 +3093,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = MinimumValidation(None) + body = minimum_validation.MinimumValidation(None) try: api_response = api_instance.post_minimum_validation_request_body( body=body, @@ -3116,7 +3116,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MinimumValidation**](../../components/schema/MinimumValidation.md) | | +[**MinimumValidation**](../../components/schema/minimum_validation.MinimumValidation.md) | | ### Return Types, Responses @@ -3148,7 +3148,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.minimum_validation_with_signed_integer import MinimumValidationWithSignedInteger +from unit_test_api.components.schema import minimum_validation_with_signed_integer from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -3162,7 +3162,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = MinimumValidationWithSignedInteger(None) + body = minimum_validation_with_signed_integer.MinimumValidationWithSignedInteger(None) try: api_response = api_instance.post_minimum_validation_with_signed_integer_request_body( body=body, @@ -3185,7 +3185,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MinimumValidationWithSignedInteger**](../../components/schema/MinimumValidationWithSignedInteger.md) | | +[**MinimumValidationWithSignedInteger**](../../components/schema/minimum_validation_with_signed_integer.MinimumValidationWithSignedInteger.md) | | ### Return Types, Responses @@ -3217,7 +3217,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.minitems_validation import MinitemsValidation +from unit_test_api.components.schema import minitems_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -3231,7 +3231,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = MinitemsValidation(None) + body = minitems_validation.MinitemsValidation(None) try: api_response = api_instance.post_minitems_validation_request_body( body=body, @@ -3254,7 +3254,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MinitemsValidation**](../../components/schema/MinitemsValidation.md) | | +[**MinitemsValidation**](../../components/schema/minitems_validation.MinitemsValidation.md) | | ### Return Types, Responses @@ -3286,7 +3286,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.minlength_validation import MinlengthValidation +from unit_test_api.components.schema import minlength_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -3300,7 +3300,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = MinlengthValidation(None) + body = minlength_validation.MinlengthValidation(None) try: api_response = api_instance.post_minlength_validation_request_body( body=body, @@ -3323,7 +3323,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MinlengthValidation**](../../components/schema/MinlengthValidation.md) | | +[**MinlengthValidation**](../../components/schema/minlength_validation.MinlengthValidation.md) | | ### Return Types, Responses @@ -3355,7 +3355,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.minproperties_validation import MinpropertiesValidation +from unit_test_api.components.schema import minproperties_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -3369,7 +3369,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = MinpropertiesValidation(None) + body = minproperties_validation.MinpropertiesValidation(None) try: api_response = api_instance.post_minproperties_validation_request_body( body=body, @@ -3392,7 +3392,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MinpropertiesValidation**](../../components/schema/MinpropertiesValidation.md) | | +[**MinpropertiesValidation**](../../components/schema/minproperties_validation.MinpropertiesValidation.md) | | ### Return Types, Responses @@ -3424,7 +3424,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.nested_allof_to_check_validation_semantics import NestedAllofToCheckValidationSemantics +from unit_test_api.components.schema import nested_allof_to_check_validation_semantics from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -3438,7 +3438,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = NestedAllofToCheckValidationSemantics(None) + body = nested_allof_to_check_validation_semantics.NestedAllofToCheckValidationSemantics(None) try: api_response = api_instance.post_nested_allof_to_check_validation_semantics_request_body( body=body, @@ -3461,7 +3461,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NestedAllofToCheckValidationSemantics**](../../components/schema/NestedAllofToCheckValidationSemantics.md) | | +[**NestedAllofToCheckValidationSemantics**](../../components/schema/nested_allof_to_check_validation_semantics.NestedAllofToCheckValidationSemantics.md) | | ### Return Types, Responses @@ -3493,7 +3493,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.nested_anyof_to_check_validation_semantics import NestedAnyofToCheckValidationSemantics +from unit_test_api.components.schema import nested_anyof_to_check_validation_semantics from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -3507,7 +3507,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = NestedAnyofToCheckValidationSemantics(None) + body = nested_anyof_to_check_validation_semantics.NestedAnyofToCheckValidationSemantics(None) try: api_response = api_instance.post_nested_anyof_to_check_validation_semantics_request_body( body=body, @@ -3530,7 +3530,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NestedAnyofToCheckValidationSemantics**](../../components/schema/NestedAnyofToCheckValidationSemantics.md) | | +[**NestedAnyofToCheckValidationSemantics**](../../components/schema/nested_anyof_to_check_validation_semantics.NestedAnyofToCheckValidationSemantics.md) | | ### Return Types, Responses @@ -3562,7 +3562,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.nested_items import NestedItems +from unit_test_api.components.schema import nested_items from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -3576,7 +3576,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = NestedItems([ + body = nested_items.NestedItems([ [ [ [ @@ -3607,7 +3607,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NestedItems**](../../components/schema/NestedItems.md) | | +[**NestedItems**](../../components/schema/nested_items.NestedItems.md) | | ### Return Types, Responses @@ -3639,7 +3639,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.nested_oneof_to_check_validation_semantics import NestedOneofToCheckValidationSemantics +from unit_test_api.components.schema import nested_oneof_to_check_validation_semantics from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -3653,7 +3653,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = NestedOneofToCheckValidationSemantics(None) + body = nested_oneof_to_check_validation_semantics.NestedOneofToCheckValidationSemantics(None) try: api_response = api_instance.post_nested_oneof_to_check_validation_semantics_request_body( body=body, @@ -3676,7 +3676,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NestedOneofToCheckValidationSemantics**](../../components/schema/NestedOneofToCheckValidationSemantics.md) | | +[**NestedOneofToCheckValidationSemantics**](../../components/schema/nested_oneof_to_check_validation_semantics.NestedOneofToCheckValidationSemantics.md) | | ### Return Types, Responses @@ -3708,7 +3708,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.not_more_complex_schema import NotMoreComplexSchema +from unit_test_api.components.schema import not_more_complex_schema from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -3722,7 +3722,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = NotMoreComplexSchema(None) + body = not_more_complex_schema.NotMoreComplexSchema(None) try: api_response = api_instance.post_not_more_complex_schema_request_body( body=body, @@ -3745,7 +3745,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NotMoreComplexSchema**](../../components/schema/NotMoreComplexSchema.md) | | +[**NotMoreComplexSchema**](../../components/schema/not_more_complex_schema.NotMoreComplexSchema.md) | | ### Return Types, Responses @@ -3777,7 +3777,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.model_not import ModelNot +from unit_test_api.components.schema import model_not from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -3791,7 +3791,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = ModelNot(None) + body = model_not.ModelNot(None) try: api_response = api_instance.post_not_request_body( body=body, @@ -3814,7 +3814,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ModelNot**](../../components/schema/ModelNot.md) | | +[**ModelNot**](../../components/schema/model_not.ModelNot.md) | | ### Return Types, Responses @@ -3846,7 +3846,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.nul_characters_in_strings import NulCharactersInStrings +from unit_test_api.components.schema import nul_characters_in_strings from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -3860,7 +3860,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = NulCharactersInStrings("hello\x00there") + body = nul_characters_in_strings.NulCharactersInStrings("hello\x00there") try: api_response = api_instance.post_nul_characters_in_strings_request_body( body=body, @@ -3883,7 +3883,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NulCharactersInStrings**](../../components/schema/NulCharactersInStrings.md) | | +[**NulCharactersInStrings**](../../components/schema/nul_characters_in_strings.NulCharactersInStrings.md) | | ### Return Types, Responses @@ -3915,7 +3915,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.null_type_matches_only_the_null_object import NullTypeMatchesOnlyTheNullObject +from unit_test_api.components.schema import null_type_matches_only_the_null_object from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -3929,7 +3929,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = NullTypeMatchesOnlyTheNullObject(None) + body = null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject(None) try: api_response = api_instance.post_null_type_matches_only_the_null_object_request_body( body=body, @@ -3952,7 +3952,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NullTypeMatchesOnlyTheNullObject**](../../components/schema/NullTypeMatchesOnlyTheNullObject.md) | | +[**NullTypeMatchesOnlyTheNullObject**](../../components/schema/null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject.md) | | ### Return Types, Responses @@ -3984,7 +3984,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.number_type_matches_numbers import NumberTypeMatchesNumbers +from unit_test_api.components.schema import number_type_matches_numbers from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -3998,7 +3998,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = NumberTypeMatchesNumbers(3.14) + body = number_type_matches_numbers.NumberTypeMatchesNumbers(3.14) try: api_response = api_instance.post_number_type_matches_numbers_request_body( body=body, @@ -4021,7 +4021,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NumberTypeMatchesNumbers**](../../components/schema/NumberTypeMatchesNumbers.md) | | +[**NumberTypeMatchesNumbers**](../../components/schema/number_type_matches_numbers.NumberTypeMatchesNumbers.md) | | ### Return Types, Responses @@ -4053,7 +4053,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.object_properties_validation import ObjectPropertiesValidation +from unit_test_api.components.schema import object_properties_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -4067,7 +4067,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = ObjectPropertiesValidation(None) + body = object_properties_validation.ObjectPropertiesValidation(None) try: api_response = api_instance.post_object_properties_validation_request_body( body=body, @@ -4090,7 +4090,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ObjectPropertiesValidation**](../../components/schema/ObjectPropertiesValidation.md) | | +[**ObjectPropertiesValidation**](../../components/schema/object_properties_validation.ObjectPropertiesValidation.md) | | ### Return Types, Responses @@ -4122,7 +4122,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.object_type_matches_objects import ObjectTypeMatchesObjects +from unit_test_api.components.schema import object_type_matches_objects from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -4136,7 +4136,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = ObjectTypeMatchesObjects() + body = object_type_matches_objects.ObjectTypeMatchesObjects() try: api_response = api_instance.post_object_type_matches_objects_request_body( body=body, @@ -4159,7 +4159,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ObjectTypeMatchesObjects**](../../components/schema/ObjectTypeMatchesObjects.md) | | +[**ObjectTypeMatchesObjects**](../../components/schema/object_type_matches_objects.ObjectTypeMatchesObjects.md) | | ### Return Types, Responses @@ -4191,7 +4191,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.oneof_complex_types import OneofComplexTypes +from unit_test_api.components.schema import oneof_complex_types from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -4205,7 +4205,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = OneofComplexTypes(None) + body = oneof_complex_types.OneofComplexTypes(None) try: api_response = api_instance.post_oneof_complex_types_request_body( body=body, @@ -4228,7 +4228,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**OneofComplexTypes**](../../components/schema/OneofComplexTypes.md) | | +[**OneofComplexTypes**](../../components/schema/oneof_complex_types.OneofComplexTypes.md) | | ### Return Types, Responses @@ -4260,7 +4260,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.oneof import Oneof +from unit_test_api.components.schema import oneof from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -4274,7 +4274,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = Oneof(None) + body = oneof.Oneof(None) try: api_response = api_instance.post_oneof_request_body( body=body, @@ -4297,7 +4297,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Oneof**](../../components/schema/Oneof.md) | | +[**Oneof**](../../components/schema/oneof.Oneof.md) | | ### Return Types, Responses @@ -4329,7 +4329,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.oneof_with_base_schema import OneofWithBaseSchema +from unit_test_api.components.schema import oneof_with_base_schema from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -4343,7 +4343,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = OneofWithBaseSchema("parameter_body_example") + body = oneof_with_base_schema.OneofWithBaseSchema("parameter_body_example") try: api_response = api_instance.post_oneof_with_base_schema_request_body( body=body, @@ -4366,7 +4366,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**OneofWithBaseSchema**](../../components/schema/OneofWithBaseSchema.md) | | +[**OneofWithBaseSchema**](../../components/schema/oneof_with_base_schema.OneofWithBaseSchema.md) | | ### Return Types, Responses @@ -4398,7 +4398,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.oneof_with_empty_schema import OneofWithEmptySchema +from unit_test_api.components.schema import oneof_with_empty_schema from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -4412,7 +4412,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = OneofWithEmptySchema(None) + body = oneof_with_empty_schema.OneofWithEmptySchema(None) try: api_response = api_instance.post_oneof_with_empty_schema_request_body( body=body, @@ -4435,7 +4435,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**OneofWithEmptySchema**](../../components/schema/OneofWithEmptySchema.md) | | +[**OneofWithEmptySchema**](../../components/schema/oneof_with_empty_schema.OneofWithEmptySchema.md) | | ### Return Types, Responses @@ -4467,7 +4467,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.oneof_with_required import OneofWithRequired +from unit_test_api.components.schema import oneof_with_required from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -4481,7 +4481,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = OneofWithRequired() + body = oneof_with_required.OneofWithRequired() try: api_response = api_instance.post_oneof_with_required_request_body( body=body, @@ -4504,7 +4504,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**OneofWithRequired**](../../components/schema/OneofWithRequired.md) | | +[**OneofWithRequired**](../../components/schema/oneof_with_required.OneofWithRequired.md) | | ### Return Types, Responses @@ -4536,7 +4536,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.pattern_is_not_anchored import PatternIsNotAnchored +from unit_test_api.components.schema import pattern_is_not_anchored from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -4550,7 +4550,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = PatternIsNotAnchored(None) + body = pattern_is_not_anchored.PatternIsNotAnchored(None) try: api_response = api_instance.post_pattern_is_not_anchored_request_body( body=body, @@ -4573,7 +4573,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**PatternIsNotAnchored**](../../components/schema/PatternIsNotAnchored.md) | | +[**PatternIsNotAnchored**](../../components/schema/pattern_is_not_anchored.PatternIsNotAnchored.md) | | ### Return Types, Responses @@ -4605,7 +4605,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.pattern_validation import PatternValidation +from unit_test_api.components.schema import pattern_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -4619,7 +4619,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = PatternValidation(None) + body = pattern_validation.PatternValidation(None) try: api_response = api_instance.post_pattern_validation_request_body( body=body, @@ -4642,7 +4642,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**PatternValidation**](../../components/schema/PatternValidation.md) | | +[**PatternValidation**](../../components/schema/pattern_validation.PatternValidation.md) | | ### Return Types, Responses @@ -4674,7 +4674,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.properties_with_escaped_characters import PropertiesWithEscapedCharacters +from unit_test_api.components.schema import properties_with_escaped_characters from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -4688,7 +4688,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = PropertiesWithEscapedCharacters(None) + body = properties_with_escaped_characters.PropertiesWithEscapedCharacters(None) try: api_response = api_instance.post_properties_with_escaped_characters_request_body( body=body, @@ -4711,7 +4711,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**PropertiesWithEscapedCharacters**](../../components/schema/PropertiesWithEscapedCharacters.md) | | +[**PropertiesWithEscapedCharacters**](../../components/schema/properties_with_escaped_characters.PropertiesWithEscapedCharacters.md) | | ### Return Types, Responses @@ -4743,7 +4743,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.property_named_ref_that_is_not_a_reference import PropertyNamedRefThatIsNotAReference +from unit_test_api.components.schema import property_named_ref_that_is_not_a_reference from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -4757,7 +4757,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = PropertyNamedRefThatIsNotAReference(None) + body = property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference(None) try: api_response = api_instance.post_property_named_ref_that_is_not_a_reference_request_body( body=body, @@ -4780,7 +4780,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**PropertyNamedRefThatIsNotAReference**](../../components/schema/PropertyNamedRefThatIsNotAReference.md) | | +[**PropertyNamedRefThatIsNotAReference**](../../components/schema/property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference.md) | | ### Return Types, Responses @@ -4812,7 +4812,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.ref_in_additionalproperties import RefInAdditionalproperties +from unit_test_api.components.schema import ref_in_additionalproperties from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -4826,8 +4826,8 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = RefInAdditionalproperties( - key=PropertyNamedRefThatIsNotAReference(None), + body = ref_in_additionalproperties.RefInAdditionalproperties( + key=property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference(None), ) try: api_response = api_instance.post_ref_in_additionalproperties_request_body( @@ -4851,7 +4851,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RefInAdditionalproperties**](../../components/schema/RefInAdditionalproperties.md) | | +[**RefInAdditionalproperties**](../../components/schema/ref_in_additionalproperties.RefInAdditionalproperties.md) | | ### Return Types, Responses @@ -4883,7 +4883,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.ref_in_allof import RefInAllof +from unit_test_api.components.schema import ref_in_allof from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -4897,7 +4897,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = RefInAllof(None) + body = ref_in_allof.RefInAllof(None) try: api_response = api_instance.post_ref_in_allof_request_body( body=body, @@ -4920,7 +4920,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RefInAllof**](../../components/schema/RefInAllof.md) | | +[**RefInAllof**](../../components/schema/ref_in_allof.RefInAllof.md) | | ### Return Types, Responses @@ -4952,7 +4952,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.ref_in_anyof import RefInAnyof +from unit_test_api.components.schema import ref_in_anyof from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -4966,7 +4966,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = RefInAnyof(None) + body = ref_in_anyof.RefInAnyof(None) try: api_response = api_instance.post_ref_in_anyof_request_body( body=body, @@ -4989,7 +4989,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RefInAnyof**](../../components/schema/RefInAnyof.md) | | +[**RefInAnyof**](../../components/schema/ref_in_anyof.RefInAnyof.md) | | ### Return Types, Responses @@ -5021,7 +5021,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.ref_in_items import RefInItems +from unit_test_api.components.schema import ref_in_items from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -5035,8 +5035,8 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = RefInItems([ - PropertyNamedRefThatIsNotAReference(None) + body = ref_in_items.RefInItems([ + property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference(None) ]) try: api_response = api_instance.post_ref_in_items_request_body( @@ -5060,7 +5060,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RefInItems**](../../components/schema/RefInItems.md) | | +[**RefInItems**](../../components/schema/ref_in_items.RefInItems.md) | | ### Return Types, Responses @@ -5092,7 +5092,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.ref_in_not import RefInNot +from unit_test_api.components.schema import ref_in_not from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -5106,7 +5106,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = RefInNot(None) + body = ref_in_not.RefInNot(None) try: api_response = api_instance.post_ref_in_not_request_body( body=body, @@ -5129,7 +5129,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RefInNot**](../../components/schema/RefInNot.md) | | +[**RefInNot**](../../components/schema/ref_in_not.RefInNot.md) | | ### Return Types, Responses @@ -5161,7 +5161,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.ref_in_oneof import RefInOneof +from unit_test_api.components.schema import ref_in_oneof from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -5175,7 +5175,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = RefInOneof(None) + body = ref_in_oneof.RefInOneof(None) try: api_response = api_instance.post_ref_in_oneof_request_body( body=body, @@ -5198,7 +5198,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RefInOneof**](../../components/schema/RefInOneof.md) | | +[**RefInOneof**](../../components/schema/ref_in_oneof.RefInOneof.md) | | ### Return Types, Responses @@ -5230,7 +5230,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.ref_in_property import RefInProperty +from unit_test_api.components.schema import ref_in_property from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -5244,7 +5244,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = RefInProperty(None) + body = ref_in_property.RefInProperty(None) try: api_response = api_instance.post_ref_in_property_request_body( body=body, @@ -5267,7 +5267,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RefInProperty**](../../components/schema/RefInProperty.md) | | +[**RefInProperty**](../../components/schema/ref_in_property.RefInProperty.md) | | ### Return Types, Responses @@ -5299,7 +5299,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.required_default_validation import RequiredDefaultValidation +from unit_test_api.components.schema import required_default_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -5313,7 +5313,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = RequiredDefaultValidation(None) + body = required_default_validation.RequiredDefaultValidation(None) try: api_response = api_instance.post_required_default_validation_request_body( body=body, @@ -5336,7 +5336,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RequiredDefaultValidation**](../../components/schema/RequiredDefaultValidation.md) | | +[**RequiredDefaultValidation**](../../components/schema/required_default_validation.RequiredDefaultValidation.md) | | ### Return Types, Responses @@ -5368,7 +5368,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.required_validation import RequiredValidation +from unit_test_api.components.schema import required_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -5382,7 +5382,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = RequiredValidation(None) + body = required_validation.RequiredValidation(None) try: api_response = api_instance.post_required_validation_request_body( body=body, @@ -5405,7 +5405,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RequiredValidation**](../../components/schema/RequiredValidation.md) | | +[**RequiredValidation**](../../components/schema/required_validation.RequiredValidation.md) | | ### Return Types, Responses @@ -5437,7 +5437,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.required_with_empty_array import RequiredWithEmptyArray +from unit_test_api.components.schema import required_with_empty_array from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -5451,7 +5451,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = RequiredWithEmptyArray(None) + body = required_with_empty_array.RequiredWithEmptyArray(None) try: api_response = api_instance.post_required_with_empty_array_request_body( body=body, @@ -5474,7 +5474,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RequiredWithEmptyArray**](../../components/schema/RequiredWithEmptyArray.md) | | +[**RequiredWithEmptyArray**](../../components/schema/required_with_empty_array.RequiredWithEmptyArray.md) | | ### Return Types, Responses @@ -5506,7 +5506,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.required_with_escaped_characters import RequiredWithEscapedCharacters +from unit_test_api.components.schema import required_with_escaped_characters from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -5520,7 +5520,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = RequiredWithEscapedCharacters(None) + body = required_with_escaped_characters.RequiredWithEscapedCharacters(None) try: api_response = api_instance.post_required_with_escaped_characters_request_body( body=body, @@ -5543,7 +5543,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RequiredWithEscapedCharacters**](../../components/schema/RequiredWithEscapedCharacters.md) | | +[**RequiredWithEscapedCharacters**](../../components/schema/required_with_escaped_characters.RequiredWithEscapedCharacters.md) | | ### Return Types, Responses @@ -5575,7 +5575,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.simple_enum_validation import SimpleEnumValidation +from unit_test_api.components.schema import simple_enum_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -5589,7 +5589,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = SimpleEnumValidation(1) + body = simple_enum_validation.SimpleEnumValidation(1) try: api_response = api_instance.post_simple_enum_validation_request_body( body=body, @@ -5612,7 +5612,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**SimpleEnumValidation**](../../components/schema/SimpleEnumValidation.md) | | +[**SimpleEnumValidation**](../../components/schema/simple_enum_validation.SimpleEnumValidation.md) | | ### Return Types, Responses @@ -5644,7 +5644,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.string_type_matches_strings import StringTypeMatchesStrings +from unit_test_api.components.schema import string_type_matches_strings from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -5658,7 +5658,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = StringTypeMatchesStrings("parameter_body_example") + body = string_type_matches_strings.StringTypeMatchesStrings("parameter_body_example") try: api_response = api_instance.post_string_type_matches_strings_request_body( body=body, @@ -5681,7 +5681,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**StringTypeMatchesStrings**](../../components/schema/StringTypeMatchesStrings.md) | | +[**StringTypeMatchesStrings**](../../components/schema/string_type_matches_strings.StringTypeMatchesStrings.md) | | ### Return Types, Responses @@ -5713,7 +5713,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.the_default_keyword_does_not_do_anything_if_the_property_is_missing import TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing +from unit_test_api.components.schema import the_default_keyword_does_not_do_anything_if_the_property_is_missing from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -5727,7 +5727,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing( + body = the_default_keyword_does_not_do_anything_if_the_property_is_missing.TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing( alpha=5, ) try: @@ -5752,7 +5752,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing**](../../components/schema/TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing.md) | | +[**TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing**](../../components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing.md) | | ### Return Types, Responses @@ -5784,7 +5784,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.uniqueitems_false_validation import UniqueitemsFalseValidation +from unit_test_api.components.schema import uniqueitems_false_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -5798,7 +5798,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = UniqueitemsFalseValidation(None) + body = uniqueitems_false_validation.UniqueitemsFalseValidation(None) try: api_response = api_instance.post_uniqueitems_false_validation_request_body( body=body, @@ -5821,7 +5821,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**UniqueitemsFalseValidation**](../../components/schema/UniqueitemsFalseValidation.md) | | +[**UniqueitemsFalseValidation**](../../components/schema/uniqueitems_false_validation.UniqueitemsFalseValidation.md) | | ### Return Types, Responses @@ -5853,7 +5853,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.uniqueitems_validation import UniqueitemsValidation +from unit_test_api.components.schema import uniqueitems_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -5867,7 +5867,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = UniqueitemsValidation(None) + body = uniqueitems_validation.UniqueitemsValidation(None) try: api_response = api_instance.post_uniqueitems_validation_request_body( body=body, @@ -5890,7 +5890,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**UniqueitemsValidation**](../../components/schema/UniqueitemsValidation.md) | | +[**UniqueitemsValidation**](../../components/schema/uniqueitems_validation.UniqueitemsValidation.md) | | ### Return Types, Responses @@ -5922,7 +5922,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.uri_format import UriFormat +from unit_test_api.components.schema import uri_format from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -5936,7 +5936,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = UriFormat(None) + body = uri_format.UriFormat(None) try: api_response = api_instance.post_uri_format_request_body( body=body, @@ -5959,7 +5959,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**UriFormat**](../../components/schema/UriFormat.md) | | +[**UriFormat**](../../components/schema/uri_format.UriFormat.md) | | ### Return Types, Responses @@ -5991,7 +5991,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.uri_reference_format import UriReferenceFormat +from unit_test_api.components.schema import uri_reference_format from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -6005,7 +6005,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = UriReferenceFormat(None) + body = uri_reference_format.UriReferenceFormat(None) try: api_response = api_instance.post_uri_reference_format_request_body( body=body, @@ -6028,7 +6028,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**UriReferenceFormat**](../../components/schema/UriReferenceFormat.md) | | +[**UriReferenceFormat**](../../components/schema/uri_reference_format.UriReferenceFormat.md) | | ### Return Types, Responses @@ -6060,7 +6060,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import operation_request_body_api -from unit_test_api.components.schema.uri_template_format import UriTemplateFormat +from unit_test_api.components.schema import uri_template_format from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -6074,7 +6074,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = operation_request_body_api.OperationRequestBodyApi(api_client) # example passing only required values which don't have defaults set - body = UriTemplateFormat(None) + body = uri_template_format.UriTemplateFormat(None) try: api_response = api_instance.post_uri_template_format_request_body( body=body, @@ -6097,7 +6097,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**UriTemplateFormat**](../../components/schema/UriTemplateFormat.md) | | +[**UriTemplateFormat**](../../components/schema/uri_template_format.UriTemplateFormat.md) | | ### Return Types, Responses diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/PathPostApi.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/PathPostApi.md index 1fc859f0fb7..a827ed695d2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/PathPostApi.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/PathPostApi.md @@ -189,7 +189,7 @@ Method | HTTP request | Description ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.additionalproperties_allows_a_schema_which_should_validate import AdditionalpropertiesAllowsASchemaWhichShouldValidate +from unit_test_api.components.schema import additionalproperties_allows_a_schema_which_should_validate from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -203,7 +203,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = AdditionalpropertiesAllowsASchemaWhichShouldValidate( + body = additionalproperties_allows_a_schema_which_should_validate.AdditionalpropertiesAllowsASchemaWhichShouldValidate( foo=None, bar=None, ) @@ -229,7 +229,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AdditionalpropertiesAllowsASchemaWhichShouldValidate**](../../components/schema/AdditionalpropertiesAllowsASchemaWhichShouldValidate.md) | | +[**AdditionalpropertiesAllowsASchemaWhichShouldValidate**](../../components/schema/additionalproperties_allows_a_schema_which_should_validate.AdditionalpropertiesAllowsASchemaWhichShouldValidate.md) | | ### Return Types, Responses @@ -300,7 +300,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AdditionalpropertiesAllowsASchemaWhichShouldValidate**](../../components/schema/AdditionalpropertiesAllowsASchemaWhichShouldValidate.md) | | +[**AdditionalpropertiesAllowsASchemaWhichShouldValidate**](../../components/schema/additionalproperties_allows_a_schema_which_should_validate.AdditionalpropertiesAllowsASchemaWhichShouldValidate.md) | | ### Authorization @@ -318,7 +318,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.additionalproperties_are_allowed_by_default import AdditionalpropertiesAreAllowedByDefault +from unit_test_api.components.schema import additionalproperties_are_allowed_by_default from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -332,7 +332,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = AdditionalpropertiesAreAllowedByDefault(None) + body = additionalproperties_are_allowed_by_default.AdditionalpropertiesAreAllowedByDefault(None) try: api_response = api_instance.post_additionalproperties_are_allowed_by_default_request_body( body=body, @@ -355,7 +355,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AdditionalpropertiesAreAllowedByDefault**](../../components/schema/AdditionalpropertiesAreAllowedByDefault.md) | | +[**AdditionalpropertiesAreAllowedByDefault**](../../components/schema/additionalproperties_are_allowed_by_default.AdditionalpropertiesAreAllowedByDefault.md) | | ### Return Types, Responses @@ -426,7 +426,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AdditionalpropertiesAreAllowedByDefault**](../../components/schema/AdditionalpropertiesAreAllowedByDefault.md) | | +[**AdditionalpropertiesAreAllowedByDefault**](../../components/schema/additionalproperties_are_allowed_by_default.AdditionalpropertiesAreAllowedByDefault.md) | | ### Authorization @@ -444,7 +444,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.additionalproperties_can_exist_by_itself import AdditionalpropertiesCanExistByItself +from unit_test_api.components.schema import additionalproperties_can_exist_by_itself from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -458,7 +458,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = AdditionalpropertiesCanExistByItself( + body = additionalproperties_can_exist_by_itself.AdditionalpropertiesCanExistByItself( key=True, ) try: @@ -483,7 +483,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AdditionalpropertiesCanExistByItself**](../../components/schema/AdditionalpropertiesCanExistByItself.md) | | +[**AdditionalpropertiesCanExistByItself**](../../components/schema/additionalproperties_can_exist_by_itself.AdditionalpropertiesCanExistByItself.md) | | ### Return Types, Responses @@ -554,7 +554,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AdditionalpropertiesCanExistByItself**](../../components/schema/AdditionalpropertiesCanExistByItself.md) | | +[**AdditionalpropertiesCanExistByItself**](../../components/schema/additionalproperties_can_exist_by_itself.AdditionalpropertiesCanExistByItself.md) | | ### Authorization @@ -572,7 +572,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.additionalproperties_should_not_look_in_applicators import AdditionalpropertiesShouldNotLookInApplicators +from unit_test_api.components.schema import additionalproperties_should_not_look_in_applicators from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -586,7 +586,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = AdditionalpropertiesShouldNotLookInApplicators(None) + body = additionalproperties_should_not_look_in_applicators.AdditionalpropertiesShouldNotLookInApplicators(None) try: api_response = api_instance.post_additionalproperties_should_not_look_in_applicators_request_body( body=body, @@ -609,7 +609,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AdditionalpropertiesShouldNotLookInApplicators**](../../components/schema/AdditionalpropertiesShouldNotLookInApplicators.md) | | +[**AdditionalpropertiesShouldNotLookInApplicators**](../../components/schema/additionalproperties_should_not_look_in_applicators.AdditionalpropertiesShouldNotLookInApplicators.md) | | ### Return Types, Responses @@ -680,7 +680,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AdditionalpropertiesShouldNotLookInApplicators**](../../components/schema/AdditionalpropertiesShouldNotLookInApplicators.md) | | +[**AdditionalpropertiesShouldNotLookInApplicators**](../../components/schema/additionalproperties_should_not_look_in_applicators.AdditionalpropertiesShouldNotLookInApplicators.md) | | ### Authorization @@ -698,7 +698,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.allof_combined_with_anyof_oneof import AllofCombinedWithAnyofOneof +from unit_test_api.components.schema import allof_combined_with_anyof_oneof from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -712,7 +712,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = AllofCombinedWithAnyofOneof(None) + body = allof_combined_with_anyof_oneof.AllofCombinedWithAnyofOneof(None) try: api_response = api_instance.post_allof_combined_with_anyof_oneof_request_body( body=body, @@ -735,7 +735,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AllofCombinedWithAnyofOneof**](../../components/schema/AllofCombinedWithAnyofOneof.md) | | +[**AllofCombinedWithAnyofOneof**](../../components/schema/allof_combined_with_anyof_oneof.AllofCombinedWithAnyofOneof.md) | | ### Return Types, Responses @@ -806,7 +806,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AllofCombinedWithAnyofOneof**](../../components/schema/AllofCombinedWithAnyofOneof.md) | | +[**AllofCombinedWithAnyofOneof**](../../components/schema/allof_combined_with_anyof_oneof.AllofCombinedWithAnyofOneof.md) | | ### Authorization @@ -824,7 +824,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.allof import Allof +from unit_test_api.components.schema import allof from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -838,7 +838,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = Allof(None) + body = allof.Allof(None) try: api_response = api_instance.post_allof_request_body( body=body, @@ -861,7 +861,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Allof**](../../components/schema/Allof.md) | | +[**Allof**](../../components/schema/allof.Allof.md) | | ### Return Types, Responses @@ -932,7 +932,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Allof**](../../components/schema/Allof.md) | | +[**Allof**](../../components/schema/allof.Allof.md) | | ### Authorization @@ -950,7 +950,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.allof_simple_types import AllofSimpleTypes +from unit_test_api.components.schema import allof_simple_types from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -964,7 +964,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = AllofSimpleTypes(None) + body = allof_simple_types.AllofSimpleTypes(None) try: api_response = api_instance.post_allof_simple_types_request_body( body=body, @@ -987,7 +987,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AllofSimpleTypes**](../../components/schema/AllofSimpleTypes.md) | | +[**AllofSimpleTypes**](../../components/schema/allof_simple_types.AllofSimpleTypes.md) | | ### Return Types, Responses @@ -1058,7 +1058,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AllofSimpleTypes**](../../components/schema/AllofSimpleTypes.md) | | +[**AllofSimpleTypes**](../../components/schema/allof_simple_types.AllofSimpleTypes.md) | | ### Authorization @@ -1076,7 +1076,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.allof_with_base_schema import AllofWithBaseSchema +from unit_test_api.components.schema import allof_with_base_schema from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -1090,7 +1090,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = AllofWithBaseSchema({}) + body = allof_with_base_schema.AllofWithBaseSchema({}) try: api_response = api_instance.post_allof_with_base_schema_request_body( body=body, @@ -1113,7 +1113,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AllofWithBaseSchema**](../../components/schema/AllofWithBaseSchema.md) | | +[**AllofWithBaseSchema**](../../components/schema/allof_with_base_schema.AllofWithBaseSchema.md) | | ### Return Types, Responses @@ -1184,7 +1184,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AllofWithBaseSchema**](../../components/schema/AllofWithBaseSchema.md) | | +[**AllofWithBaseSchema**](../../components/schema/allof_with_base_schema.AllofWithBaseSchema.md) | | ### Authorization @@ -1202,7 +1202,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.allof_with_one_empty_schema import AllofWithOneEmptySchema +from unit_test_api.components.schema import allof_with_one_empty_schema from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -1216,7 +1216,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = AllofWithOneEmptySchema(None) + body = allof_with_one_empty_schema.AllofWithOneEmptySchema(None) try: api_response = api_instance.post_allof_with_one_empty_schema_request_body( body=body, @@ -1239,7 +1239,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AllofWithOneEmptySchema**](../../components/schema/AllofWithOneEmptySchema.md) | | +[**AllofWithOneEmptySchema**](../../components/schema/allof_with_one_empty_schema.AllofWithOneEmptySchema.md) | | ### Return Types, Responses @@ -1310,7 +1310,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AllofWithOneEmptySchema**](../../components/schema/AllofWithOneEmptySchema.md) | | +[**AllofWithOneEmptySchema**](../../components/schema/allof_with_one_empty_schema.AllofWithOneEmptySchema.md) | | ### Authorization @@ -1328,7 +1328,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.allof_with_the_first_empty_schema import AllofWithTheFirstEmptySchema +from unit_test_api.components.schema import allof_with_the_first_empty_schema from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -1342,7 +1342,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = AllofWithTheFirstEmptySchema(None) + body = allof_with_the_first_empty_schema.AllofWithTheFirstEmptySchema(None) try: api_response = api_instance.post_allof_with_the_first_empty_schema_request_body( body=body, @@ -1365,7 +1365,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AllofWithTheFirstEmptySchema**](../../components/schema/AllofWithTheFirstEmptySchema.md) | | +[**AllofWithTheFirstEmptySchema**](../../components/schema/allof_with_the_first_empty_schema.AllofWithTheFirstEmptySchema.md) | | ### Return Types, Responses @@ -1436,7 +1436,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AllofWithTheFirstEmptySchema**](../../components/schema/AllofWithTheFirstEmptySchema.md) | | +[**AllofWithTheFirstEmptySchema**](../../components/schema/allof_with_the_first_empty_schema.AllofWithTheFirstEmptySchema.md) | | ### Authorization @@ -1454,7 +1454,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.allof_with_the_last_empty_schema import AllofWithTheLastEmptySchema +from unit_test_api.components.schema import allof_with_the_last_empty_schema from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -1468,7 +1468,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = AllofWithTheLastEmptySchema(None) + body = allof_with_the_last_empty_schema.AllofWithTheLastEmptySchema(None) try: api_response = api_instance.post_allof_with_the_last_empty_schema_request_body( body=body, @@ -1491,7 +1491,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AllofWithTheLastEmptySchema**](../../components/schema/AllofWithTheLastEmptySchema.md) | | +[**AllofWithTheLastEmptySchema**](../../components/schema/allof_with_the_last_empty_schema.AllofWithTheLastEmptySchema.md) | | ### Return Types, Responses @@ -1562,7 +1562,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AllofWithTheLastEmptySchema**](../../components/schema/AllofWithTheLastEmptySchema.md) | | +[**AllofWithTheLastEmptySchema**](../../components/schema/allof_with_the_last_empty_schema.AllofWithTheLastEmptySchema.md) | | ### Authorization @@ -1580,7 +1580,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.allof_with_two_empty_schemas import AllofWithTwoEmptySchemas +from unit_test_api.components.schema import allof_with_two_empty_schemas from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -1594,7 +1594,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = AllofWithTwoEmptySchemas(None) + body = allof_with_two_empty_schemas.AllofWithTwoEmptySchemas(None) try: api_response = api_instance.post_allof_with_two_empty_schemas_request_body( body=body, @@ -1617,7 +1617,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AllofWithTwoEmptySchemas**](../../components/schema/AllofWithTwoEmptySchemas.md) | | +[**AllofWithTwoEmptySchemas**](../../components/schema/allof_with_two_empty_schemas.AllofWithTwoEmptySchemas.md) | | ### Return Types, Responses @@ -1688,7 +1688,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AllofWithTwoEmptySchemas**](../../components/schema/AllofWithTwoEmptySchemas.md) | | +[**AllofWithTwoEmptySchemas**](../../components/schema/allof_with_two_empty_schemas.AllofWithTwoEmptySchemas.md) | | ### Authorization @@ -1706,7 +1706,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.anyof_complex_types import AnyofComplexTypes +from unit_test_api.components.schema import anyof_complex_types from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -1720,7 +1720,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = AnyofComplexTypes(None) + body = anyof_complex_types.AnyofComplexTypes(None) try: api_response = api_instance.post_anyof_complex_types_request_body( body=body, @@ -1743,7 +1743,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AnyofComplexTypes**](../../components/schema/AnyofComplexTypes.md) | | +[**AnyofComplexTypes**](../../components/schema/anyof_complex_types.AnyofComplexTypes.md) | | ### Return Types, Responses @@ -1814,7 +1814,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AnyofComplexTypes**](../../components/schema/AnyofComplexTypes.md) | | +[**AnyofComplexTypes**](../../components/schema/anyof_complex_types.AnyofComplexTypes.md) | | ### Authorization @@ -1832,7 +1832,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.anyof import Anyof +from unit_test_api.components.schema import anyof from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -1846,7 +1846,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = Anyof(None) + body = anyof.Anyof(None) try: api_response = api_instance.post_anyof_request_body( body=body, @@ -1869,7 +1869,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Anyof**](../../components/schema/Anyof.md) | | +[**Anyof**](../../components/schema/anyof.Anyof.md) | | ### Return Types, Responses @@ -1940,7 +1940,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Anyof**](../../components/schema/Anyof.md) | | +[**Anyof**](../../components/schema/anyof.Anyof.md) | | ### Authorization @@ -1958,7 +1958,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.anyof_with_base_schema import AnyofWithBaseSchema +from unit_test_api.components.schema import anyof_with_base_schema from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -1972,7 +1972,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = AnyofWithBaseSchema("parameter_body_example") + body = anyof_with_base_schema.AnyofWithBaseSchema("parameter_body_example") try: api_response = api_instance.post_anyof_with_base_schema_request_body( body=body, @@ -1995,7 +1995,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AnyofWithBaseSchema**](../../components/schema/AnyofWithBaseSchema.md) | | +[**AnyofWithBaseSchema**](../../components/schema/anyof_with_base_schema.AnyofWithBaseSchema.md) | | ### Return Types, Responses @@ -2066,7 +2066,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AnyofWithBaseSchema**](../../components/schema/AnyofWithBaseSchema.md) | | +[**AnyofWithBaseSchema**](../../components/schema/anyof_with_base_schema.AnyofWithBaseSchema.md) | | ### Authorization @@ -2084,7 +2084,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.anyof_with_one_empty_schema import AnyofWithOneEmptySchema +from unit_test_api.components.schema import anyof_with_one_empty_schema from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -2098,7 +2098,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = AnyofWithOneEmptySchema(None) + body = anyof_with_one_empty_schema.AnyofWithOneEmptySchema(None) try: api_response = api_instance.post_anyof_with_one_empty_schema_request_body( body=body, @@ -2121,7 +2121,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AnyofWithOneEmptySchema**](../../components/schema/AnyofWithOneEmptySchema.md) | | +[**AnyofWithOneEmptySchema**](../../components/schema/anyof_with_one_empty_schema.AnyofWithOneEmptySchema.md) | | ### Return Types, Responses @@ -2192,7 +2192,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AnyofWithOneEmptySchema**](../../components/schema/AnyofWithOneEmptySchema.md) | | +[**AnyofWithOneEmptySchema**](../../components/schema/anyof_with_one_empty_schema.AnyofWithOneEmptySchema.md) | | ### Authorization @@ -2210,7 +2210,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.array_type_matches_arrays import ArrayTypeMatchesArrays +from unit_test_api.components.schema import array_type_matches_arrays from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -2224,7 +2224,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = ArrayTypeMatchesArrays([ + body = array_type_matches_arrays.ArrayTypeMatchesArrays([ None ]) try: @@ -2249,7 +2249,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ArrayTypeMatchesArrays**](../../components/schema/ArrayTypeMatchesArrays.md) | | +[**ArrayTypeMatchesArrays**](../../components/schema/array_type_matches_arrays.ArrayTypeMatchesArrays.md) | | ### Return Types, Responses @@ -2320,7 +2320,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ArrayTypeMatchesArrays**](../../components/schema/ArrayTypeMatchesArrays.md) | | +[**ArrayTypeMatchesArrays**](../../components/schema/array_type_matches_arrays.ArrayTypeMatchesArrays.md) | | ### Authorization @@ -2338,7 +2338,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.boolean_type_matches_booleans import BooleanTypeMatchesBooleans +from unit_test_api.components.schema import boolean_type_matches_booleans from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -2352,7 +2352,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = BooleanTypeMatchesBooleans(True) + body = boolean_type_matches_booleans.BooleanTypeMatchesBooleans(True) try: api_response = api_instance.post_boolean_type_matches_booleans_request_body( body=body, @@ -2375,7 +2375,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**BooleanTypeMatchesBooleans**](../../components/schema/BooleanTypeMatchesBooleans.md) | | +[**BooleanTypeMatchesBooleans**](../../components/schema/boolean_type_matches_booleans.BooleanTypeMatchesBooleans.md) | | ### Return Types, Responses @@ -2446,7 +2446,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**BooleanTypeMatchesBooleans**](../../components/schema/BooleanTypeMatchesBooleans.md) | | +[**BooleanTypeMatchesBooleans**](../../components/schema/boolean_type_matches_booleans.BooleanTypeMatchesBooleans.md) | | ### Authorization @@ -2464,7 +2464,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.by_int import ByInt +from unit_test_api.components.schema import by_int from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -2478,7 +2478,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = ByInt(None) + body = by_int.ByInt(None) try: api_response = api_instance.post_by_int_request_body( body=body, @@ -2501,7 +2501,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ByInt**](../../components/schema/ByInt.md) | | +[**ByInt**](../../components/schema/by_int.ByInt.md) | | ### Return Types, Responses @@ -2572,7 +2572,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ByInt**](../../components/schema/ByInt.md) | | +[**ByInt**](../../components/schema/by_int.ByInt.md) | | ### Authorization @@ -2590,7 +2590,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.by_number import ByNumber +from unit_test_api.components.schema import by_number from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -2604,7 +2604,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = ByNumber(None) + body = by_number.ByNumber(None) try: api_response = api_instance.post_by_number_request_body( body=body, @@ -2627,7 +2627,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ByNumber**](../../components/schema/ByNumber.md) | | +[**ByNumber**](../../components/schema/by_number.ByNumber.md) | | ### Return Types, Responses @@ -2698,7 +2698,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ByNumber**](../../components/schema/ByNumber.md) | | +[**ByNumber**](../../components/schema/by_number.ByNumber.md) | | ### Authorization @@ -2716,7 +2716,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.by_small_number import BySmallNumber +from unit_test_api.components.schema import by_small_number from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -2730,7 +2730,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = BySmallNumber(None) + body = by_small_number.BySmallNumber(None) try: api_response = api_instance.post_by_small_number_request_body( body=body, @@ -2753,7 +2753,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**BySmallNumber**](../../components/schema/BySmallNumber.md) | | +[**BySmallNumber**](../../components/schema/by_small_number.BySmallNumber.md) | | ### Return Types, Responses @@ -2824,7 +2824,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**BySmallNumber**](../../components/schema/BySmallNumber.md) | | +[**BySmallNumber**](../../components/schema/by_small_number.BySmallNumber.md) | | ### Authorization @@ -2842,7 +2842,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.date_time_format import DateTimeFormat +from unit_test_api.components.schema import date_time_format from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -2856,7 +2856,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = DateTimeFormat(None) + body = date_time_format.DateTimeFormat(None) try: api_response = api_instance.post_date_time_format_request_body( body=body, @@ -2879,7 +2879,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**DateTimeFormat**](../../components/schema/DateTimeFormat.md) | | +[**DateTimeFormat**](../../components/schema/date_time_format.DateTimeFormat.md) | | ### Return Types, Responses @@ -2950,7 +2950,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**DateTimeFormat**](../../components/schema/DateTimeFormat.md) | | +[**DateTimeFormat**](../../components/schema/date_time_format.DateTimeFormat.md) | | ### Authorization @@ -2968,7 +2968,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.email_format import EmailFormat +from unit_test_api.components.schema import email_format from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -2982,7 +2982,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = EmailFormat(None) + body = email_format.EmailFormat(None) try: api_response = api_instance.post_email_format_request_body( body=body, @@ -3005,7 +3005,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**EmailFormat**](../../components/schema/EmailFormat.md) | | +[**EmailFormat**](../../components/schema/email_format.EmailFormat.md) | | ### Return Types, Responses @@ -3076,7 +3076,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**EmailFormat**](../../components/schema/EmailFormat.md) | | +[**EmailFormat**](../../components/schema/email_format.EmailFormat.md) | | ### Authorization @@ -3094,7 +3094,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.enum_with0_does_not_match_false import EnumWith0DoesNotMatchFalse +from unit_test_api.components.schema import enum_with0_does_not_match_false from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -3108,7 +3108,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = EnumWith0DoesNotMatchFalse(0) + body = enum_with0_does_not_match_false.EnumWith0DoesNotMatchFalse(0) try: api_response = api_instance.post_enum_with0_does_not_match_false_request_body( body=body, @@ -3131,7 +3131,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**EnumWith0DoesNotMatchFalse**](../../components/schema/EnumWith0DoesNotMatchFalse.md) | | +[**EnumWith0DoesNotMatchFalse**](../../components/schema/enum_with0_does_not_match_false.EnumWith0DoesNotMatchFalse.md) | | ### Return Types, Responses @@ -3202,7 +3202,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**EnumWith0DoesNotMatchFalse**](../../components/schema/EnumWith0DoesNotMatchFalse.md) | | +[**EnumWith0DoesNotMatchFalse**](../../components/schema/enum_with0_does_not_match_false.EnumWith0DoesNotMatchFalse.md) | | ### Authorization @@ -3220,7 +3220,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.enum_with1_does_not_match_true import EnumWith1DoesNotMatchTrue +from unit_test_api.components.schema import enum_with1_does_not_match_true from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -3234,7 +3234,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = EnumWith1DoesNotMatchTrue(1) + body = enum_with1_does_not_match_true.EnumWith1DoesNotMatchTrue(1) try: api_response = api_instance.post_enum_with1_does_not_match_true_request_body( body=body, @@ -3257,7 +3257,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**EnumWith1DoesNotMatchTrue**](../../components/schema/EnumWith1DoesNotMatchTrue.md) | | +[**EnumWith1DoesNotMatchTrue**](../../components/schema/enum_with1_does_not_match_true.EnumWith1DoesNotMatchTrue.md) | | ### Return Types, Responses @@ -3328,7 +3328,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**EnumWith1DoesNotMatchTrue**](../../components/schema/EnumWith1DoesNotMatchTrue.md) | | +[**EnumWith1DoesNotMatchTrue**](../../components/schema/enum_with1_does_not_match_true.EnumWith1DoesNotMatchTrue.md) | | ### Authorization @@ -3346,7 +3346,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.enum_with_escaped_characters import EnumWithEscapedCharacters +from unit_test_api.components.schema import enum_with_escaped_characters from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -3360,7 +3360,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = EnumWithEscapedCharacters("foo\nbar") + body = enum_with_escaped_characters.EnumWithEscapedCharacters("foo\nbar") try: api_response = api_instance.post_enum_with_escaped_characters_request_body( body=body, @@ -3383,7 +3383,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**EnumWithEscapedCharacters**](../../components/schema/EnumWithEscapedCharacters.md) | | +[**EnumWithEscapedCharacters**](../../components/schema/enum_with_escaped_characters.EnumWithEscapedCharacters.md) | | ### Return Types, Responses @@ -3454,7 +3454,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**EnumWithEscapedCharacters**](../../components/schema/EnumWithEscapedCharacters.md) | | +[**EnumWithEscapedCharacters**](../../components/schema/enum_with_escaped_characters.EnumWithEscapedCharacters.md) | | ### Authorization @@ -3472,7 +3472,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.enum_with_false_does_not_match0 import EnumWithFalseDoesNotMatch0 +from unit_test_api.components.schema import enum_with_false_does_not_match0 from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -3486,7 +3486,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = EnumWithFalseDoesNotMatch0(False) + body = enum_with_false_does_not_match0.EnumWithFalseDoesNotMatch0(False) try: api_response = api_instance.post_enum_with_false_does_not_match0_request_body( body=body, @@ -3509,7 +3509,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**EnumWithFalseDoesNotMatch0**](../../components/schema/EnumWithFalseDoesNotMatch0.md) | | +[**EnumWithFalseDoesNotMatch0**](../../components/schema/enum_with_false_does_not_match0.EnumWithFalseDoesNotMatch0.md) | | ### Return Types, Responses @@ -3580,7 +3580,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**EnumWithFalseDoesNotMatch0**](../../components/schema/EnumWithFalseDoesNotMatch0.md) | | +[**EnumWithFalseDoesNotMatch0**](../../components/schema/enum_with_false_does_not_match0.EnumWithFalseDoesNotMatch0.md) | | ### Authorization @@ -3598,7 +3598,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.enum_with_true_does_not_match1 import EnumWithTrueDoesNotMatch1 +from unit_test_api.components.schema import enum_with_true_does_not_match1 from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -3612,7 +3612,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = EnumWithTrueDoesNotMatch1(True) + body = enum_with_true_does_not_match1.EnumWithTrueDoesNotMatch1(True) try: api_response = api_instance.post_enum_with_true_does_not_match1_request_body( body=body, @@ -3635,7 +3635,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**EnumWithTrueDoesNotMatch1**](../../components/schema/EnumWithTrueDoesNotMatch1.md) | | +[**EnumWithTrueDoesNotMatch1**](../../components/schema/enum_with_true_does_not_match1.EnumWithTrueDoesNotMatch1.md) | | ### Return Types, Responses @@ -3706,7 +3706,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**EnumWithTrueDoesNotMatch1**](../../components/schema/EnumWithTrueDoesNotMatch1.md) | | +[**EnumWithTrueDoesNotMatch1**](../../components/schema/enum_with_true_does_not_match1.EnumWithTrueDoesNotMatch1.md) | | ### Authorization @@ -3724,7 +3724,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.enums_in_properties import EnumsInProperties +from unit_test_api.components.schema import enums_in_properties from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -3738,7 +3738,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = EnumsInProperties( + body = enums_in_properties.EnumsInProperties( foo="foo", bar="bar", ) @@ -3764,7 +3764,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**EnumsInProperties**](../../components/schema/EnumsInProperties.md) | | +[**EnumsInProperties**](../../components/schema/enums_in_properties.EnumsInProperties.md) | | ### Return Types, Responses @@ -3835,7 +3835,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**EnumsInProperties**](../../components/schema/EnumsInProperties.md) | | +[**EnumsInProperties**](../../components/schema/enums_in_properties.EnumsInProperties.md) | | ### Authorization @@ -3853,7 +3853,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.forbidden_property import ForbiddenProperty +from unit_test_api.components.schema import forbidden_property from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -3867,7 +3867,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = ForbiddenProperty(None) + body = forbidden_property.ForbiddenProperty(None) try: api_response = api_instance.post_forbidden_property_request_body( body=body, @@ -3890,7 +3890,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ForbiddenProperty**](../../components/schema/ForbiddenProperty.md) | | +[**ForbiddenProperty**](../../components/schema/forbidden_property.ForbiddenProperty.md) | | ### Return Types, Responses @@ -3961,7 +3961,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ForbiddenProperty**](../../components/schema/ForbiddenProperty.md) | | +[**ForbiddenProperty**](../../components/schema/forbidden_property.ForbiddenProperty.md) | | ### Authorization @@ -3979,7 +3979,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.hostname_format import HostnameFormat +from unit_test_api.components.schema import hostname_format from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -3993,7 +3993,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = HostnameFormat(None) + body = hostname_format.HostnameFormat(None) try: api_response = api_instance.post_hostname_format_request_body( body=body, @@ -4016,7 +4016,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**HostnameFormat**](../../components/schema/HostnameFormat.md) | | +[**HostnameFormat**](../../components/schema/hostname_format.HostnameFormat.md) | | ### Return Types, Responses @@ -4087,7 +4087,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**HostnameFormat**](../../components/schema/HostnameFormat.md) | | +[**HostnameFormat**](../../components/schema/hostname_format.HostnameFormat.md) | | ### Authorization @@ -4105,7 +4105,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.integer_type_matches_integers import IntegerTypeMatchesIntegers +from unit_test_api.components.schema import integer_type_matches_integers from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -4119,7 +4119,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = IntegerTypeMatchesIntegers(1) + body = integer_type_matches_integers.IntegerTypeMatchesIntegers(1) try: api_response = api_instance.post_integer_type_matches_integers_request_body( body=body, @@ -4142,7 +4142,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**IntegerTypeMatchesIntegers**](../../components/schema/IntegerTypeMatchesIntegers.md) | | +[**IntegerTypeMatchesIntegers**](../../components/schema/integer_type_matches_integers.IntegerTypeMatchesIntegers.md) | | ### Return Types, Responses @@ -4213,7 +4213,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**IntegerTypeMatchesIntegers**](../../components/schema/IntegerTypeMatchesIntegers.md) | | +[**IntegerTypeMatchesIntegers**](../../components/schema/integer_type_matches_integers.IntegerTypeMatchesIntegers.md) | | ### Authorization @@ -4231,7 +4231,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.invalid_instance_should_not_raise_error_when_float_division_inf import InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf +from unit_test_api.components.schema import invalid_instance_should_not_raise_error_when_float_division_inf from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -4245,7 +4245,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf(1) + body = invalid_instance_should_not_raise_error_when_float_division_inf.InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf(1) try: api_response = api_instance.post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body( body=body, @@ -4268,7 +4268,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf**](../../components/schema/InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf.md) | | +[**InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf**](../../components/schema/invalid_instance_should_not_raise_error_when_float_division_inf.InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf.md) | | ### Return Types, Responses @@ -4339,7 +4339,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf**](../../components/schema/InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf.md) | | +[**InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf**](../../components/schema/invalid_instance_should_not_raise_error_when_float_division_inf.InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf.md) | | ### Authorization @@ -4357,7 +4357,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.invalid_string_value_for_default import InvalidStringValueForDefault +from unit_test_api.components.schema import invalid_string_value_for_default from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -4371,7 +4371,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = InvalidStringValueForDefault(None) + body = invalid_string_value_for_default.InvalidStringValueForDefault(None) try: api_response = api_instance.post_invalid_string_value_for_default_request_body( body=body, @@ -4394,7 +4394,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**InvalidStringValueForDefault**](../../components/schema/InvalidStringValueForDefault.md) | | +[**InvalidStringValueForDefault**](../../components/schema/invalid_string_value_for_default.InvalidStringValueForDefault.md) | | ### Return Types, Responses @@ -4465,7 +4465,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**InvalidStringValueForDefault**](../../components/schema/InvalidStringValueForDefault.md) | | +[**InvalidStringValueForDefault**](../../components/schema/invalid_string_value_for_default.InvalidStringValueForDefault.md) | | ### Authorization @@ -4483,7 +4483,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.ipv4_format import Ipv4Format +from unit_test_api.components.schema import ipv4_format from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -4497,7 +4497,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = Ipv4Format(None) + body = ipv4_format.Ipv4Format(None) try: api_response = api_instance.post_ipv4_format_request_body( body=body, @@ -4520,7 +4520,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Ipv4Format**](../../components/schema/Ipv4Format.md) | | +[**Ipv4Format**](../../components/schema/ipv4_format.Ipv4Format.md) | | ### Return Types, Responses @@ -4591,7 +4591,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Ipv4Format**](../../components/schema/Ipv4Format.md) | | +[**Ipv4Format**](../../components/schema/ipv4_format.Ipv4Format.md) | | ### Authorization @@ -4609,7 +4609,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.ipv6_format import Ipv6Format +from unit_test_api.components.schema import ipv6_format from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -4623,7 +4623,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = Ipv6Format(None) + body = ipv6_format.Ipv6Format(None) try: api_response = api_instance.post_ipv6_format_request_body( body=body, @@ -4646,7 +4646,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Ipv6Format**](../../components/schema/Ipv6Format.md) | | +[**Ipv6Format**](../../components/schema/ipv6_format.Ipv6Format.md) | | ### Return Types, Responses @@ -4717,7 +4717,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Ipv6Format**](../../components/schema/Ipv6Format.md) | | +[**Ipv6Format**](../../components/schema/ipv6_format.Ipv6Format.md) | | ### Authorization @@ -4735,7 +4735,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.json_pointer_format import JsonPointerFormat +from unit_test_api.components.schema import json_pointer_format from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -4749,7 +4749,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = JsonPointerFormat(None) + body = json_pointer_format.JsonPointerFormat(None) try: api_response = api_instance.post_json_pointer_format_request_body( body=body, @@ -4772,7 +4772,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**JsonPointerFormat**](../../components/schema/JsonPointerFormat.md) | | +[**JsonPointerFormat**](../../components/schema/json_pointer_format.JsonPointerFormat.md) | | ### Return Types, Responses @@ -4843,7 +4843,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**JsonPointerFormat**](../../components/schema/JsonPointerFormat.md) | | +[**JsonPointerFormat**](../../components/schema/json_pointer_format.JsonPointerFormat.md) | | ### Authorization @@ -4861,7 +4861,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.maximum_validation import MaximumValidation +from unit_test_api.components.schema import maximum_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -4875,7 +4875,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = MaximumValidation(None) + body = maximum_validation.MaximumValidation(None) try: api_response = api_instance.post_maximum_validation_request_body( body=body, @@ -4898,7 +4898,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MaximumValidation**](../../components/schema/MaximumValidation.md) | | +[**MaximumValidation**](../../components/schema/maximum_validation.MaximumValidation.md) | | ### Return Types, Responses @@ -4969,7 +4969,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MaximumValidation**](../../components/schema/MaximumValidation.md) | | +[**MaximumValidation**](../../components/schema/maximum_validation.MaximumValidation.md) | | ### Authorization @@ -4987,7 +4987,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.maximum_validation_with_unsigned_integer import MaximumValidationWithUnsignedInteger +from unit_test_api.components.schema import maximum_validation_with_unsigned_integer from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -5001,7 +5001,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = MaximumValidationWithUnsignedInteger(None) + body = maximum_validation_with_unsigned_integer.MaximumValidationWithUnsignedInteger(None) try: api_response = api_instance.post_maximum_validation_with_unsigned_integer_request_body( body=body, @@ -5024,7 +5024,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MaximumValidationWithUnsignedInteger**](../../components/schema/MaximumValidationWithUnsignedInteger.md) | | +[**MaximumValidationWithUnsignedInteger**](../../components/schema/maximum_validation_with_unsigned_integer.MaximumValidationWithUnsignedInteger.md) | | ### Return Types, Responses @@ -5095,7 +5095,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MaximumValidationWithUnsignedInteger**](../../components/schema/MaximumValidationWithUnsignedInteger.md) | | +[**MaximumValidationWithUnsignedInteger**](../../components/schema/maximum_validation_with_unsigned_integer.MaximumValidationWithUnsignedInteger.md) | | ### Authorization @@ -5113,7 +5113,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.maxitems_validation import MaxitemsValidation +from unit_test_api.components.schema import maxitems_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -5127,7 +5127,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = MaxitemsValidation(None) + body = maxitems_validation.MaxitemsValidation(None) try: api_response = api_instance.post_maxitems_validation_request_body( body=body, @@ -5150,7 +5150,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MaxitemsValidation**](../../components/schema/MaxitemsValidation.md) | | +[**MaxitemsValidation**](../../components/schema/maxitems_validation.MaxitemsValidation.md) | | ### Return Types, Responses @@ -5221,7 +5221,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MaxitemsValidation**](../../components/schema/MaxitemsValidation.md) | | +[**MaxitemsValidation**](../../components/schema/maxitems_validation.MaxitemsValidation.md) | | ### Authorization @@ -5239,7 +5239,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.maxlength_validation import MaxlengthValidation +from unit_test_api.components.schema import maxlength_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -5253,7 +5253,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = MaxlengthValidation(None) + body = maxlength_validation.MaxlengthValidation(None) try: api_response = api_instance.post_maxlength_validation_request_body( body=body, @@ -5276,7 +5276,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MaxlengthValidation**](../../components/schema/MaxlengthValidation.md) | | +[**MaxlengthValidation**](../../components/schema/maxlength_validation.MaxlengthValidation.md) | | ### Return Types, Responses @@ -5347,7 +5347,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MaxlengthValidation**](../../components/schema/MaxlengthValidation.md) | | +[**MaxlengthValidation**](../../components/schema/maxlength_validation.MaxlengthValidation.md) | | ### Authorization @@ -5365,7 +5365,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.maxproperties0_means_the_object_is_empty import Maxproperties0MeansTheObjectIsEmpty +from unit_test_api.components.schema import maxproperties0_means_the_object_is_empty from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -5379,7 +5379,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = Maxproperties0MeansTheObjectIsEmpty(None) + body = maxproperties0_means_the_object_is_empty.Maxproperties0MeansTheObjectIsEmpty(None) try: api_response = api_instance.post_maxproperties0_means_the_object_is_empty_request_body( body=body, @@ -5402,7 +5402,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Maxproperties0MeansTheObjectIsEmpty**](../../components/schema/Maxproperties0MeansTheObjectIsEmpty.md) | | +[**Maxproperties0MeansTheObjectIsEmpty**](../../components/schema/maxproperties0_means_the_object_is_empty.Maxproperties0MeansTheObjectIsEmpty.md) | | ### Return Types, Responses @@ -5473,7 +5473,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Maxproperties0MeansTheObjectIsEmpty**](../../components/schema/Maxproperties0MeansTheObjectIsEmpty.md) | | +[**Maxproperties0MeansTheObjectIsEmpty**](../../components/schema/maxproperties0_means_the_object_is_empty.Maxproperties0MeansTheObjectIsEmpty.md) | | ### Authorization @@ -5491,7 +5491,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.maxproperties_validation import MaxpropertiesValidation +from unit_test_api.components.schema import maxproperties_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -5505,7 +5505,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = MaxpropertiesValidation(None) + body = maxproperties_validation.MaxpropertiesValidation(None) try: api_response = api_instance.post_maxproperties_validation_request_body( body=body, @@ -5528,7 +5528,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MaxpropertiesValidation**](../../components/schema/MaxpropertiesValidation.md) | | +[**MaxpropertiesValidation**](../../components/schema/maxproperties_validation.MaxpropertiesValidation.md) | | ### Return Types, Responses @@ -5599,7 +5599,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MaxpropertiesValidation**](../../components/schema/MaxpropertiesValidation.md) | | +[**MaxpropertiesValidation**](../../components/schema/maxproperties_validation.MaxpropertiesValidation.md) | | ### Authorization @@ -5617,7 +5617,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.minimum_validation import MinimumValidation +from unit_test_api.components.schema import minimum_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -5631,7 +5631,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = MinimumValidation(None) + body = minimum_validation.MinimumValidation(None) try: api_response = api_instance.post_minimum_validation_request_body( body=body, @@ -5654,7 +5654,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MinimumValidation**](../../components/schema/MinimumValidation.md) | | +[**MinimumValidation**](../../components/schema/minimum_validation.MinimumValidation.md) | | ### Return Types, Responses @@ -5725,7 +5725,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MinimumValidation**](../../components/schema/MinimumValidation.md) | | +[**MinimumValidation**](../../components/schema/minimum_validation.MinimumValidation.md) | | ### Authorization @@ -5743,7 +5743,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.minimum_validation_with_signed_integer import MinimumValidationWithSignedInteger +from unit_test_api.components.schema import minimum_validation_with_signed_integer from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -5757,7 +5757,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = MinimumValidationWithSignedInteger(None) + body = minimum_validation_with_signed_integer.MinimumValidationWithSignedInteger(None) try: api_response = api_instance.post_minimum_validation_with_signed_integer_request_body( body=body, @@ -5780,7 +5780,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MinimumValidationWithSignedInteger**](../../components/schema/MinimumValidationWithSignedInteger.md) | | +[**MinimumValidationWithSignedInteger**](../../components/schema/minimum_validation_with_signed_integer.MinimumValidationWithSignedInteger.md) | | ### Return Types, Responses @@ -5851,7 +5851,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MinimumValidationWithSignedInteger**](../../components/schema/MinimumValidationWithSignedInteger.md) | | +[**MinimumValidationWithSignedInteger**](../../components/schema/minimum_validation_with_signed_integer.MinimumValidationWithSignedInteger.md) | | ### Authorization @@ -5869,7 +5869,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.minitems_validation import MinitemsValidation +from unit_test_api.components.schema import minitems_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -5883,7 +5883,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = MinitemsValidation(None) + body = minitems_validation.MinitemsValidation(None) try: api_response = api_instance.post_minitems_validation_request_body( body=body, @@ -5906,7 +5906,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MinitemsValidation**](../../components/schema/MinitemsValidation.md) | | +[**MinitemsValidation**](../../components/schema/minitems_validation.MinitemsValidation.md) | | ### Return Types, Responses @@ -5977,7 +5977,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MinitemsValidation**](../../components/schema/MinitemsValidation.md) | | +[**MinitemsValidation**](../../components/schema/minitems_validation.MinitemsValidation.md) | | ### Authorization @@ -5995,7 +5995,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.minlength_validation import MinlengthValidation +from unit_test_api.components.schema import minlength_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -6009,7 +6009,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = MinlengthValidation(None) + body = minlength_validation.MinlengthValidation(None) try: api_response = api_instance.post_minlength_validation_request_body( body=body, @@ -6032,7 +6032,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MinlengthValidation**](../../components/schema/MinlengthValidation.md) | | +[**MinlengthValidation**](../../components/schema/minlength_validation.MinlengthValidation.md) | | ### Return Types, Responses @@ -6103,7 +6103,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MinlengthValidation**](../../components/schema/MinlengthValidation.md) | | +[**MinlengthValidation**](../../components/schema/minlength_validation.MinlengthValidation.md) | | ### Authorization @@ -6121,7 +6121,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.minproperties_validation import MinpropertiesValidation +from unit_test_api.components.schema import minproperties_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -6135,7 +6135,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = MinpropertiesValidation(None) + body = minproperties_validation.MinpropertiesValidation(None) try: api_response = api_instance.post_minproperties_validation_request_body( body=body, @@ -6158,7 +6158,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MinpropertiesValidation**](../../components/schema/MinpropertiesValidation.md) | | +[**MinpropertiesValidation**](../../components/schema/minproperties_validation.MinpropertiesValidation.md) | | ### Return Types, Responses @@ -6229,7 +6229,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MinpropertiesValidation**](../../components/schema/MinpropertiesValidation.md) | | +[**MinpropertiesValidation**](../../components/schema/minproperties_validation.MinpropertiesValidation.md) | | ### Authorization @@ -6247,7 +6247,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.nested_allof_to_check_validation_semantics import NestedAllofToCheckValidationSemantics +from unit_test_api.components.schema import nested_allof_to_check_validation_semantics from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -6261,7 +6261,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = NestedAllofToCheckValidationSemantics(None) + body = nested_allof_to_check_validation_semantics.NestedAllofToCheckValidationSemantics(None) try: api_response = api_instance.post_nested_allof_to_check_validation_semantics_request_body( body=body, @@ -6284,7 +6284,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NestedAllofToCheckValidationSemantics**](../../components/schema/NestedAllofToCheckValidationSemantics.md) | | +[**NestedAllofToCheckValidationSemantics**](../../components/schema/nested_allof_to_check_validation_semantics.NestedAllofToCheckValidationSemantics.md) | | ### Return Types, Responses @@ -6355,7 +6355,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NestedAllofToCheckValidationSemantics**](../../components/schema/NestedAllofToCheckValidationSemantics.md) | | +[**NestedAllofToCheckValidationSemantics**](../../components/schema/nested_allof_to_check_validation_semantics.NestedAllofToCheckValidationSemantics.md) | | ### Authorization @@ -6373,7 +6373,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.nested_anyof_to_check_validation_semantics import NestedAnyofToCheckValidationSemantics +from unit_test_api.components.schema import nested_anyof_to_check_validation_semantics from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -6387,7 +6387,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = NestedAnyofToCheckValidationSemantics(None) + body = nested_anyof_to_check_validation_semantics.NestedAnyofToCheckValidationSemantics(None) try: api_response = api_instance.post_nested_anyof_to_check_validation_semantics_request_body( body=body, @@ -6410,7 +6410,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NestedAnyofToCheckValidationSemantics**](../../components/schema/NestedAnyofToCheckValidationSemantics.md) | | +[**NestedAnyofToCheckValidationSemantics**](../../components/schema/nested_anyof_to_check_validation_semantics.NestedAnyofToCheckValidationSemantics.md) | | ### Return Types, Responses @@ -6481,7 +6481,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NestedAnyofToCheckValidationSemantics**](../../components/schema/NestedAnyofToCheckValidationSemantics.md) | | +[**NestedAnyofToCheckValidationSemantics**](../../components/schema/nested_anyof_to_check_validation_semantics.NestedAnyofToCheckValidationSemantics.md) | | ### Authorization @@ -6499,7 +6499,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.nested_items import NestedItems +from unit_test_api.components.schema import nested_items from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -6513,7 +6513,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = NestedItems([ + body = nested_items.NestedItems([ [ [ [ @@ -6544,7 +6544,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NestedItems**](../../components/schema/NestedItems.md) | | +[**NestedItems**](../../components/schema/nested_items.NestedItems.md) | | ### Return Types, Responses @@ -6615,7 +6615,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NestedItems**](../../components/schema/NestedItems.md) | | +[**NestedItems**](../../components/schema/nested_items.NestedItems.md) | | ### Authorization @@ -6633,7 +6633,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.nested_oneof_to_check_validation_semantics import NestedOneofToCheckValidationSemantics +from unit_test_api.components.schema import nested_oneof_to_check_validation_semantics from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -6647,7 +6647,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = NestedOneofToCheckValidationSemantics(None) + body = nested_oneof_to_check_validation_semantics.NestedOneofToCheckValidationSemantics(None) try: api_response = api_instance.post_nested_oneof_to_check_validation_semantics_request_body( body=body, @@ -6670,7 +6670,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NestedOneofToCheckValidationSemantics**](../../components/schema/NestedOneofToCheckValidationSemantics.md) | | +[**NestedOneofToCheckValidationSemantics**](../../components/schema/nested_oneof_to_check_validation_semantics.NestedOneofToCheckValidationSemantics.md) | | ### Return Types, Responses @@ -6741,7 +6741,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NestedOneofToCheckValidationSemantics**](../../components/schema/NestedOneofToCheckValidationSemantics.md) | | +[**NestedOneofToCheckValidationSemantics**](../../components/schema/nested_oneof_to_check_validation_semantics.NestedOneofToCheckValidationSemantics.md) | | ### Authorization @@ -6759,7 +6759,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.not_more_complex_schema import NotMoreComplexSchema +from unit_test_api.components.schema import not_more_complex_schema from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -6773,7 +6773,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = NotMoreComplexSchema(None) + body = not_more_complex_schema.NotMoreComplexSchema(None) try: api_response = api_instance.post_not_more_complex_schema_request_body( body=body, @@ -6796,7 +6796,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NotMoreComplexSchema**](../../components/schema/NotMoreComplexSchema.md) | | +[**NotMoreComplexSchema**](../../components/schema/not_more_complex_schema.NotMoreComplexSchema.md) | | ### Return Types, Responses @@ -6867,7 +6867,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NotMoreComplexSchema**](../../components/schema/NotMoreComplexSchema.md) | | +[**NotMoreComplexSchema**](../../components/schema/not_more_complex_schema.NotMoreComplexSchema.md) | | ### Authorization @@ -6885,7 +6885,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.model_not import ModelNot +from unit_test_api.components.schema import model_not from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -6899,7 +6899,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = ModelNot(None) + body = model_not.ModelNot(None) try: api_response = api_instance.post_not_request_body( body=body, @@ -6922,7 +6922,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ModelNot**](../../components/schema/ModelNot.md) | | +[**ModelNot**](../../components/schema/model_not.ModelNot.md) | | ### Return Types, Responses @@ -6993,7 +6993,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ModelNot**](../../components/schema/ModelNot.md) | | +[**ModelNot**](../../components/schema/model_not.ModelNot.md) | | ### Authorization @@ -7011,7 +7011,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.nul_characters_in_strings import NulCharactersInStrings +from unit_test_api.components.schema import nul_characters_in_strings from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -7025,7 +7025,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = NulCharactersInStrings("hello\x00there") + body = nul_characters_in_strings.NulCharactersInStrings("hello\x00there") try: api_response = api_instance.post_nul_characters_in_strings_request_body( body=body, @@ -7048,7 +7048,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NulCharactersInStrings**](../../components/schema/NulCharactersInStrings.md) | | +[**NulCharactersInStrings**](../../components/schema/nul_characters_in_strings.NulCharactersInStrings.md) | | ### Return Types, Responses @@ -7119,7 +7119,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NulCharactersInStrings**](../../components/schema/NulCharactersInStrings.md) | | +[**NulCharactersInStrings**](../../components/schema/nul_characters_in_strings.NulCharactersInStrings.md) | | ### Authorization @@ -7137,7 +7137,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.null_type_matches_only_the_null_object import NullTypeMatchesOnlyTheNullObject +from unit_test_api.components.schema import null_type_matches_only_the_null_object from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -7151,7 +7151,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = NullTypeMatchesOnlyTheNullObject(None) + body = null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject(None) try: api_response = api_instance.post_null_type_matches_only_the_null_object_request_body( body=body, @@ -7174,7 +7174,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NullTypeMatchesOnlyTheNullObject**](../../components/schema/NullTypeMatchesOnlyTheNullObject.md) | | +[**NullTypeMatchesOnlyTheNullObject**](../../components/schema/null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject.md) | | ### Return Types, Responses @@ -7245,7 +7245,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NullTypeMatchesOnlyTheNullObject**](../../components/schema/NullTypeMatchesOnlyTheNullObject.md) | | +[**NullTypeMatchesOnlyTheNullObject**](../../components/schema/null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject.md) | | ### Authorization @@ -7263,7 +7263,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.number_type_matches_numbers import NumberTypeMatchesNumbers +from unit_test_api.components.schema import number_type_matches_numbers from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -7277,7 +7277,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = NumberTypeMatchesNumbers(3.14) + body = number_type_matches_numbers.NumberTypeMatchesNumbers(3.14) try: api_response = api_instance.post_number_type_matches_numbers_request_body( body=body, @@ -7300,7 +7300,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NumberTypeMatchesNumbers**](../../components/schema/NumberTypeMatchesNumbers.md) | | +[**NumberTypeMatchesNumbers**](../../components/schema/number_type_matches_numbers.NumberTypeMatchesNumbers.md) | | ### Return Types, Responses @@ -7371,7 +7371,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NumberTypeMatchesNumbers**](../../components/schema/NumberTypeMatchesNumbers.md) | | +[**NumberTypeMatchesNumbers**](../../components/schema/number_type_matches_numbers.NumberTypeMatchesNumbers.md) | | ### Authorization @@ -7389,7 +7389,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.object_properties_validation import ObjectPropertiesValidation +from unit_test_api.components.schema import object_properties_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -7403,7 +7403,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = ObjectPropertiesValidation(None) + body = object_properties_validation.ObjectPropertiesValidation(None) try: api_response = api_instance.post_object_properties_validation_request_body( body=body, @@ -7426,7 +7426,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ObjectPropertiesValidation**](../../components/schema/ObjectPropertiesValidation.md) | | +[**ObjectPropertiesValidation**](../../components/schema/object_properties_validation.ObjectPropertiesValidation.md) | | ### Return Types, Responses @@ -7497,7 +7497,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ObjectPropertiesValidation**](../../components/schema/ObjectPropertiesValidation.md) | | +[**ObjectPropertiesValidation**](../../components/schema/object_properties_validation.ObjectPropertiesValidation.md) | | ### Authorization @@ -7515,7 +7515,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.object_type_matches_objects import ObjectTypeMatchesObjects +from unit_test_api.components.schema import object_type_matches_objects from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -7529,7 +7529,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = ObjectTypeMatchesObjects() + body = object_type_matches_objects.ObjectTypeMatchesObjects() try: api_response = api_instance.post_object_type_matches_objects_request_body( body=body, @@ -7552,7 +7552,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ObjectTypeMatchesObjects**](../../components/schema/ObjectTypeMatchesObjects.md) | | +[**ObjectTypeMatchesObjects**](../../components/schema/object_type_matches_objects.ObjectTypeMatchesObjects.md) | | ### Return Types, Responses @@ -7623,7 +7623,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ObjectTypeMatchesObjects**](../../components/schema/ObjectTypeMatchesObjects.md) | | +[**ObjectTypeMatchesObjects**](../../components/schema/object_type_matches_objects.ObjectTypeMatchesObjects.md) | | ### Authorization @@ -7641,7 +7641,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.oneof_complex_types import OneofComplexTypes +from unit_test_api.components.schema import oneof_complex_types from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -7655,7 +7655,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = OneofComplexTypes(None) + body = oneof_complex_types.OneofComplexTypes(None) try: api_response = api_instance.post_oneof_complex_types_request_body( body=body, @@ -7678,7 +7678,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**OneofComplexTypes**](../../components/schema/OneofComplexTypes.md) | | +[**OneofComplexTypes**](../../components/schema/oneof_complex_types.OneofComplexTypes.md) | | ### Return Types, Responses @@ -7749,7 +7749,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**OneofComplexTypes**](../../components/schema/OneofComplexTypes.md) | | +[**OneofComplexTypes**](../../components/schema/oneof_complex_types.OneofComplexTypes.md) | | ### Authorization @@ -7767,7 +7767,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.oneof import Oneof +from unit_test_api.components.schema import oneof from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -7781,7 +7781,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = Oneof(None) + body = oneof.Oneof(None) try: api_response = api_instance.post_oneof_request_body( body=body, @@ -7804,7 +7804,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Oneof**](../../components/schema/Oneof.md) | | +[**Oneof**](../../components/schema/oneof.Oneof.md) | | ### Return Types, Responses @@ -7875,7 +7875,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Oneof**](../../components/schema/Oneof.md) | | +[**Oneof**](../../components/schema/oneof.Oneof.md) | | ### Authorization @@ -7893,7 +7893,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.oneof_with_base_schema import OneofWithBaseSchema +from unit_test_api.components.schema import oneof_with_base_schema from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -7907,7 +7907,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = OneofWithBaseSchema("parameter_body_example") + body = oneof_with_base_schema.OneofWithBaseSchema("parameter_body_example") try: api_response = api_instance.post_oneof_with_base_schema_request_body( body=body, @@ -7930,7 +7930,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**OneofWithBaseSchema**](../../components/schema/OneofWithBaseSchema.md) | | +[**OneofWithBaseSchema**](../../components/schema/oneof_with_base_schema.OneofWithBaseSchema.md) | | ### Return Types, Responses @@ -8001,7 +8001,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**OneofWithBaseSchema**](../../components/schema/OneofWithBaseSchema.md) | | +[**OneofWithBaseSchema**](../../components/schema/oneof_with_base_schema.OneofWithBaseSchema.md) | | ### Authorization @@ -8019,7 +8019,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.oneof_with_empty_schema import OneofWithEmptySchema +from unit_test_api.components.schema import oneof_with_empty_schema from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -8033,7 +8033,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = OneofWithEmptySchema(None) + body = oneof_with_empty_schema.OneofWithEmptySchema(None) try: api_response = api_instance.post_oneof_with_empty_schema_request_body( body=body, @@ -8056,7 +8056,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**OneofWithEmptySchema**](../../components/schema/OneofWithEmptySchema.md) | | +[**OneofWithEmptySchema**](../../components/schema/oneof_with_empty_schema.OneofWithEmptySchema.md) | | ### Return Types, Responses @@ -8127,7 +8127,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**OneofWithEmptySchema**](../../components/schema/OneofWithEmptySchema.md) | | +[**OneofWithEmptySchema**](../../components/schema/oneof_with_empty_schema.OneofWithEmptySchema.md) | | ### Authorization @@ -8145,7 +8145,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.oneof_with_required import OneofWithRequired +from unit_test_api.components.schema import oneof_with_required from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -8159,7 +8159,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = OneofWithRequired() + body = oneof_with_required.OneofWithRequired() try: api_response = api_instance.post_oneof_with_required_request_body( body=body, @@ -8182,7 +8182,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**OneofWithRequired**](../../components/schema/OneofWithRequired.md) | | +[**OneofWithRequired**](../../components/schema/oneof_with_required.OneofWithRequired.md) | | ### Return Types, Responses @@ -8253,7 +8253,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**OneofWithRequired**](../../components/schema/OneofWithRequired.md) | | +[**OneofWithRequired**](../../components/schema/oneof_with_required.OneofWithRequired.md) | | ### Authorization @@ -8271,7 +8271,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.pattern_is_not_anchored import PatternIsNotAnchored +from unit_test_api.components.schema import pattern_is_not_anchored from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -8285,7 +8285,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = PatternIsNotAnchored(None) + body = pattern_is_not_anchored.PatternIsNotAnchored(None) try: api_response = api_instance.post_pattern_is_not_anchored_request_body( body=body, @@ -8308,7 +8308,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**PatternIsNotAnchored**](../../components/schema/PatternIsNotAnchored.md) | | +[**PatternIsNotAnchored**](../../components/schema/pattern_is_not_anchored.PatternIsNotAnchored.md) | | ### Return Types, Responses @@ -8379,7 +8379,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**PatternIsNotAnchored**](../../components/schema/PatternIsNotAnchored.md) | | +[**PatternIsNotAnchored**](../../components/schema/pattern_is_not_anchored.PatternIsNotAnchored.md) | | ### Authorization @@ -8397,7 +8397,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.pattern_validation import PatternValidation +from unit_test_api.components.schema import pattern_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -8411,7 +8411,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = PatternValidation(None) + body = pattern_validation.PatternValidation(None) try: api_response = api_instance.post_pattern_validation_request_body( body=body, @@ -8434,7 +8434,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**PatternValidation**](../../components/schema/PatternValidation.md) | | +[**PatternValidation**](../../components/schema/pattern_validation.PatternValidation.md) | | ### Return Types, Responses @@ -8505,7 +8505,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**PatternValidation**](../../components/schema/PatternValidation.md) | | +[**PatternValidation**](../../components/schema/pattern_validation.PatternValidation.md) | | ### Authorization @@ -8523,7 +8523,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.properties_with_escaped_characters import PropertiesWithEscapedCharacters +from unit_test_api.components.schema import properties_with_escaped_characters from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -8537,7 +8537,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = PropertiesWithEscapedCharacters(None) + body = properties_with_escaped_characters.PropertiesWithEscapedCharacters(None) try: api_response = api_instance.post_properties_with_escaped_characters_request_body( body=body, @@ -8560,7 +8560,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**PropertiesWithEscapedCharacters**](../../components/schema/PropertiesWithEscapedCharacters.md) | | +[**PropertiesWithEscapedCharacters**](../../components/schema/properties_with_escaped_characters.PropertiesWithEscapedCharacters.md) | | ### Return Types, Responses @@ -8631,7 +8631,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**PropertiesWithEscapedCharacters**](../../components/schema/PropertiesWithEscapedCharacters.md) | | +[**PropertiesWithEscapedCharacters**](../../components/schema/properties_with_escaped_characters.PropertiesWithEscapedCharacters.md) | | ### Authorization @@ -8649,7 +8649,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.property_named_ref_that_is_not_a_reference import PropertyNamedRefThatIsNotAReference +from unit_test_api.components.schema import property_named_ref_that_is_not_a_reference from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -8663,7 +8663,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = PropertyNamedRefThatIsNotAReference(None) + body = property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference(None) try: api_response = api_instance.post_property_named_ref_that_is_not_a_reference_request_body( body=body, @@ -8686,7 +8686,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**PropertyNamedRefThatIsNotAReference**](../../components/schema/PropertyNamedRefThatIsNotAReference.md) | | +[**PropertyNamedRefThatIsNotAReference**](../../components/schema/property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference.md) | | ### Return Types, Responses @@ -8757,7 +8757,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**PropertyNamedRefThatIsNotAReference**](../../components/schema/PropertyNamedRefThatIsNotAReference.md) | | +[**PropertyNamedRefThatIsNotAReference**](../../components/schema/property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference.md) | | ### Authorization @@ -8775,7 +8775,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.ref_in_additionalproperties import RefInAdditionalproperties +from unit_test_api.components.schema import ref_in_additionalproperties from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -8789,8 +8789,8 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = RefInAdditionalproperties( - key=PropertyNamedRefThatIsNotAReference(None), + body = ref_in_additionalproperties.RefInAdditionalproperties( + key=property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference(None), ) try: api_response = api_instance.post_ref_in_additionalproperties_request_body( @@ -8814,7 +8814,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RefInAdditionalproperties**](../../components/schema/RefInAdditionalproperties.md) | | +[**RefInAdditionalproperties**](../../components/schema/ref_in_additionalproperties.RefInAdditionalproperties.md) | | ### Return Types, Responses @@ -8885,7 +8885,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RefInAdditionalproperties**](../../components/schema/RefInAdditionalproperties.md) | | +[**RefInAdditionalproperties**](../../components/schema/ref_in_additionalproperties.RefInAdditionalproperties.md) | | ### Authorization @@ -8903,7 +8903,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.ref_in_allof import RefInAllof +from unit_test_api.components.schema import ref_in_allof from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -8917,7 +8917,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = RefInAllof(None) + body = ref_in_allof.RefInAllof(None) try: api_response = api_instance.post_ref_in_allof_request_body( body=body, @@ -8940,7 +8940,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RefInAllof**](../../components/schema/RefInAllof.md) | | +[**RefInAllof**](../../components/schema/ref_in_allof.RefInAllof.md) | | ### Return Types, Responses @@ -9011,7 +9011,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RefInAllof**](../../components/schema/RefInAllof.md) | | +[**RefInAllof**](../../components/schema/ref_in_allof.RefInAllof.md) | | ### Authorization @@ -9029,7 +9029,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.ref_in_anyof import RefInAnyof +from unit_test_api.components.schema import ref_in_anyof from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -9043,7 +9043,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = RefInAnyof(None) + body = ref_in_anyof.RefInAnyof(None) try: api_response = api_instance.post_ref_in_anyof_request_body( body=body, @@ -9066,7 +9066,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RefInAnyof**](../../components/schema/RefInAnyof.md) | | +[**RefInAnyof**](../../components/schema/ref_in_anyof.RefInAnyof.md) | | ### Return Types, Responses @@ -9137,7 +9137,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RefInAnyof**](../../components/schema/RefInAnyof.md) | | +[**RefInAnyof**](../../components/schema/ref_in_anyof.RefInAnyof.md) | | ### Authorization @@ -9155,7 +9155,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.ref_in_items import RefInItems +from unit_test_api.components.schema import ref_in_items from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -9169,8 +9169,8 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = RefInItems([ - PropertyNamedRefThatIsNotAReference(None) + body = ref_in_items.RefInItems([ + property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference(None) ]) try: api_response = api_instance.post_ref_in_items_request_body( @@ -9194,7 +9194,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RefInItems**](../../components/schema/RefInItems.md) | | +[**RefInItems**](../../components/schema/ref_in_items.RefInItems.md) | | ### Return Types, Responses @@ -9265,7 +9265,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RefInItems**](../../components/schema/RefInItems.md) | | +[**RefInItems**](../../components/schema/ref_in_items.RefInItems.md) | | ### Authorization @@ -9283,7 +9283,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.ref_in_not import RefInNot +from unit_test_api.components.schema import ref_in_not from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -9297,7 +9297,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = RefInNot(None) + body = ref_in_not.RefInNot(None) try: api_response = api_instance.post_ref_in_not_request_body( body=body, @@ -9320,7 +9320,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RefInNot**](../../components/schema/RefInNot.md) | | +[**RefInNot**](../../components/schema/ref_in_not.RefInNot.md) | | ### Return Types, Responses @@ -9391,7 +9391,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RefInNot**](../../components/schema/RefInNot.md) | | +[**RefInNot**](../../components/schema/ref_in_not.RefInNot.md) | | ### Authorization @@ -9409,7 +9409,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.ref_in_oneof import RefInOneof +from unit_test_api.components.schema import ref_in_oneof from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -9423,7 +9423,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = RefInOneof(None) + body = ref_in_oneof.RefInOneof(None) try: api_response = api_instance.post_ref_in_oneof_request_body( body=body, @@ -9446,7 +9446,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RefInOneof**](../../components/schema/RefInOneof.md) | | +[**RefInOneof**](../../components/schema/ref_in_oneof.RefInOneof.md) | | ### Return Types, Responses @@ -9517,7 +9517,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RefInOneof**](../../components/schema/RefInOneof.md) | | +[**RefInOneof**](../../components/schema/ref_in_oneof.RefInOneof.md) | | ### Authorization @@ -9535,7 +9535,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.ref_in_property import RefInProperty +from unit_test_api.components.schema import ref_in_property from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -9549,7 +9549,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = RefInProperty(None) + body = ref_in_property.RefInProperty(None) try: api_response = api_instance.post_ref_in_property_request_body( body=body, @@ -9572,7 +9572,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RefInProperty**](../../components/schema/RefInProperty.md) | | +[**RefInProperty**](../../components/schema/ref_in_property.RefInProperty.md) | | ### Return Types, Responses @@ -9643,7 +9643,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RefInProperty**](../../components/schema/RefInProperty.md) | | +[**RefInProperty**](../../components/schema/ref_in_property.RefInProperty.md) | | ### Authorization @@ -9661,7 +9661,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.required_default_validation import RequiredDefaultValidation +from unit_test_api.components.schema import required_default_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -9675,7 +9675,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = RequiredDefaultValidation(None) + body = required_default_validation.RequiredDefaultValidation(None) try: api_response = api_instance.post_required_default_validation_request_body( body=body, @@ -9698,7 +9698,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RequiredDefaultValidation**](../../components/schema/RequiredDefaultValidation.md) | | +[**RequiredDefaultValidation**](../../components/schema/required_default_validation.RequiredDefaultValidation.md) | | ### Return Types, Responses @@ -9769,7 +9769,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RequiredDefaultValidation**](../../components/schema/RequiredDefaultValidation.md) | | +[**RequiredDefaultValidation**](../../components/schema/required_default_validation.RequiredDefaultValidation.md) | | ### Authorization @@ -9787,7 +9787,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.required_validation import RequiredValidation +from unit_test_api.components.schema import required_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -9801,7 +9801,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = RequiredValidation(None) + body = required_validation.RequiredValidation(None) try: api_response = api_instance.post_required_validation_request_body( body=body, @@ -9824,7 +9824,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RequiredValidation**](../../components/schema/RequiredValidation.md) | | +[**RequiredValidation**](../../components/schema/required_validation.RequiredValidation.md) | | ### Return Types, Responses @@ -9895,7 +9895,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RequiredValidation**](../../components/schema/RequiredValidation.md) | | +[**RequiredValidation**](../../components/schema/required_validation.RequiredValidation.md) | | ### Authorization @@ -9913,7 +9913,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.required_with_empty_array import RequiredWithEmptyArray +from unit_test_api.components.schema import required_with_empty_array from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -9927,7 +9927,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = RequiredWithEmptyArray(None) + body = required_with_empty_array.RequiredWithEmptyArray(None) try: api_response = api_instance.post_required_with_empty_array_request_body( body=body, @@ -9950,7 +9950,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RequiredWithEmptyArray**](../../components/schema/RequiredWithEmptyArray.md) | | +[**RequiredWithEmptyArray**](../../components/schema/required_with_empty_array.RequiredWithEmptyArray.md) | | ### Return Types, Responses @@ -10021,7 +10021,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RequiredWithEmptyArray**](../../components/schema/RequiredWithEmptyArray.md) | | +[**RequiredWithEmptyArray**](../../components/schema/required_with_empty_array.RequiredWithEmptyArray.md) | | ### Authorization @@ -10039,7 +10039,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.required_with_escaped_characters import RequiredWithEscapedCharacters +from unit_test_api.components.schema import required_with_escaped_characters from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -10053,7 +10053,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = RequiredWithEscapedCharacters(None) + body = required_with_escaped_characters.RequiredWithEscapedCharacters(None) try: api_response = api_instance.post_required_with_escaped_characters_request_body( body=body, @@ -10076,7 +10076,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RequiredWithEscapedCharacters**](../../components/schema/RequiredWithEscapedCharacters.md) | | +[**RequiredWithEscapedCharacters**](../../components/schema/required_with_escaped_characters.RequiredWithEscapedCharacters.md) | | ### Return Types, Responses @@ -10147,7 +10147,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RequiredWithEscapedCharacters**](../../components/schema/RequiredWithEscapedCharacters.md) | | +[**RequiredWithEscapedCharacters**](../../components/schema/required_with_escaped_characters.RequiredWithEscapedCharacters.md) | | ### Authorization @@ -10165,7 +10165,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.simple_enum_validation import SimpleEnumValidation +from unit_test_api.components.schema import simple_enum_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -10179,7 +10179,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = SimpleEnumValidation(1) + body = simple_enum_validation.SimpleEnumValidation(1) try: api_response = api_instance.post_simple_enum_validation_request_body( body=body, @@ -10202,7 +10202,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**SimpleEnumValidation**](../../components/schema/SimpleEnumValidation.md) | | +[**SimpleEnumValidation**](../../components/schema/simple_enum_validation.SimpleEnumValidation.md) | | ### Return Types, Responses @@ -10273,7 +10273,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**SimpleEnumValidation**](../../components/schema/SimpleEnumValidation.md) | | +[**SimpleEnumValidation**](../../components/schema/simple_enum_validation.SimpleEnumValidation.md) | | ### Authorization @@ -10291,7 +10291,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.string_type_matches_strings import StringTypeMatchesStrings +from unit_test_api.components.schema import string_type_matches_strings from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -10305,7 +10305,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = StringTypeMatchesStrings("parameter_body_example") + body = string_type_matches_strings.StringTypeMatchesStrings("parameter_body_example") try: api_response = api_instance.post_string_type_matches_strings_request_body( body=body, @@ -10328,7 +10328,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**StringTypeMatchesStrings**](../../components/schema/StringTypeMatchesStrings.md) | | +[**StringTypeMatchesStrings**](../../components/schema/string_type_matches_strings.StringTypeMatchesStrings.md) | | ### Return Types, Responses @@ -10399,7 +10399,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**StringTypeMatchesStrings**](../../components/schema/StringTypeMatchesStrings.md) | | +[**StringTypeMatchesStrings**](../../components/schema/string_type_matches_strings.StringTypeMatchesStrings.md) | | ### Authorization @@ -10417,7 +10417,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.the_default_keyword_does_not_do_anything_if_the_property_is_missing import TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing +from unit_test_api.components.schema import the_default_keyword_does_not_do_anything_if_the_property_is_missing from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -10431,7 +10431,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing( + body = the_default_keyword_does_not_do_anything_if_the_property_is_missing.TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing( alpha=5, ) try: @@ -10456,7 +10456,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing**](../../components/schema/TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing.md) | | +[**TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing**](../../components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing.md) | | ### Return Types, Responses @@ -10527,7 +10527,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing**](../../components/schema/TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing.md) | | +[**TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing**](../../components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing.md) | | ### Authorization @@ -10545,7 +10545,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.uniqueitems_false_validation import UniqueitemsFalseValidation +from unit_test_api.components.schema import uniqueitems_false_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -10559,7 +10559,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = UniqueitemsFalseValidation(None) + body = uniqueitems_false_validation.UniqueitemsFalseValidation(None) try: api_response = api_instance.post_uniqueitems_false_validation_request_body( body=body, @@ -10582,7 +10582,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**UniqueitemsFalseValidation**](../../components/schema/UniqueitemsFalseValidation.md) | | +[**UniqueitemsFalseValidation**](../../components/schema/uniqueitems_false_validation.UniqueitemsFalseValidation.md) | | ### Return Types, Responses @@ -10653,7 +10653,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**UniqueitemsFalseValidation**](../../components/schema/UniqueitemsFalseValidation.md) | | +[**UniqueitemsFalseValidation**](../../components/schema/uniqueitems_false_validation.UniqueitemsFalseValidation.md) | | ### Authorization @@ -10671,7 +10671,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.uniqueitems_validation import UniqueitemsValidation +from unit_test_api.components.schema import uniqueitems_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -10685,7 +10685,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = UniqueitemsValidation(None) + body = uniqueitems_validation.UniqueitemsValidation(None) try: api_response = api_instance.post_uniqueitems_validation_request_body( body=body, @@ -10708,7 +10708,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**UniqueitemsValidation**](../../components/schema/UniqueitemsValidation.md) | | +[**UniqueitemsValidation**](../../components/schema/uniqueitems_validation.UniqueitemsValidation.md) | | ### Return Types, Responses @@ -10779,7 +10779,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**UniqueitemsValidation**](../../components/schema/UniqueitemsValidation.md) | | +[**UniqueitemsValidation**](../../components/schema/uniqueitems_validation.UniqueitemsValidation.md) | | ### Authorization @@ -10797,7 +10797,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.uri_format import UriFormat +from unit_test_api.components.schema import uri_format from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -10811,7 +10811,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = UriFormat(None) + body = uri_format.UriFormat(None) try: api_response = api_instance.post_uri_format_request_body( body=body, @@ -10834,7 +10834,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**UriFormat**](../../components/schema/UriFormat.md) | | +[**UriFormat**](../../components/schema/uri_format.UriFormat.md) | | ### Return Types, Responses @@ -10905,7 +10905,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**UriFormat**](../../components/schema/UriFormat.md) | | +[**UriFormat**](../../components/schema/uri_format.UriFormat.md) | | ### Authorization @@ -10923,7 +10923,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.uri_reference_format import UriReferenceFormat +from unit_test_api.components.schema import uri_reference_format from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -10937,7 +10937,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = UriReferenceFormat(None) + body = uri_reference_format.UriReferenceFormat(None) try: api_response = api_instance.post_uri_reference_format_request_body( body=body, @@ -10960,7 +10960,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**UriReferenceFormat**](../../components/schema/UriReferenceFormat.md) | | +[**UriReferenceFormat**](../../components/schema/uri_reference_format.UriReferenceFormat.md) | | ### Return Types, Responses @@ -11031,7 +11031,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**UriReferenceFormat**](../../components/schema/UriReferenceFormat.md) | | +[**UriReferenceFormat**](../../components/schema/uri_reference_format.UriReferenceFormat.md) | | ### Authorization @@ -11049,7 +11049,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import path_post_api -from unit_test_api.components.schema.uri_template_format import UriTemplateFormat +from unit_test_api.components.schema import uri_template_format from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -11063,7 +11063,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = path_post_api.PathPostApi(api_client) # example passing only required values which don't have defaults set - body = UriTemplateFormat(None) + body = uri_template_format.UriTemplateFormat(None) try: api_response = api_instance.post_uri_template_format_request_body( body=body, @@ -11086,7 +11086,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**UriTemplateFormat**](../../components/schema/UriTemplateFormat.md) | | +[**UriTemplateFormat**](../../components/schema/uri_template_format.UriTemplateFormat.md) | | ### Return Types, Responses @@ -11157,7 +11157,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**UriTemplateFormat**](../../components/schema/UriTemplateFormat.md) | | +[**UriTemplateFormat**](../../components/schema/uri_template_format.UriTemplateFormat.md) | | ### Authorization diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/PatternApi.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/PatternApi.md index c3814232df0..03b526f872e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/PatternApi.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/PatternApi.md @@ -19,7 +19,7 @@ Method | HTTP request | Description ```python import unit_test_api from unit_test_api.apis.tags import pattern_api -from unit_test_api.components.schema.pattern_is_not_anchored import PatternIsNotAnchored +from unit_test_api.components.schema import pattern_is_not_anchored from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -33,7 +33,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = pattern_api.PatternApi(api_client) # example passing only required values which don't have defaults set - body = PatternIsNotAnchored(None) + body = pattern_is_not_anchored.PatternIsNotAnchored(None) try: api_response = api_instance.post_pattern_is_not_anchored_request_body( body=body, @@ -56,7 +56,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**PatternIsNotAnchored**](../../components/schema/PatternIsNotAnchored.md) | | +[**PatternIsNotAnchored**](../../components/schema/pattern_is_not_anchored.PatternIsNotAnchored.md) | | ### Return Types, Responses @@ -127,7 +127,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**PatternIsNotAnchored**](../../components/schema/PatternIsNotAnchored.md) | | +[**PatternIsNotAnchored**](../../components/schema/pattern_is_not_anchored.PatternIsNotAnchored.md) | | ### Authorization @@ -145,7 +145,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import pattern_api -from unit_test_api.components.schema.pattern_validation import PatternValidation +from unit_test_api.components.schema import pattern_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -159,7 +159,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = pattern_api.PatternApi(api_client) # example passing only required values which don't have defaults set - body = PatternValidation(None) + body = pattern_validation.PatternValidation(None) try: api_response = api_instance.post_pattern_validation_request_body( body=body, @@ -182,7 +182,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**PatternValidation**](../../components/schema/PatternValidation.md) | | +[**PatternValidation**](../../components/schema/pattern_validation.PatternValidation.md) | | ### Return Types, Responses @@ -253,7 +253,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**PatternValidation**](../../components/schema/PatternValidation.md) | | +[**PatternValidation**](../../components/schema/pattern_validation.PatternValidation.md) | | ### Authorization diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/PropertiesApi.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/PropertiesApi.md index 4b431bebc6a..e79b78cb82e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/PropertiesApi.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/PropertiesApi.md @@ -19,7 +19,7 @@ Method | HTTP request | Description ```python import unit_test_api from unit_test_api.apis.tags import properties_api -from unit_test_api.components.schema.object_properties_validation import ObjectPropertiesValidation +from unit_test_api.components.schema import object_properties_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -33,7 +33,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = properties_api.PropertiesApi(api_client) # example passing only required values which don't have defaults set - body = ObjectPropertiesValidation(None) + body = object_properties_validation.ObjectPropertiesValidation(None) try: api_response = api_instance.post_object_properties_validation_request_body( body=body, @@ -56,7 +56,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ObjectPropertiesValidation**](../../components/schema/ObjectPropertiesValidation.md) | | +[**ObjectPropertiesValidation**](../../components/schema/object_properties_validation.ObjectPropertiesValidation.md) | | ### Return Types, Responses @@ -127,7 +127,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ObjectPropertiesValidation**](../../components/schema/ObjectPropertiesValidation.md) | | +[**ObjectPropertiesValidation**](../../components/schema/object_properties_validation.ObjectPropertiesValidation.md) | | ### Authorization @@ -145,7 +145,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import properties_api -from unit_test_api.components.schema.properties_with_escaped_characters import PropertiesWithEscapedCharacters +from unit_test_api.components.schema import properties_with_escaped_characters from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -159,7 +159,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = properties_api.PropertiesApi(api_client) # example passing only required values which don't have defaults set - body = PropertiesWithEscapedCharacters(None) + body = properties_with_escaped_characters.PropertiesWithEscapedCharacters(None) try: api_response = api_instance.post_properties_with_escaped_characters_request_body( body=body, @@ -182,7 +182,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**PropertiesWithEscapedCharacters**](../../components/schema/PropertiesWithEscapedCharacters.md) | | +[**PropertiesWithEscapedCharacters**](../../components/schema/properties_with_escaped_characters.PropertiesWithEscapedCharacters.md) | | ### Return Types, Responses @@ -253,7 +253,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**PropertiesWithEscapedCharacters**](../../components/schema/PropertiesWithEscapedCharacters.md) | | +[**PropertiesWithEscapedCharacters**](../../components/schema/properties_with_escaped_characters.PropertiesWithEscapedCharacters.md) | | ### Authorization diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/RefApi.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/RefApi.md index f99034c7238..9c140204f18 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/RefApi.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/RefApi.md @@ -31,7 +31,7 @@ Method | HTTP request | Description ```python import unit_test_api from unit_test_api.apis.tags import ref_api -from unit_test_api.components.schema.property_named_ref_that_is_not_a_reference import PropertyNamedRefThatIsNotAReference +from unit_test_api.components.schema import property_named_ref_that_is_not_a_reference from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -45,7 +45,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = ref_api.RefApi(api_client) # example passing only required values which don't have defaults set - body = PropertyNamedRefThatIsNotAReference(None) + body = property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference(None) try: api_response = api_instance.post_property_named_ref_that_is_not_a_reference_request_body( body=body, @@ -68,7 +68,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**PropertyNamedRefThatIsNotAReference**](../../components/schema/PropertyNamedRefThatIsNotAReference.md) | | +[**PropertyNamedRefThatIsNotAReference**](../../components/schema/property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference.md) | | ### Return Types, Responses @@ -139,7 +139,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**PropertyNamedRefThatIsNotAReference**](../../components/schema/PropertyNamedRefThatIsNotAReference.md) | | +[**PropertyNamedRefThatIsNotAReference**](../../components/schema/property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference.md) | | ### Authorization @@ -157,7 +157,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import ref_api -from unit_test_api.components.schema.ref_in_additionalproperties import RefInAdditionalproperties +from unit_test_api.components.schema import ref_in_additionalproperties from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -171,8 +171,8 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = ref_api.RefApi(api_client) # example passing only required values which don't have defaults set - body = RefInAdditionalproperties( - key=PropertyNamedRefThatIsNotAReference(None), + body = ref_in_additionalproperties.RefInAdditionalproperties( + key=property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference(None), ) try: api_response = api_instance.post_ref_in_additionalproperties_request_body( @@ -196,7 +196,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RefInAdditionalproperties**](../../components/schema/RefInAdditionalproperties.md) | | +[**RefInAdditionalproperties**](../../components/schema/ref_in_additionalproperties.RefInAdditionalproperties.md) | | ### Return Types, Responses @@ -267,7 +267,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RefInAdditionalproperties**](../../components/schema/RefInAdditionalproperties.md) | | +[**RefInAdditionalproperties**](../../components/schema/ref_in_additionalproperties.RefInAdditionalproperties.md) | | ### Authorization @@ -285,7 +285,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import ref_api -from unit_test_api.components.schema.ref_in_allof import RefInAllof +from unit_test_api.components.schema import ref_in_allof from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -299,7 +299,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = ref_api.RefApi(api_client) # example passing only required values which don't have defaults set - body = RefInAllof(None) + body = ref_in_allof.RefInAllof(None) try: api_response = api_instance.post_ref_in_allof_request_body( body=body, @@ -322,7 +322,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RefInAllof**](../../components/schema/RefInAllof.md) | | +[**RefInAllof**](../../components/schema/ref_in_allof.RefInAllof.md) | | ### Return Types, Responses @@ -393,7 +393,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RefInAllof**](../../components/schema/RefInAllof.md) | | +[**RefInAllof**](../../components/schema/ref_in_allof.RefInAllof.md) | | ### Authorization @@ -411,7 +411,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import ref_api -from unit_test_api.components.schema.ref_in_anyof import RefInAnyof +from unit_test_api.components.schema import ref_in_anyof from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -425,7 +425,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = ref_api.RefApi(api_client) # example passing only required values which don't have defaults set - body = RefInAnyof(None) + body = ref_in_anyof.RefInAnyof(None) try: api_response = api_instance.post_ref_in_anyof_request_body( body=body, @@ -448,7 +448,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RefInAnyof**](../../components/schema/RefInAnyof.md) | | +[**RefInAnyof**](../../components/schema/ref_in_anyof.RefInAnyof.md) | | ### Return Types, Responses @@ -519,7 +519,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RefInAnyof**](../../components/schema/RefInAnyof.md) | | +[**RefInAnyof**](../../components/schema/ref_in_anyof.RefInAnyof.md) | | ### Authorization @@ -537,7 +537,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import ref_api -from unit_test_api.components.schema.ref_in_items import RefInItems +from unit_test_api.components.schema import ref_in_items from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -551,8 +551,8 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = ref_api.RefApi(api_client) # example passing only required values which don't have defaults set - body = RefInItems([ - PropertyNamedRefThatIsNotAReference(None) + body = ref_in_items.RefInItems([ + property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference(None) ]) try: api_response = api_instance.post_ref_in_items_request_body( @@ -576,7 +576,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RefInItems**](../../components/schema/RefInItems.md) | | +[**RefInItems**](../../components/schema/ref_in_items.RefInItems.md) | | ### Return Types, Responses @@ -647,7 +647,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RefInItems**](../../components/schema/RefInItems.md) | | +[**RefInItems**](../../components/schema/ref_in_items.RefInItems.md) | | ### Authorization @@ -665,7 +665,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import ref_api -from unit_test_api.components.schema.ref_in_not import RefInNot +from unit_test_api.components.schema import ref_in_not from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -679,7 +679,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = ref_api.RefApi(api_client) # example passing only required values which don't have defaults set - body = RefInNot(None) + body = ref_in_not.RefInNot(None) try: api_response = api_instance.post_ref_in_not_request_body( body=body, @@ -702,7 +702,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RefInNot**](../../components/schema/RefInNot.md) | | +[**RefInNot**](../../components/schema/ref_in_not.RefInNot.md) | | ### Return Types, Responses @@ -773,7 +773,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RefInNot**](../../components/schema/RefInNot.md) | | +[**RefInNot**](../../components/schema/ref_in_not.RefInNot.md) | | ### Authorization @@ -791,7 +791,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import ref_api -from unit_test_api.components.schema.ref_in_oneof import RefInOneof +from unit_test_api.components.schema import ref_in_oneof from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -805,7 +805,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = ref_api.RefApi(api_client) # example passing only required values which don't have defaults set - body = RefInOneof(None) + body = ref_in_oneof.RefInOneof(None) try: api_response = api_instance.post_ref_in_oneof_request_body( body=body, @@ -828,7 +828,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RefInOneof**](../../components/schema/RefInOneof.md) | | +[**RefInOneof**](../../components/schema/ref_in_oneof.RefInOneof.md) | | ### Return Types, Responses @@ -899,7 +899,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RefInOneof**](../../components/schema/RefInOneof.md) | | +[**RefInOneof**](../../components/schema/ref_in_oneof.RefInOneof.md) | | ### Authorization @@ -917,7 +917,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import ref_api -from unit_test_api.components.schema.ref_in_property import RefInProperty +from unit_test_api.components.schema import ref_in_property from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -931,7 +931,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = ref_api.RefApi(api_client) # example passing only required values which don't have defaults set - body = RefInProperty(None) + body = ref_in_property.RefInProperty(None) try: api_response = api_instance.post_ref_in_property_request_body( body=body, @@ -954,7 +954,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RefInProperty**](../../components/schema/RefInProperty.md) | | +[**RefInProperty**](../../components/schema/ref_in_property.RefInProperty.md) | | ### Return Types, Responses @@ -1025,7 +1025,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RefInProperty**](../../components/schema/RefInProperty.md) | | +[**RefInProperty**](../../components/schema/ref_in_property.RefInProperty.md) | | ### Authorization diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/RequiredApi.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/RequiredApi.md index 23a880b1275..13500a4ff9b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/RequiredApi.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/RequiredApi.md @@ -23,7 +23,7 @@ Method | HTTP request | Description ```python import unit_test_api from unit_test_api.apis.tags import required_api -from unit_test_api.components.schema.required_default_validation import RequiredDefaultValidation +from unit_test_api.components.schema import required_default_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -37,7 +37,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = required_api.RequiredApi(api_client) # example passing only required values which don't have defaults set - body = RequiredDefaultValidation(None) + body = required_default_validation.RequiredDefaultValidation(None) try: api_response = api_instance.post_required_default_validation_request_body( body=body, @@ -60,7 +60,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RequiredDefaultValidation**](../../components/schema/RequiredDefaultValidation.md) | | +[**RequiredDefaultValidation**](../../components/schema/required_default_validation.RequiredDefaultValidation.md) | | ### Return Types, Responses @@ -131,7 +131,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RequiredDefaultValidation**](../../components/schema/RequiredDefaultValidation.md) | | +[**RequiredDefaultValidation**](../../components/schema/required_default_validation.RequiredDefaultValidation.md) | | ### Authorization @@ -149,7 +149,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import required_api -from unit_test_api.components.schema.required_validation import RequiredValidation +from unit_test_api.components.schema import required_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -163,7 +163,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = required_api.RequiredApi(api_client) # example passing only required values which don't have defaults set - body = RequiredValidation(None) + body = required_validation.RequiredValidation(None) try: api_response = api_instance.post_required_validation_request_body( body=body, @@ -186,7 +186,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RequiredValidation**](../../components/schema/RequiredValidation.md) | | +[**RequiredValidation**](../../components/schema/required_validation.RequiredValidation.md) | | ### Return Types, Responses @@ -257,7 +257,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RequiredValidation**](../../components/schema/RequiredValidation.md) | | +[**RequiredValidation**](../../components/schema/required_validation.RequiredValidation.md) | | ### Authorization @@ -275,7 +275,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import required_api -from unit_test_api.components.schema.required_with_empty_array import RequiredWithEmptyArray +from unit_test_api.components.schema import required_with_empty_array from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -289,7 +289,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = required_api.RequiredApi(api_client) # example passing only required values which don't have defaults set - body = RequiredWithEmptyArray(None) + body = required_with_empty_array.RequiredWithEmptyArray(None) try: api_response = api_instance.post_required_with_empty_array_request_body( body=body, @@ -312,7 +312,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RequiredWithEmptyArray**](../../components/schema/RequiredWithEmptyArray.md) | | +[**RequiredWithEmptyArray**](../../components/schema/required_with_empty_array.RequiredWithEmptyArray.md) | | ### Return Types, Responses @@ -383,7 +383,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RequiredWithEmptyArray**](../../components/schema/RequiredWithEmptyArray.md) | | +[**RequiredWithEmptyArray**](../../components/schema/required_with_empty_array.RequiredWithEmptyArray.md) | | ### Authorization @@ -401,7 +401,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import required_api -from unit_test_api.components.schema.required_with_escaped_characters import RequiredWithEscapedCharacters +from unit_test_api.components.schema import required_with_escaped_characters from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -415,7 +415,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = required_api.RequiredApi(api_client) # example passing only required values which don't have defaults set - body = RequiredWithEscapedCharacters(None) + body = required_with_escaped_characters.RequiredWithEscapedCharacters(None) try: api_response = api_instance.post_required_with_escaped_characters_request_body( body=body, @@ -438,7 +438,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RequiredWithEscapedCharacters**](../../components/schema/RequiredWithEscapedCharacters.md) | | +[**RequiredWithEscapedCharacters**](../../components/schema/required_with_escaped_characters.RequiredWithEscapedCharacters.md) | | ### Return Types, Responses @@ -509,7 +509,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RequiredWithEscapedCharacters**](../../components/schema/RequiredWithEscapedCharacters.md) | | +[**RequiredWithEscapedCharacters**](../../components/schema/required_with_escaped_characters.RequiredWithEscapedCharacters.md) | | ### Authorization diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ResponseContentContentTypeSchemaApi.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ResponseContentContentTypeSchemaApi.md index d2348632a72..296dcfe9b66 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ResponseContentContentTypeSchemaApi.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/ResponseContentContentTypeSchemaApi.md @@ -141,7 +141,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AdditionalpropertiesAllowsASchemaWhichShouldValidate**](../../components/schema/AdditionalpropertiesAllowsASchemaWhichShouldValidate.md) | | +[**AdditionalpropertiesAllowsASchemaWhichShouldValidate**](../../components/schema/additionalproperties_allows_a_schema_which_should_validate.AdditionalpropertiesAllowsASchemaWhichShouldValidate.md) | | ### Authorization @@ -198,7 +198,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AdditionalpropertiesAreAllowedByDefault**](../../components/schema/AdditionalpropertiesAreAllowedByDefault.md) | | +[**AdditionalpropertiesAreAllowedByDefault**](../../components/schema/additionalproperties_are_allowed_by_default.AdditionalpropertiesAreAllowedByDefault.md) | | ### Authorization @@ -255,7 +255,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AdditionalpropertiesCanExistByItself**](../../components/schema/AdditionalpropertiesCanExistByItself.md) | | +[**AdditionalpropertiesCanExistByItself**](../../components/schema/additionalproperties_can_exist_by_itself.AdditionalpropertiesCanExistByItself.md) | | ### Authorization @@ -312,7 +312,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AdditionalpropertiesShouldNotLookInApplicators**](../../components/schema/AdditionalpropertiesShouldNotLookInApplicators.md) | | +[**AdditionalpropertiesShouldNotLookInApplicators**](../../components/schema/additionalproperties_should_not_look_in_applicators.AdditionalpropertiesShouldNotLookInApplicators.md) | | ### Authorization @@ -369,7 +369,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AllofCombinedWithAnyofOneof**](../../components/schema/AllofCombinedWithAnyofOneof.md) | | +[**AllofCombinedWithAnyofOneof**](../../components/schema/allof_combined_with_anyof_oneof.AllofCombinedWithAnyofOneof.md) | | ### Authorization @@ -426,7 +426,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Allof**](../../components/schema/Allof.md) | | +[**Allof**](../../components/schema/allof.Allof.md) | | ### Authorization @@ -483,7 +483,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AllofSimpleTypes**](../../components/schema/AllofSimpleTypes.md) | | +[**AllofSimpleTypes**](../../components/schema/allof_simple_types.AllofSimpleTypes.md) | | ### Authorization @@ -540,7 +540,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AllofWithBaseSchema**](../../components/schema/AllofWithBaseSchema.md) | | +[**AllofWithBaseSchema**](../../components/schema/allof_with_base_schema.AllofWithBaseSchema.md) | | ### Authorization @@ -597,7 +597,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AllofWithOneEmptySchema**](../../components/schema/AllofWithOneEmptySchema.md) | | +[**AllofWithOneEmptySchema**](../../components/schema/allof_with_one_empty_schema.AllofWithOneEmptySchema.md) | | ### Authorization @@ -654,7 +654,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AllofWithTheFirstEmptySchema**](../../components/schema/AllofWithTheFirstEmptySchema.md) | | +[**AllofWithTheFirstEmptySchema**](../../components/schema/allof_with_the_first_empty_schema.AllofWithTheFirstEmptySchema.md) | | ### Authorization @@ -711,7 +711,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AllofWithTheLastEmptySchema**](../../components/schema/AllofWithTheLastEmptySchema.md) | | +[**AllofWithTheLastEmptySchema**](../../components/schema/allof_with_the_last_empty_schema.AllofWithTheLastEmptySchema.md) | | ### Authorization @@ -768,7 +768,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AllofWithTwoEmptySchemas**](../../components/schema/AllofWithTwoEmptySchemas.md) | | +[**AllofWithTwoEmptySchemas**](../../components/schema/allof_with_two_empty_schemas.AllofWithTwoEmptySchemas.md) | | ### Authorization @@ -825,7 +825,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AnyofComplexTypes**](../../components/schema/AnyofComplexTypes.md) | | +[**AnyofComplexTypes**](../../components/schema/anyof_complex_types.AnyofComplexTypes.md) | | ### Authorization @@ -882,7 +882,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Anyof**](../../components/schema/Anyof.md) | | +[**Anyof**](../../components/schema/anyof.Anyof.md) | | ### Authorization @@ -939,7 +939,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AnyofWithBaseSchema**](../../components/schema/AnyofWithBaseSchema.md) | | +[**AnyofWithBaseSchema**](../../components/schema/anyof_with_base_schema.AnyofWithBaseSchema.md) | | ### Authorization @@ -996,7 +996,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AnyofWithOneEmptySchema**](../../components/schema/AnyofWithOneEmptySchema.md) | | +[**AnyofWithOneEmptySchema**](../../components/schema/anyof_with_one_empty_schema.AnyofWithOneEmptySchema.md) | | ### Authorization @@ -1053,7 +1053,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ArrayTypeMatchesArrays**](../../components/schema/ArrayTypeMatchesArrays.md) | | +[**ArrayTypeMatchesArrays**](../../components/schema/array_type_matches_arrays.ArrayTypeMatchesArrays.md) | | ### Authorization @@ -1110,7 +1110,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**BooleanTypeMatchesBooleans**](../../components/schema/BooleanTypeMatchesBooleans.md) | | +[**BooleanTypeMatchesBooleans**](../../components/schema/boolean_type_matches_booleans.BooleanTypeMatchesBooleans.md) | | ### Authorization @@ -1167,7 +1167,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ByInt**](../../components/schema/ByInt.md) | | +[**ByInt**](../../components/schema/by_int.ByInt.md) | | ### Authorization @@ -1224,7 +1224,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ByNumber**](../../components/schema/ByNumber.md) | | +[**ByNumber**](../../components/schema/by_number.ByNumber.md) | | ### Authorization @@ -1281,7 +1281,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**BySmallNumber**](../../components/schema/BySmallNumber.md) | | +[**BySmallNumber**](../../components/schema/by_small_number.BySmallNumber.md) | | ### Authorization @@ -1338,7 +1338,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**DateTimeFormat**](../../components/schema/DateTimeFormat.md) | | +[**DateTimeFormat**](../../components/schema/date_time_format.DateTimeFormat.md) | | ### Authorization @@ -1395,7 +1395,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**EmailFormat**](../../components/schema/EmailFormat.md) | | +[**EmailFormat**](../../components/schema/email_format.EmailFormat.md) | | ### Authorization @@ -1452,7 +1452,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**EnumWith0DoesNotMatchFalse**](../../components/schema/EnumWith0DoesNotMatchFalse.md) | | +[**EnumWith0DoesNotMatchFalse**](../../components/schema/enum_with0_does_not_match_false.EnumWith0DoesNotMatchFalse.md) | | ### Authorization @@ -1509,7 +1509,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**EnumWith1DoesNotMatchTrue**](../../components/schema/EnumWith1DoesNotMatchTrue.md) | | +[**EnumWith1DoesNotMatchTrue**](../../components/schema/enum_with1_does_not_match_true.EnumWith1DoesNotMatchTrue.md) | | ### Authorization @@ -1566,7 +1566,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**EnumWithEscapedCharacters**](../../components/schema/EnumWithEscapedCharacters.md) | | +[**EnumWithEscapedCharacters**](../../components/schema/enum_with_escaped_characters.EnumWithEscapedCharacters.md) | | ### Authorization @@ -1623,7 +1623,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**EnumWithFalseDoesNotMatch0**](../../components/schema/EnumWithFalseDoesNotMatch0.md) | | +[**EnumWithFalseDoesNotMatch0**](../../components/schema/enum_with_false_does_not_match0.EnumWithFalseDoesNotMatch0.md) | | ### Authorization @@ -1680,7 +1680,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**EnumWithTrueDoesNotMatch1**](../../components/schema/EnumWithTrueDoesNotMatch1.md) | | +[**EnumWithTrueDoesNotMatch1**](../../components/schema/enum_with_true_does_not_match1.EnumWithTrueDoesNotMatch1.md) | | ### Authorization @@ -1737,7 +1737,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**EnumsInProperties**](../../components/schema/EnumsInProperties.md) | | +[**EnumsInProperties**](../../components/schema/enums_in_properties.EnumsInProperties.md) | | ### Authorization @@ -1794,7 +1794,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ForbiddenProperty**](../../components/schema/ForbiddenProperty.md) | | +[**ForbiddenProperty**](../../components/schema/forbidden_property.ForbiddenProperty.md) | | ### Authorization @@ -1851,7 +1851,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**HostnameFormat**](../../components/schema/HostnameFormat.md) | | +[**HostnameFormat**](../../components/schema/hostname_format.HostnameFormat.md) | | ### Authorization @@ -1908,7 +1908,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**IntegerTypeMatchesIntegers**](../../components/schema/IntegerTypeMatchesIntegers.md) | | +[**IntegerTypeMatchesIntegers**](../../components/schema/integer_type_matches_integers.IntegerTypeMatchesIntegers.md) | | ### Authorization @@ -1965,7 +1965,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf**](../../components/schema/InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf.md) | | +[**InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf**](../../components/schema/invalid_instance_should_not_raise_error_when_float_division_inf.InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf.md) | | ### Authorization @@ -2022,7 +2022,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**InvalidStringValueForDefault**](../../components/schema/InvalidStringValueForDefault.md) | | +[**InvalidStringValueForDefault**](../../components/schema/invalid_string_value_for_default.InvalidStringValueForDefault.md) | | ### Authorization @@ -2079,7 +2079,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Ipv4Format**](../../components/schema/Ipv4Format.md) | | +[**Ipv4Format**](../../components/schema/ipv4_format.Ipv4Format.md) | | ### Authorization @@ -2136,7 +2136,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Ipv6Format**](../../components/schema/Ipv6Format.md) | | +[**Ipv6Format**](../../components/schema/ipv6_format.Ipv6Format.md) | | ### Authorization @@ -2193,7 +2193,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**JsonPointerFormat**](../../components/schema/JsonPointerFormat.md) | | +[**JsonPointerFormat**](../../components/schema/json_pointer_format.JsonPointerFormat.md) | | ### Authorization @@ -2250,7 +2250,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MaximumValidation**](../../components/schema/MaximumValidation.md) | | +[**MaximumValidation**](../../components/schema/maximum_validation.MaximumValidation.md) | | ### Authorization @@ -2307,7 +2307,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MaximumValidationWithUnsignedInteger**](../../components/schema/MaximumValidationWithUnsignedInteger.md) | | +[**MaximumValidationWithUnsignedInteger**](../../components/schema/maximum_validation_with_unsigned_integer.MaximumValidationWithUnsignedInteger.md) | | ### Authorization @@ -2364,7 +2364,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MaxitemsValidation**](../../components/schema/MaxitemsValidation.md) | | +[**MaxitemsValidation**](../../components/schema/maxitems_validation.MaxitemsValidation.md) | | ### Authorization @@ -2421,7 +2421,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MaxlengthValidation**](../../components/schema/MaxlengthValidation.md) | | +[**MaxlengthValidation**](../../components/schema/maxlength_validation.MaxlengthValidation.md) | | ### Authorization @@ -2478,7 +2478,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Maxproperties0MeansTheObjectIsEmpty**](../../components/schema/Maxproperties0MeansTheObjectIsEmpty.md) | | +[**Maxproperties0MeansTheObjectIsEmpty**](../../components/schema/maxproperties0_means_the_object_is_empty.Maxproperties0MeansTheObjectIsEmpty.md) | | ### Authorization @@ -2535,7 +2535,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MaxpropertiesValidation**](../../components/schema/MaxpropertiesValidation.md) | | +[**MaxpropertiesValidation**](../../components/schema/maxproperties_validation.MaxpropertiesValidation.md) | | ### Authorization @@ -2592,7 +2592,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MinimumValidation**](../../components/schema/MinimumValidation.md) | | +[**MinimumValidation**](../../components/schema/minimum_validation.MinimumValidation.md) | | ### Authorization @@ -2649,7 +2649,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MinimumValidationWithSignedInteger**](../../components/schema/MinimumValidationWithSignedInteger.md) | | +[**MinimumValidationWithSignedInteger**](../../components/schema/minimum_validation_with_signed_integer.MinimumValidationWithSignedInteger.md) | | ### Authorization @@ -2706,7 +2706,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MinitemsValidation**](../../components/schema/MinitemsValidation.md) | | +[**MinitemsValidation**](../../components/schema/minitems_validation.MinitemsValidation.md) | | ### Authorization @@ -2763,7 +2763,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MinlengthValidation**](../../components/schema/MinlengthValidation.md) | | +[**MinlengthValidation**](../../components/schema/minlength_validation.MinlengthValidation.md) | | ### Authorization @@ -2820,7 +2820,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**MinpropertiesValidation**](../../components/schema/MinpropertiesValidation.md) | | +[**MinpropertiesValidation**](../../components/schema/minproperties_validation.MinpropertiesValidation.md) | | ### Authorization @@ -2877,7 +2877,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NestedAllofToCheckValidationSemantics**](../../components/schema/NestedAllofToCheckValidationSemantics.md) | | +[**NestedAllofToCheckValidationSemantics**](../../components/schema/nested_allof_to_check_validation_semantics.NestedAllofToCheckValidationSemantics.md) | | ### Authorization @@ -2934,7 +2934,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NestedAnyofToCheckValidationSemantics**](../../components/schema/NestedAnyofToCheckValidationSemantics.md) | | +[**NestedAnyofToCheckValidationSemantics**](../../components/schema/nested_anyof_to_check_validation_semantics.NestedAnyofToCheckValidationSemantics.md) | | ### Authorization @@ -2991,7 +2991,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NestedItems**](../../components/schema/NestedItems.md) | | +[**NestedItems**](../../components/schema/nested_items.NestedItems.md) | | ### Authorization @@ -3048,7 +3048,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NestedOneofToCheckValidationSemantics**](../../components/schema/NestedOneofToCheckValidationSemantics.md) | | +[**NestedOneofToCheckValidationSemantics**](../../components/schema/nested_oneof_to_check_validation_semantics.NestedOneofToCheckValidationSemantics.md) | | ### Authorization @@ -3105,7 +3105,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NotMoreComplexSchema**](../../components/schema/NotMoreComplexSchema.md) | | +[**NotMoreComplexSchema**](../../components/schema/not_more_complex_schema.NotMoreComplexSchema.md) | | ### Authorization @@ -3162,7 +3162,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ModelNot**](../../components/schema/ModelNot.md) | | +[**ModelNot**](../../components/schema/model_not.ModelNot.md) | | ### Authorization @@ -3219,7 +3219,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NulCharactersInStrings**](../../components/schema/NulCharactersInStrings.md) | | +[**NulCharactersInStrings**](../../components/schema/nul_characters_in_strings.NulCharactersInStrings.md) | | ### Authorization @@ -3276,7 +3276,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NullTypeMatchesOnlyTheNullObject**](../../components/schema/NullTypeMatchesOnlyTheNullObject.md) | | +[**NullTypeMatchesOnlyTheNullObject**](../../components/schema/null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject.md) | | ### Authorization @@ -3333,7 +3333,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NumberTypeMatchesNumbers**](../../components/schema/NumberTypeMatchesNumbers.md) | | +[**NumberTypeMatchesNumbers**](../../components/schema/number_type_matches_numbers.NumberTypeMatchesNumbers.md) | | ### Authorization @@ -3390,7 +3390,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ObjectPropertiesValidation**](../../components/schema/ObjectPropertiesValidation.md) | | +[**ObjectPropertiesValidation**](../../components/schema/object_properties_validation.ObjectPropertiesValidation.md) | | ### Authorization @@ -3447,7 +3447,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ObjectTypeMatchesObjects**](../../components/schema/ObjectTypeMatchesObjects.md) | | +[**ObjectTypeMatchesObjects**](../../components/schema/object_type_matches_objects.ObjectTypeMatchesObjects.md) | | ### Authorization @@ -3504,7 +3504,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**OneofComplexTypes**](../../components/schema/OneofComplexTypes.md) | | +[**OneofComplexTypes**](../../components/schema/oneof_complex_types.OneofComplexTypes.md) | | ### Authorization @@ -3561,7 +3561,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Oneof**](../../components/schema/Oneof.md) | | +[**Oneof**](../../components/schema/oneof.Oneof.md) | | ### Authorization @@ -3618,7 +3618,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**OneofWithBaseSchema**](../../components/schema/OneofWithBaseSchema.md) | | +[**OneofWithBaseSchema**](../../components/schema/oneof_with_base_schema.OneofWithBaseSchema.md) | | ### Authorization @@ -3675,7 +3675,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**OneofWithEmptySchema**](../../components/schema/OneofWithEmptySchema.md) | | +[**OneofWithEmptySchema**](../../components/schema/oneof_with_empty_schema.OneofWithEmptySchema.md) | | ### Authorization @@ -3732,7 +3732,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**OneofWithRequired**](../../components/schema/OneofWithRequired.md) | | +[**OneofWithRequired**](../../components/schema/oneof_with_required.OneofWithRequired.md) | | ### Authorization @@ -3789,7 +3789,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**PatternIsNotAnchored**](../../components/schema/PatternIsNotAnchored.md) | | +[**PatternIsNotAnchored**](../../components/schema/pattern_is_not_anchored.PatternIsNotAnchored.md) | | ### Authorization @@ -3846,7 +3846,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**PatternValidation**](../../components/schema/PatternValidation.md) | | +[**PatternValidation**](../../components/schema/pattern_validation.PatternValidation.md) | | ### Authorization @@ -3903,7 +3903,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**PropertiesWithEscapedCharacters**](../../components/schema/PropertiesWithEscapedCharacters.md) | | +[**PropertiesWithEscapedCharacters**](../../components/schema/properties_with_escaped_characters.PropertiesWithEscapedCharacters.md) | | ### Authorization @@ -3960,7 +3960,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**PropertyNamedRefThatIsNotAReference**](../../components/schema/PropertyNamedRefThatIsNotAReference.md) | | +[**PropertyNamedRefThatIsNotAReference**](../../components/schema/property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference.md) | | ### Authorization @@ -4017,7 +4017,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RefInAdditionalproperties**](../../components/schema/RefInAdditionalproperties.md) | | +[**RefInAdditionalproperties**](../../components/schema/ref_in_additionalproperties.RefInAdditionalproperties.md) | | ### Authorization @@ -4074,7 +4074,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RefInAllof**](../../components/schema/RefInAllof.md) | | +[**RefInAllof**](../../components/schema/ref_in_allof.RefInAllof.md) | | ### Authorization @@ -4131,7 +4131,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RefInAnyof**](../../components/schema/RefInAnyof.md) | | +[**RefInAnyof**](../../components/schema/ref_in_anyof.RefInAnyof.md) | | ### Authorization @@ -4188,7 +4188,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RefInItems**](../../components/schema/RefInItems.md) | | +[**RefInItems**](../../components/schema/ref_in_items.RefInItems.md) | | ### Authorization @@ -4245,7 +4245,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RefInNot**](../../components/schema/RefInNot.md) | | +[**RefInNot**](../../components/schema/ref_in_not.RefInNot.md) | | ### Authorization @@ -4302,7 +4302,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RefInOneof**](../../components/schema/RefInOneof.md) | | +[**RefInOneof**](../../components/schema/ref_in_oneof.RefInOneof.md) | | ### Authorization @@ -4359,7 +4359,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RefInProperty**](../../components/schema/RefInProperty.md) | | +[**RefInProperty**](../../components/schema/ref_in_property.RefInProperty.md) | | ### Authorization @@ -4416,7 +4416,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RequiredDefaultValidation**](../../components/schema/RequiredDefaultValidation.md) | | +[**RequiredDefaultValidation**](../../components/schema/required_default_validation.RequiredDefaultValidation.md) | | ### Authorization @@ -4473,7 +4473,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RequiredValidation**](../../components/schema/RequiredValidation.md) | | +[**RequiredValidation**](../../components/schema/required_validation.RequiredValidation.md) | | ### Authorization @@ -4530,7 +4530,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RequiredWithEmptyArray**](../../components/schema/RequiredWithEmptyArray.md) | | +[**RequiredWithEmptyArray**](../../components/schema/required_with_empty_array.RequiredWithEmptyArray.md) | | ### Authorization @@ -4587,7 +4587,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**RequiredWithEscapedCharacters**](../../components/schema/RequiredWithEscapedCharacters.md) | | +[**RequiredWithEscapedCharacters**](../../components/schema/required_with_escaped_characters.RequiredWithEscapedCharacters.md) | | ### Authorization @@ -4644,7 +4644,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**SimpleEnumValidation**](../../components/schema/SimpleEnumValidation.md) | | +[**SimpleEnumValidation**](../../components/schema/simple_enum_validation.SimpleEnumValidation.md) | | ### Authorization @@ -4701,7 +4701,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**StringTypeMatchesStrings**](../../components/schema/StringTypeMatchesStrings.md) | | +[**StringTypeMatchesStrings**](../../components/schema/string_type_matches_strings.StringTypeMatchesStrings.md) | | ### Authorization @@ -4758,7 +4758,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing**](../../components/schema/TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing.md) | | +[**TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing**](../../components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing.md) | | ### Authorization @@ -4815,7 +4815,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**UniqueitemsFalseValidation**](../../components/schema/UniqueitemsFalseValidation.md) | | +[**UniqueitemsFalseValidation**](../../components/schema/uniqueitems_false_validation.UniqueitemsFalseValidation.md) | | ### Authorization @@ -4872,7 +4872,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**UniqueitemsValidation**](../../components/schema/UniqueitemsValidation.md) | | +[**UniqueitemsValidation**](../../components/schema/uniqueitems_validation.UniqueitemsValidation.md) | | ### Authorization @@ -4929,7 +4929,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**UriFormat**](../../components/schema/UriFormat.md) | | +[**UriFormat**](../../components/schema/uri_format.UriFormat.md) | | ### Authorization @@ -4986,7 +4986,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**UriReferenceFormat**](../../components/schema/UriReferenceFormat.md) | | +[**UriReferenceFormat**](../../components/schema/uri_reference_format.UriReferenceFormat.md) | | ### Authorization @@ -5043,7 +5043,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**UriTemplateFormat**](../../components/schema/UriTemplateFormat.md) | | +[**UriTemplateFormat**](../../components/schema/uri_template_format.UriTemplateFormat.md) | | ### Authorization diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/TypeApi.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/TypeApi.md index bf840ae05d1..85faddb1225 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/TypeApi.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/TypeApi.md @@ -29,7 +29,7 @@ Method | HTTP request | Description ```python import unit_test_api from unit_test_api.apis.tags import type_api -from unit_test_api.components.schema.array_type_matches_arrays import ArrayTypeMatchesArrays +from unit_test_api.components.schema import array_type_matches_arrays from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -43,7 +43,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = type_api.TypeApi(api_client) # example passing only required values which don't have defaults set - body = ArrayTypeMatchesArrays([ + body = array_type_matches_arrays.ArrayTypeMatchesArrays([ None ]) try: @@ -68,7 +68,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ArrayTypeMatchesArrays**](../../components/schema/ArrayTypeMatchesArrays.md) | | +[**ArrayTypeMatchesArrays**](../../components/schema/array_type_matches_arrays.ArrayTypeMatchesArrays.md) | | ### Return Types, Responses @@ -139,7 +139,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ArrayTypeMatchesArrays**](../../components/schema/ArrayTypeMatchesArrays.md) | | +[**ArrayTypeMatchesArrays**](../../components/schema/array_type_matches_arrays.ArrayTypeMatchesArrays.md) | | ### Authorization @@ -157,7 +157,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import type_api -from unit_test_api.components.schema.boolean_type_matches_booleans import BooleanTypeMatchesBooleans +from unit_test_api.components.schema import boolean_type_matches_booleans from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -171,7 +171,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = type_api.TypeApi(api_client) # example passing only required values which don't have defaults set - body = BooleanTypeMatchesBooleans(True) + body = boolean_type_matches_booleans.BooleanTypeMatchesBooleans(True) try: api_response = api_instance.post_boolean_type_matches_booleans_request_body( body=body, @@ -194,7 +194,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**BooleanTypeMatchesBooleans**](../../components/schema/BooleanTypeMatchesBooleans.md) | | +[**BooleanTypeMatchesBooleans**](../../components/schema/boolean_type_matches_booleans.BooleanTypeMatchesBooleans.md) | | ### Return Types, Responses @@ -265,7 +265,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**BooleanTypeMatchesBooleans**](../../components/schema/BooleanTypeMatchesBooleans.md) | | +[**BooleanTypeMatchesBooleans**](../../components/schema/boolean_type_matches_booleans.BooleanTypeMatchesBooleans.md) | | ### Authorization @@ -283,7 +283,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import type_api -from unit_test_api.components.schema.integer_type_matches_integers import IntegerTypeMatchesIntegers +from unit_test_api.components.schema import integer_type_matches_integers from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -297,7 +297,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = type_api.TypeApi(api_client) # example passing only required values which don't have defaults set - body = IntegerTypeMatchesIntegers(1) + body = integer_type_matches_integers.IntegerTypeMatchesIntegers(1) try: api_response = api_instance.post_integer_type_matches_integers_request_body( body=body, @@ -320,7 +320,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**IntegerTypeMatchesIntegers**](../../components/schema/IntegerTypeMatchesIntegers.md) | | +[**IntegerTypeMatchesIntegers**](../../components/schema/integer_type_matches_integers.IntegerTypeMatchesIntegers.md) | | ### Return Types, Responses @@ -391,7 +391,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**IntegerTypeMatchesIntegers**](../../components/schema/IntegerTypeMatchesIntegers.md) | | +[**IntegerTypeMatchesIntegers**](../../components/schema/integer_type_matches_integers.IntegerTypeMatchesIntegers.md) | | ### Authorization @@ -409,7 +409,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import type_api -from unit_test_api.components.schema.null_type_matches_only_the_null_object import NullTypeMatchesOnlyTheNullObject +from unit_test_api.components.schema import null_type_matches_only_the_null_object from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -423,7 +423,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = type_api.TypeApi(api_client) # example passing only required values which don't have defaults set - body = NullTypeMatchesOnlyTheNullObject(None) + body = null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject(None) try: api_response = api_instance.post_null_type_matches_only_the_null_object_request_body( body=body, @@ -446,7 +446,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NullTypeMatchesOnlyTheNullObject**](../../components/schema/NullTypeMatchesOnlyTheNullObject.md) | | +[**NullTypeMatchesOnlyTheNullObject**](../../components/schema/null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject.md) | | ### Return Types, Responses @@ -517,7 +517,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NullTypeMatchesOnlyTheNullObject**](../../components/schema/NullTypeMatchesOnlyTheNullObject.md) | | +[**NullTypeMatchesOnlyTheNullObject**](../../components/schema/null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject.md) | | ### Authorization @@ -535,7 +535,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import type_api -from unit_test_api.components.schema.number_type_matches_numbers import NumberTypeMatchesNumbers +from unit_test_api.components.schema import number_type_matches_numbers from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -549,7 +549,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = type_api.TypeApi(api_client) # example passing only required values which don't have defaults set - body = NumberTypeMatchesNumbers(3.14) + body = number_type_matches_numbers.NumberTypeMatchesNumbers(3.14) try: api_response = api_instance.post_number_type_matches_numbers_request_body( body=body, @@ -572,7 +572,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NumberTypeMatchesNumbers**](../../components/schema/NumberTypeMatchesNumbers.md) | | +[**NumberTypeMatchesNumbers**](../../components/schema/number_type_matches_numbers.NumberTypeMatchesNumbers.md) | | ### Return Types, Responses @@ -643,7 +643,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NumberTypeMatchesNumbers**](../../components/schema/NumberTypeMatchesNumbers.md) | | +[**NumberTypeMatchesNumbers**](../../components/schema/number_type_matches_numbers.NumberTypeMatchesNumbers.md) | | ### Authorization @@ -661,7 +661,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import type_api -from unit_test_api.components.schema.object_type_matches_objects import ObjectTypeMatchesObjects +from unit_test_api.components.schema import object_type_matches_objects from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -675,7 +675,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = type_api.TypeApi(api_client) # example passing only required values which don't have defaults set - body = ObjectTypeMatchesObjects() + body = object_type_matches_objects.ObjectTypeMatchesObjects() try: api_response = api_instance.post_object_type_matches_objects_request_body( body=body, @@ -698,7 +698,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ObjectTypeMatchesObjects**](../../components/schema/ObjectTypeMatchesObjects.md) | | +[**ObjectTypeMatchesObjects**](../../components/schema/object_type_matches_objects.ObjectTypeMatchesObjects.md) | | ### Return Types, Responses @@ -769,7 +769,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ObjectTypeMatchesObjects**](../../components/schema/ObjectTypeMatchesObjects.md) | | +[**ObjectTypeMatchesObjects**](../../components/schema/object_type_matches_objects.ObjectTypeMatchesObjects.md) | | ### Authorization @@ -787,7 +787,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import type_api -from unit_test_api.components.schema.string_type_matches_strings import StringTypeMatchesStrings +from unit_test_api.components.schema import string_type_matches_strings from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -801,7 +801,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = type_api.TypeApi(api_client) # example passing only required values which don't have defaults set - body = StringTypeMatchesStrings("parameter_body_example") + body = string_type_matches_strings.StringTypeMatchesStrings("parameter_body_example") try: api_response = api_instance.post_string_type_matches_strings_request_body( body=body, @@ -824,7 +824,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**StringTypeMatchesStrings**](../../components/schema/StringTypeMatchesStrings.md) | | +[**StringTypeMatchesStrings**](../../components/schema/string_type_matches_strings.StringTypeMatchesStrings.md) | | ### Return Types, Responses @@ -895,7 +895,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**StringTypeMatchesStrings**](../../components/schema/StringTypeMatchesStrings.md) | | +[**StringTypeMatchesStrings**](../../components/schema/string_type_matches_strings.StringTypeMatchesStrings.md) | | ### Authorization diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/UniqueItemsApi.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/UniqueItemsApi.md index c9258363179..0e3479298c8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/UniqueItemsApi.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/apis/tags/UniqueItemsApi.md @@ -19,7 +19,7 @@ Method | HTTP request | Description ```python import unit_test_api from unit_test_api.apis.tags import unique_items_api -from unit_test_api.components.schema.uniqueitems_false_validation import UniqueitemsFalseValidation +from unit_test_api.components.schema import uniqueitems_false_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -33,7 +33,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = unique_items_api.UniqueItemsApi(api_client) # example passing only required values which don't have defaults set - body = UniqueitemsFalseValidation(None) + body = uniqueitems_false_validation.UniqueitemsFalseValidation(None) try: api_response = api_instance.post_uniqueitems_false_validation_request_body( body=body, @@ -56,7 +56,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**UniqueitemsFalseValidation**](../../components/schema/UniqueitemsFalseValidation.md) | | +[**UniqueitemsFalseValidation**](../../components/schema/uniqueitems_false_validation.UniqueitemsFalseValidation.md) | | ### Return Types, Responses @@ -127,7 +127,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**UniqueitemsFalseValidation**](../../components/schema/UniqueitemsFalseValidation.md) | | +[**UniqueitemsFalseValidation**](../../components/schema/uniqueitems_false_validation.UniqueitemsFalseValidation.md) | | ### Authorization @@ -145,7 +145,7 @@ No authorization required ```python import unit_test_api from unit_test_api.apis.tags import unique_items_api -from unit_test_api.components.schema.uniqueitems_validation import UniqueitemsValidation +from unit_test_api.components.schema import uniqueitems_validation from pprint import pprint # Defining the host is optional and defaults to https://someserver.com/v1 # See configuration.py for a list of all supported configuration parameters. @@ -159,7 +159,7 @@ with unit_test_api.ApiClient(configuration) as api_client: api_instance = unique_items_api.UniqueItemsApi(api_client) # example passing only required values which don't have defaults set - body = UniqueitemsValidation(None) + body = uniqueitems_validation.UniqueitemsValidation(None) try: api_response = api_instance.post_uniqueitems_validation_request_body( body=body, @@ -182,7 +182,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**UniqueitemsValidation**](../../components/schema/UniqueitemsValidation.md) | | +[**UniqueitemsValidation**](../../components/schema/uniqueitems_validation.UniqueitemsValidation.md) | | ### Return Types, Responses @@ -253,7 +253,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**UniqueitemsValidation**](../../components/schema/UniqueitemsValidation.md) | | +[**UniqueitemsValidation**](../../components/schema/uniqueitems_validation.UniqueitemsValidation.md) | | ### Authorization diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/AdditionalpropertiesAllowsASchemaWhichShouldValidate.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/additionalproperties_allows_a_schema_which_should_validate.AdditionalpropertiesAllowsASchemaWhichShouldValidate.md similarity index 95% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/AdditionalpropertiesAllowsASchemaWhichShouldValidate.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/additionalproperties_allows_a_schema_which_should_validate.AdditionalpropertiesAllowsASchemaWhichShouldValidate.md index e7095bcf7e1..59679821bb9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/AdditionalpropertiesAllowsASchemaWhichShouldValidate.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/additionalproperties_allows_a_schema_which_should_validate.AdditionalpropertiesAllowsASchemaWhichShouldValidate.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.additionalproperties_allows_a_schema_which_should_validate.AdditionalpropertiesAllowsASchemaWhichShouldValidate ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/AdditionalpropertiesAreAllowedByDefault.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/additionalproperties_are_allowed_by_default.AdditionalpropertiesAreAllowedByDefault.md similarity index 96% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/AdditionalpropertiesAreAllowedByDefault.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/additionalproperties_are_allowed_by_default.AdditionalpropertiesAreAllowedByDefault.md index 6a1658a5d0e..306ee8ba378 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/AdditionalpropertiesAreAllowedByDefault.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/additionalproperties_are_allowed_by_default.AdditionalpropertiesAreAllowedByDefault.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.additionalproperties_are_allowed_by_default.AdditionalpropertiesAreAllowedByDefault ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/AdditionalpropertiesCanExistByItself.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/additionalproperties_can_exist_by_itself.AdditionalpropertiesCanExistByItself.md similarity index 93% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/AdditionalpropertiesCanExistByItself.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/additionalproperties_can_exist_by_itself.AdditionalpropertiesCanExistByItself.md index 8b859853dff..9950f1164db 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/AdditionalpropertiesCanExistByItself.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/additionalproperties_can_exist_by_itself.AdditionalpropertiesCanExistByItself.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.additionalproperties_can_exist_by_itself.AdditionalpropertiesCanExistByItself ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/AdditionalpropertiesShouldNotLookInApplicators.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/additionalproperties_should_not_look_in_applicators.AdditionalpropertiesShouldNotLookInApplicators.md similarity index 97% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/AdditionalpropertiesShouldNotLookInApplicators.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/additionalproperties_should_not_look_in_applicators.AdditionalpropertiesShouldNotLookInApplicators.md index 41bf1790bb5..c1251bfd54c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/AdditionalpropertiesShouldNotLookInApplicators.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/additionalproperties_should_not_look_in_applicators.AdditionalpropertiesShouldNotLookInApplicators.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.additionalproperties_should_not_look_in_applicators.AdditionalpropertiesShouldNotLookInApplicators ## Model Type Info 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.Allof.md similarity index 99% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/Allof.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/allof.Allof.md index d360a3f2ab9..3566f232a27 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.Allof.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.allof.Allof ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/AllofCombinedWithAnyofOneof.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/allof_combined_with_anyof_oneof.AllofCombinedWithAnyofOneof.md similarity index 98% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/AllofCombinedWithAnyofOneof.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/allof_combined_with_anyof_oneof.AllofCombinedWithAnyofOneof.md index 5b3ab2379a6..760ba1f5b7b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/AllofCombinedWithAnyofOneof.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/allof_combined_with_anyof_oneof.AllofCombinedWithAnyofOneof.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.allof_combined_with_anyof_oneof.AllofCombinedWithAnyofOneof ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/AllofSimpleTypes.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/allof_simple_types.AllofSimpleTypes.md similarity index 98% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/AllofSimpleTypes.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/allof_simple_types.AllofSimpleTypes.md index 55b8353b4b1..623d6a39105 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/AllofSimpleTypes.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/allof_simple_types.AllofSimpleTypes.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.allof_simple_types.AllofSimpleTypes ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/AllofWithBaseSchema.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/allof_with_base_schema.AllofWithBaseSchema.md similarity index 99% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/AllofWithBaseSchema.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/allof_with_base_schema.AllofWithBaseSchema.md index 6faa616eb37..a46b58e85d2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/AllofWithBaseSchema.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/allof_with_base_schema.AllofWithBaseSchema.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.allof_with_base_schema.AllofWithBaseSchema ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/AllofWithOneEmptySchema.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/allof_with_one_empty_schema.AllofWithOneEmptySchema.md similarity index 97% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/AllofWithOneEmptySchema.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/allof_with_one_empty_schema.AllofWithOneEmptySchema.md index f838cc50a42..e1ebf250111 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/AllofWithOneEmptySchema.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/allof_with_one_empty_schema.AllofWithOneEmptySchema.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.allof_with_one_empty_schema.AllofWithOneEmptySchema ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/AllofWithTheFirstEmptySchema.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/allof_with_the_first_empty_schema.AllofWithTheFirstEmptySchema.md similarity index 97% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/AllofWithTheFirstEmptySchema.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/allof_with_the_first_empty_schema.AllofWithTheFirstEmptySchema.md index 923db446bc6..cd67b2067d9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/AllofWithTheFirstEmptySchema.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/allof_with_the_first_empty_schema.AllofWithTheFirstEmptySchema.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.allof_with_the_first_empty_schema.AllofWithTheFirstEmptySchema ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/AllofWithTheLastEmptySchema.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/allof_with_the_last_empty_schema.AllofWithTheLastEmptySchema.md similarity index 97% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/AllofWithTheLastEmptySchema.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/allof_with_the_last_empty_schema.AllofWithTheLastEmptySchema.md index 22eee78069f..b1d29baadf3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/AllofWithTheLastEmptySchema.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/allof_with_the_last_empty_schema.AllofWithTheLastEmptySchema.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.allof_with_the_last_empty_schema.AllofWithTheLastEmptySchema ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/AllofWithTwoEmptySchemas.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/allof_with_two_empty_schemas.AllofWithTwoEmptySchemas.md similarity index 98% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/AllofWithTwoEmptySchemas.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/allof_with_two_empty_schemas.AllofWithTwoEmptySchemas.md index c263a8d71a5..f4afc3cc598 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/AllofWithTwoEmptySchemas.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/allof_with_two_empty_schemas.AllofWithTwoEmptySchemas.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.allof_with_two_empty_schemas.AllofWithTwoEmptySchemas ## Model Type Info 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.Anyof.md similarity index 98% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/Anyof.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/anyof.Anyof.md index 5e04a14d12d..601b870df79 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.Anyof.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.anyof.Anyof ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/AnyofComplexTypes.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/anyof_complex_types.AnyofComplexTypes.md similarity index 99% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/AnyofComplexTypes.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/anyof_complex_types.AnyofComplexTypes.md index c94e8b73218..9768fb81bbd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/AnyofComplexTypes.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/anyof_complex_types.AnyofComplexTypes.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.anyof_complex_types.AnyofComplexTypes ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/AnyofWithBaseSchema.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/anyof_with_base_schema.AnyofWithBaseSchema.md similarity index 98% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/AnyofWithBaseSchema.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/anyof_with_base_schema.AnyofWithBaseSchema.md index fc449fcf4f0..1a4c7d67420 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/AnyofWithBaseSchema.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/anyof_with_base_schema.AnyofWithBaseSchema.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.anyof_with_base_schema.AnyofWithBaseSchema ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/AnyofWithOneEmptySchema.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/anyof_with_one_empty_schema.AnyofWithOneEmptySchema.md similarity index 97% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/AnyofWithOneEmptySchema.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/anyof_with_one_empty_schema.AnyofWithOneEmptySchema.md index 63486039755..9d94601ad0a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/AnyofWithOneEmptySchema.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/anyof_with_one_empty_schema.AnyofWithOneEmptySchema.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.anyof_with_one_empty_schema.AnyofWithOneEmptySchema ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ArrayTypeMatchesArrays.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/array_type_matches_arrays.ArrayTypeMatchesArrays.md similarity index 95% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ArrayTypeMatchesArrays.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/array_type_matches_arrays.ArrayTypeMatchesArrays.md index f52091e7de9..83fa9055013 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ArrayTypeMatchesArrays.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/array_type_matches_arrays.ArrayTypeMatchesArrays.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.array_type_matches_arrays.ArrayTypeMatchesArrays ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/BooleanTypeMatchesBooleans.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/boolean_type_matches_booleans.BooleanTypeMatchesBooleans.md similarity index 91% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/BooleanTypeMatchesBooleans.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/boolean_type_matches_booleans.BooleanTypeMatchesBooleans.md index eef13814caf..bbfe10584e7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/BooleanTypeMatchesBooleans.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/boolean_type_matches_booleans.BooleanTypeMatchesBooleans.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.boolean_type_matches_booleans.BooleanTypeMatchesBooleans ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ByInt.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/by_int.ByInt.md similarity index 96% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ByInt.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/by_int.ByInt.md index ea9a424896d..2027d2935c6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ByInt.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/by_int.ByInt.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.by_int.ByInt ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ByNumber.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/by_number.ByNumber.md similarity index 96% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ByNumber.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/by_number.ByNumber.md index 96d29249f95..12cc37eb3e4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ByNumber.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/by_number.ByNumber.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.by_number.ByNumber ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/BySmallNumber.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/by_small_number.BySmallNumber.md similarity index 95% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/BySmallNumber.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/by_small_number.BySmallNumber.md index 040d911fda9..2cf59c0ea72 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/BySmallNumber.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/by_small_number.BySmallNumber.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.by_small_number.BySmallNumber ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/DateTimeFormat.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/date_time_format.DateTimeFormat.md similarity index 95% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/DateTimeFormat.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/date_time_format.DateTimeFormat.md index 202b11aa29c..3dcb8410793 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/DateTimeFormat.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/date_time_format.DateTimeFormat.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.date_time_format.DateTimeFormat ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/EmailFormat.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/email_format.EmailFormat.md similarity index 96% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/EmailFormat.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/email_format.EmailFormat.md index 7bbe5204e11..e18d2da499d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/EmailFormat.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/email_format.EmailFormat.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.email_format.EmailFormat ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/EnumWith0DoesNotMatchFalse.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/enum_with0_does_not_match_false.EnumWith0DoesNotMatchFalse.md similarity index 92% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/EnumWith0DoesNotMatchFalse.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/enum_with0_does_not_match_false.EnumWith0DoesNotMatchFalse.md index 7eed80851cb..56a37a8cf63 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/EnumWith0DoesNotMatchFalse.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/enum_with0_does_not_match_false.EnumWith0DoesNotMatchFalse.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.enum_with0_does_not_match_false.EnumWith0DoesNotMatchFalse ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/EnumWith1DoesNotMatchTrue.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/enum_with1_does_not_match_true.EnumWith1DoesNotMatchTrue.md similarity index 92% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/EnumWith1DoesNotMatchTrue.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/enum_with1_does_not_match_true.EnumWith1DoesNotMatchTrue.md index 43d960a1c07..9d19c4307c0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/EnumWith1DoesNotMatchTrue.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/enum_with1_does_not_match_true.EnumWith1DoesNotMatchTrue.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.enum_with1_does_not_match_true.EnumWith1DoesNotMatchTrue ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/EnumWithEscapedCharacters.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/enum_with_escaped_characters.EnumWithEscapedCharacters.md similarity index 92% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/EnumWithEscapedCharacters.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/enum_with_escaped_characters.EnumWithEscapedCharacters.md index 52923b94760..cf2a25a06a1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/EnumWithEscapedCharacters.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/enum_with_escaped_characters.EnumWithEscapedCharacters.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.enum_with_escaped_characters.EnumWithEscapedCharacters ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/EnumWithFalseDoesNotMatch0.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/enum_with_false_does_not_match0.EnumWithFalseDoesNotMatch0.md similarity index 91% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/EnumWithFalseDoesNotMatch0.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/enum_with_false_does_not_match0.EnumWithFalseDoesNotMatch0.md index d21c53c6c4d..015a0af659a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/EnumWithFalseDoesNotMatch0.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/enum_with_false_does_not_match0.EnumWithFalseDoesNotMatch0.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.enum_with_false_does_not_match0.EnumWithFalseDoesNotMatch0 ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/EnumWithTrueDoesNotMatch1.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/enum_with_true_does_not_match1.EnumWithTrueDoesNotMatch1.md similarity index 92% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/EnumWithTrueDoesNotMatch1.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/enum_with_true_does_not_match1.EnumWithTrueDoesNotMatch1.md index a281b0230e7..b7fbdf0f72d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/EnumWithTrueDoesNotMatch1.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/enum_with_true_does_not_match1.EnumWithTrueDoesNotMatch1.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.enum_with_true_does_not_match1.EnumWithTrueDoesNotMatch1 ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/EnumsInProperties.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/enums_in_properties.EnumsInProperties.md similarity index 97% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/EnumsInProperties.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/enums_in_properties.EnumsInProperties.md index c1000ff7c38..a1f5dff6b9b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/EnumsInProperties.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/enums_in_properties.EnumsInProperties.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.enums_in_properties.EnumsInProperties ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ForbiddenProperty.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/forbidden_property.ForbiddenProperty.md similarity index 98% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ForbiddenProperty.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/forbidden_property.ForbiddenProperty.md index 76fbff25e7b..04471053c42 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ForbiddenProperty.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/forbidden_property.ForbiddenProperty.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.forbidden_property.ForbiddenProperty ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/HostnameFormat.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/hostname_format.HostnameFormat.md similarity index 95% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/HostnameFormat.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/hostname_format.HostnameFormat.md index d9059d9cb47..811abebf8f1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/HostnameFormat.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/hostname_format.HostnameFormat.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.hostname_format.HostnameFormat ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/IntegerTypeMatchesIntegers.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/integer_type_matches_integers.IntegerTypeMatchesIntegers.md similarity index 91% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/IntegerTypeMatchesIntegers.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/integer_type_matches_integers.IntegerTypeMatchesIntegers.md index 428edccdbfe..9b55cd3601c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/IntegerTypeMatchesIntegers.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/integer_type_matches_integers.IntegerTypeMatchesIntegers.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.integer_type_matches_integers.IntegerTypeMatchesIntegers ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/invalid_instance_should_not_raise_error_when_float_division_inf.InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf.md similarity index 88% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/invalid_instance_should_not_raise_error_when_float_division_inf.InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf.md index 608f2525fdb..6a27cc6903e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/invalid_instance_should_not_raise_error_when_float_division_inf.InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.invalid_instance_should_not_raise_error_when_float_division_inf.InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/InvalidStringValueForDefault.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/invalid_string_value_for_default.InvalidStringValueForDefault.md similarity index 96% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/InvalidStringValueForDefault.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/invalid_string_value_for_default.InvalidStringValueForDefault.md index 91fc902c226..573b81067c6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/InvalidStringValueForDefault.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/invalid_string_value_for_default.InvalidStringValueForDefault.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.invalid_string_value_for_default.InvalidStringValueForDefault ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/Ipv4Format.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ipv4_format.Ipv4Format.md similarity index 96% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/Ipv4Format.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ipv4_format.Ipv4Format.md index 0b67e0e2003..af05b70fa55 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/Ipv4Format.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ipv4_format.Ipv4Format.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.ipv4_format.Ipv4Format ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/Ipv6Format.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ipv6_format.Ipv6Format.md similarity index 96% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/Ipv6Format.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ipv6_format.Ipv6Format.md index 0ba6cb2d7c9..b71de24f36e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/Ipv6Format.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ipv6_format.Ipv6Format.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.ipv6_format.Ipv6Format ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/JsonPointerFormat.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/json_pointer_format.JsonPointerFormat.md similarity index 95% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/JsonPointerFormat.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/json_pointer_format.JsonPointerFormat.md index 93ef093de4f..a868e678edd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/JsonPointerFormat.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/json_pointer_format.JsonPointerFormat.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.json_pointer_format.JsonPointerFormat ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/MaximumValidation.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/maximum_validation.MaximumValidation.md similarity index 95% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/MaximumValidation.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/maximum_validation.MaximumValidation.md index 6224f00d89f..0cc5bfa5b77 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/MaximumValidation.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/maximum_validation.MaximumValidation.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.maximum_validation.MaximumValidation ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/MaximumValidationWithUnsignedInteger.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/maximum_validation_with_unsigned_integer.MaximumValidationWithUnsignedInteger.md similarity index 93% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/MaximumValidationWithUnsignedInteger.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/maximum_validation_with_unsigned_integer.MaximumValidationWithUnsignedInteger.md index 5bd5b72ccaa..99d8e299910 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/MaximumValidationWithUnsignedInteger.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/maximum_validation_with_unsigned_integer.MaximumValidationWithUnsignedInteger.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.maximum_validation_with_unsigned_integer.MaximumValidationWithUnsignedInteger ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/MaxitemsValidation.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/maxitems_validation.MaxitemsValidation.md similarity index 95% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/MaxitemsValidation.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/maxitems_validation.MaxitemsValidation.md index a1e7d33ef62..e1dabedf910 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/MaxitemsValidation.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/maxitems_validation.MaxitemsValidation.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.maxitems_validation.MaxitemsValidation ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/MaxlengthValidation.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/maxlength_validation.MaxlengthValidation.md similarity index 95% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/MaxlengthValidation.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/maxlength_validation.MaxlengthValidation.md index 89c99a8a9d8..6c92b6747ed 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/MaxlengthValidation.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/maxlength_validation.MaxlengthValidation.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.maxlength_validation.MaxlengthValidation ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/Maxproperties0MeansTheObjectIsEmpty.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/maxproperties0_means_the_object_is_empty.Maxproperties0MeansTheObjectIsEmpty.md similarity index 93% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/Maxproperties0MeansTheObjectIsEmpty.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/maxproperties0_means_the_object_is_empty.Maxproperties0MeansTheObjectIsEmpty.md index a6f9aa50909..d2e46bee59c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/Maxproperties0MeansTheObjectIsEmpty.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/maxproperties0_means_the_object_is_empty.Maxproperties0MeansTheObjectIsEmpty.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.maxproperties0_means_the_object_is_empty.Maxproperties0MeansTheObjectIsEmpty ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/MaxpropertiesValidation.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/maxproperties_validation.MaxpropertiesValidation.md similarity index 94% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/MaxpropertiesValidation.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/maxproperties_validation.MaxpropertiesValidation.md index 04389a7a91f..48bc3d8d637 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/MaxpropertiesValidation.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/maxproperties_validation.MaxpropertiesValidation.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.maxproperties_validation.MaxpropertiesValidation ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/MinimumValidation.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/minimum_validation.MinimumValidation.md similarity index 95% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/MinimumValidation.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/minimum_validation.MinimumValidation.md index 6c0d967187c..ed9acc2d6e6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/MinimumValidation.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/minimum_validation.MinimumValidation.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.minimum_validation.MinimumValidation ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/MinimumValidationWithSignedInteger.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/minimum_validation_with_signed_integer.MinimumValidationWithSignedInteger.md similarity index 93% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/MinimumValidationWithSignedInteger.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/minimum_validation_with_signed_integer.MinimumValidationWithSignedInteger.md index d9a98b939be..8026d819c57 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/MinimumValidationWithSignedInteger.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/minimum_validation_with_signed_integer.MinimumValidationWithSignedInteger.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.minimum_validation_with_signed_integer.MinimumValidationWithSignedInteger ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/MinitemsValidation.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/minitems_validation.MinitemsValidation.md similarity index 95% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/MinitemsValidation.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/minitems_validation.MinitemsValidation.md index 16228195cff..84f04193957 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/MinitemsValidation.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/minitems_validation.MinitemsValidation.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.minitems_validation.MinitemsValidation ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/MinlengthValidation.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/minlength_validation.MinlengthValidation.md similarity index 95% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/MinlengthValidation.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/minlength_validation.MinlengthValidation.md index 34450a31dc0..ba8de0472d7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/MinlengthValidation.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/minlength_validation.MinlengthValidation.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.minlength_validation.MinlengthValidation ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/MinpropertiesValidation.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/minproperties_validation.MinpropertiesValidation.md similarity index 94% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/MinpropertiesValidation.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/minproperties_validation.MinpropertiesValidation.md index 0459b73cd3b..d8d78e8462f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/MinpropertiesValidation.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/minproperties_validation.MinpropertiesValidation.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.minproperties_validation.MinpropertiesValidation ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ModelNot.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/model_not.ModelNot.md similarity index 98% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ModelNot.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/model_not.ModelNot.md index 6948ee29b1c..fbff3641db1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ModelNot.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/model_not.ModelNot.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.model_not.ModelNot ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/NestedAllofToCheckValidationSemantics.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/nested_allof_to_check_validation_semantics.NestedAllofToCheckValidationSemantics.md similarity index 97% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/NestedAllofToCheckValidationSemantics.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/nested_allof_to_check_validation_semantics.NestedAllofToCheckValidationSemantics.md index 8a9ff5cdbdc..84b85084890 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/NestedAllofToCheckValidationSemantics.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/nested_allof_to_check_validation_semantics.NestedAllofToCheckValidationSemantics.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.nested_allof_to_check_validation_semantics.NestedAllofToCheckValidationSemantics ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/NestedAnyofToCheckValidationSemantics.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/nested_anyof_to_check_validation_semantics.NestedAnyofToCheckValidationSemantics.md similarity index 97% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/NestedAnyofToCheckValidationSemantics.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/nested_anyof_to_check_validation_semantics.NestedAnyofToCheckValidationSemantics.md index cc0bd4eb2d4..d465c0804a0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/NestedAnyofToCheckValidationSemantics.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/nested_anyof_to_check_validation_semantics.NestedAnyofToCheckValidationSemantics.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.nested_anyof_to_check_validation_semantics.NestedAnyofToCheckValidationSemantics ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/NestedItems.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/nested_items.NestedItems.md similarity index 98% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/NestedItems.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/nested_items.NestedItems.md index 655d37b45c0..d3ca1e9596d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/NestedItems.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/nested_items.NestedItems.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.nested_items.NestedItems ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/NestedOneofToCheckValidationSemantics.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/nested_oneof_to_check_validation_semantics.NestedOneofToCheckValidationSemantics.md similarity index 97% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/NestedOneofToCheckValidationSemantics.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/nested_oneof_to_check_validation_semantics.NestedOneofToCheckValidationSemantics.md index 48395063cba..63bce618180 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/NestedOneofToCheckValidationSemantics.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/nested_oneof_to_check_validation_semantics.NestedOneofToCheckValidationSemantics.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.nested_oneof_to_check_validation_semantics.NestedOneofToCheckValidationSemantics ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/NotMoreComplexSchema.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/not_more_complex_schema.NotMoreComplexSchema.md similarity index 97% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/NotMoreComplexSchema.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/not_more_complex_schema.NotMoreComplexSchema.md index f170657c592..49821ab9700 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/NotMoreComplexSchema.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/not_more_complex_schema.NotMoreComplexSchema.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.not_more_complex_schema.NotMoreComplexSchema ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/NulCharactersInStrings.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/nul_characters_in_strings.NulCharactersInStrings.md similarity index 92% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/NulCharactersInStrings.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/nul_characters_in_strings.NulCharactersInStrings.md index 52e6b332c5b..faf33acd754 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/NulCharactersInStrings.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/nul_characters_in_strings.NulCharactersInStrings.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.nul_characters_in_strings.NulCharactersInStrings ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/NullTypeMatchesOnlyTheNullObject.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject.md similarity index 90% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/NullTypeMatchesOnlyTheNullObject.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject.md index 3f060d5ab64..ebb0132ccca 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/NullTypeMatchesOnlyTheNullObject.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/NumberTypeMatchesNumbers.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/number_type_matches_numbers.NumberTypeMatchesNumbers.md similarity index 92% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/NumberTypeMatchesNumbers.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/number_type_matches_numbers.NumberTypeMatchesNumbers.md index 6871b88fe10..8677be45c25 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/NumberTypeMatchesNumbers.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/number_type_matches_numbers.NumberTypeMatchesNumbers.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.number_type_matches_numbers.NumberTypeMatchesNumbers ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ObjectPropertiesValidation.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/object_properties_validation.ObjectPropertiesValidation.md similarity index 96% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ObjectPropertiesValidation.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/object_properties_validation.ObjectPropertiesValidation.md index faa58cc9bfd..6d4068d3450 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ObjectPropertiesValidation.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/object_properties_validation.ObjectPropertiesValidation.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.object_properties_validation.ObjectPropertiesValidation ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ObjectTypeMatchesObjects.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/object_type_matches_objects.ObjectTypeMatchesObjects.md similarity index 92% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ObjectTypeMatchesObjects.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/object_type_matches_objects.ObjectTypeMatchesObjects.md index 1b171398d1b..8e3aa294b9b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ObjectTypeMatchesObjects.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/object_type_matches_objects.ObjectTypeMatchesObjects.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.object_type_matches_objects.ObjectTypeMatchesObjects ## Model Type Info 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.Oneof.md similarity index 98% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/Oneof.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/oneof.Oneof.md index 35375c9c7f2..4b65291ba61 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.Oneof.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.oneof.Oneof ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/OneofComplexTypes.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/oneof_complex_types.OneofComplexTypes.md similarity index 99% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/OneofComplexTypes.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/oneof_complex_types.OneofComplexTypes.md index 213485c0078..11349d6e05c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/OneofComplexTypes.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/oneof_complex_types.OneofComplexTypes.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.oneof_complex_types.OneofComplexTypes ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/OneofWithBaseSchema.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/oneof_with_base_schema.OneofWithBaseSchema.md similarity index 98% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/OneofWithBaseSchema.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/oneof_with_base_schema.OneofWithBaseSchema.md index fad093b1574..26505515575 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/OneofWithBaseSchema.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/oneof_with_base_schema.OneofWithBaseSchema.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.oneof_with_base_schema.OneofWithBaseSchema ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/OneofWithEmptySchema.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/oneof_with_empty_schema.OneofWithEmptySchema.md similarity index 98% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/OneofWithEmptySchema.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/oneof_with_empty_schema.OneofWithEmptySchema.md index 6cd9eada637..8c062b0fdc5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/OneofWithEmptySchema.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/oneof_with_empty_schema.OneofWithEmptySchema.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.oneof_with_empty_schema.OneofWithEmptySchema ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/OneofWithRequired.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/oneof_with_required.OneofWithRequired.md similarity index 98% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/OneofWithRequired.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/oneof_with_required.OneofWithRequired.md index 0f11f78c7a8..f6422dbb5dc 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/OneofWithRequired.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/oneof_with_required.OneofWithRequired.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.oneof_with_required.OneofWithRequired ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/PatternIsNotAnchored.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/pattern_is_not_anchored.PatternIsNotAnchored.md similarity index 94% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/PatternIsNotAnchored.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/pattern_is_not_anchored.PatternIsNotAnchored.md index cb05508fb9b..27909c08399 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/PatternIsNotAnchored.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/pattern_is_not_anchored.PatternIsNotAnchored.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.pattern_is_not_anchored.PatternIsNotAnchored ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/PatternValidation.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/pattern_validation.PatternValidation.md similarity index 95% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/PatternValidation.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/pattern_validation.PatternValidation.md index f84b9f457a6..be9c9f23ad5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/PatternValidation.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/pattern_validation.PatternValidation.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.pattern_validation.PatternValidation ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/PropertiesWithEscapedCharacters.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/properties_with_escaped_characters.PropertiesWithEscapedCharacters.md similarity index 97% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/PropertiesWithEscapedCharacters.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/properties_with_escaped_characters.PropertiesWithEscapedCharacters.md index 18598d0666c..59fca81b5d7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/PropertiesWithEscapedCharacters.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/properties_with_escaped_characters.PropertiesWithEscapedCharacters.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.properties_with_escaped_characters.PropertiesWithEscapedCharacters ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/PropertyNamedRefThatIsNotAReference.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference.md similarity index 96% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/PropertyNamedRefThatIsNotAReference.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference.md index 22e02378553..59e652f881f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/PropertyNamedRefThatIsNotAReference.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/RefInAdditionalproperties.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ref_in_additionalproperties.RefInAdditionalproperties.md similarity index 67% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/RefInAdditionalproperties.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ref_in_additionalproperties.RefInAdditionalproperties.md index f4f778055ed..d86433c4b2a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/RefInAdditionalproperties.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ref_in_additionalproperties.RefInAdditionalproperties.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.ref_in_additionalproperties.RefInAdditionalproperties ## Model Type Info @@ -8,7 +9,7 @@ dict, frozendict.frozendict, | frozendict.frozendict, | | ### Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**any_string_name** | [**PropertyNamedRefThatIsNotAReference**](PropertyNamedRefThatIsNotAReference.md) | [**PropertyNamedRefThatIsNotAReference**](PropertyNamedRefThatIsNotAReference.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.PropertyNamedRefThatIsNotAReference.md) | [**PropertyNamedRefThatIsNotAReference**](property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference.md) | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/RefInAllof.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ref_in_allof.RefInAllof.md similarity index 66% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/RefInAllof.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ref_in_allof.RefInAllof.md index 90534fa67fb..7d560a868b4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/RefInAllof.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ref_in_allof.RefInAllof.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.ref_in_allof.RefInAllof ## Model Type Info @@ -9,7 +10,7 @@ dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal #### allOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[PropertyNamedRefThatIsNotAReference](PropertyNamedRefThatIsNotAReference.md) | [**PropertyNamedRefThatIsNotAReference**](PropertyNamedRefThatIsNotAReference.md) | [**PropertyNamedRefThatIsNotAReference**](PropertyNamedRefThatIsNotAReference.md) | | +[**PropertyNamedRefThatIsNotAReference**](property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference.md) | [**PropertyNamedRefThatIsNotAReference**](property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference.md) | [**PropertyNamedRefThatIsNotAReference**](property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference.md) | | [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/RefInAnyof.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ref_in_anyof.RefInAnyof.md similarity index 66% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/RefInAnyof.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ref_in_anyof.RefInAnyof.md index 3abb79a4b73..2d5c72bb64b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/RefInAnyof.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ref_in_anyof.RefInAnyof.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.ref_in_anyof.RefInAnyof ## Model Type Info @@ -9,7 +10,7 @@ dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal #### anyOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[PropertyNamedRefThatIsNotAReference](PropertyNamedRefThatIsNotAReference.md) | [**PropertyNamedRefThatIsNotAReference**](PropertyNamedRefThatIsNotAReference.md) | [**PropertyNamedRefThatIsNotAReference**](PropertyNamedRefThatIsNotAReference.md) | | +[**PropertyNamedRefThatIsNotAReference**](property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference.md) | [**PropertyNamedRefThatIsNotAReference**](property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference.md) | [**PropertyNamedRefThatIsNotAReference**](property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference.md) | | [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ref_in_items.RefInItems.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ref_in_items.RefInItems.md new file mode 100644 index 00000000000..4047c8f5217 --- /dev/null +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ref_in_items.RefInItems.md @@ -0,0 +1,15 @@ + +# unit_test_api.components.schema.ref_in_items.RefInItems + +## Model Type Info +Input Type | Accessed Type | Description | Notes +------------ | ------------- | ------------- | ------------- +list, tuple, | tuple, | | + +### Tuple Items +Class Name | Input Type | Accessed Type | Description | Notes +------------- | ------------- | ------------- | ------------- | ------------- +[**PropertyNamedRefThatIsNotAReference**](property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference.md) | [**PropertyNamedRefThatIsNotAReference**](property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference.md) | [**PropertyNamedRefThatIsNotAReference**](property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference.md) | | + +[[Back to Model list]](../../../README.md#documentation-for-models) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../README.md) + diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/RefInNot.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ref_in_not.RefInNot.md similarity index 66% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/RefInNot.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ref_in_not.RefInNot.md index 470ca85e0e0..2c84d2109d9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/RefInNot.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ref_in_not.RefInNot.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.ref_in_not.RefInNot ## Model Type Info @@ -9,7 +10,7 @@ dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal #### not Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[PropertyNamedRefThatIsNotAReference](PropertyNamedRefThatIsNotAReference.md) | [**PropertyNamedRefThatIsNotAReference**](PropertyNamedRefThatIsNotAReference.md) | [**PropertyNamedRefThatIsNotAReference**](PropertyNamedRefThatIsNotAReference.md) | | +[**PropertyNamedRefThatIsNotAReference**](property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference.md) | [**PropertyNamedRefThatIsNotAReference**](property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference.md) | [**PropertyNamedRefThatIsNotAReference**](property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference.md) | | [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/RefInOneof.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ref_in_oneof.RefInOneof.md similarity index 66% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/RefInOneof.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ref_in_oneof.RefInOneof.md index 58469c6f902..d29c2d77c4b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/RefInOneof.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ref_in_oneof.RefInOneof.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.ref_in_oneof.RefInOneof ## Model Type Info @@ -9,7 +10,7 @@ dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal #### oneOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[PropertyNamedRefThatIsNotAReference](PropertyNamedRefThatIsNotAReference.md) | [**PropertyNamedRefThatIsNotAReference**](PropertyNamedRefThatIsNotAReference.md) | [**PropertyNamedRefThatIsNotAReference**](PropertyNamedRefThatIsNotAReference.md) | | +[**PropertyNamedRefThatIsNotAReference**](property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference.md) | [**PropertyNamedRefThatIsNotAReference**](property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference.md) | [**PropertyNamedRefThatIsNotAReference**](property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference.md) | | [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/RefInProperty.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ref_in_property.RefInProperty.md similarity index 78% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/RefInProperty.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ref_in_property.RefInProperty.md index e8ee0136e3c..f54768419c5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/RefInProperty.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/ref_in_property.RefInProperty.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.ref_in_property.RefInProperty ## Model Type Info @@ -8,7 +9,7 @@ dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal ### Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**a** | [**PropertyNamedRefThatIsNotAReference**](PropertyNamedRefThatIsNotAReference.md) | [**PropertyNamedRefThatIsNotAReference**](PropertyNamedRefThatIsNotAReference.md) | | [optional] +**a** | [**PropertyNamedRefThatIsNotAReference**](property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference.md) | [**PropertyNamedRefThatIsNotAReference**](property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference.md) | | [optional] **any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/RequiredDefaultValidation.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/required_default_validation.RequiredDefaultValidation.md similarity index 97% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/RequiredDefaultValidation.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/required_default_validation.RequiredDefaultValidation.md index a0b6d3ee196..fc8f3aa3a00 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/RequiredDefaultValidation.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/required_default_validation.RequiredDefaultValidation.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.required_default_validation.RequiredDefaultValidation ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/RequiredValidation.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/required_validation.RequiredValidation.md similarity index 98% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/RequiredValidation.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/required_validation.RequiredValidation.md index 10763697bd0..f110abfdc09 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/RequiredValidation.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/required_validation.RequiredValidation.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.required_validation.RequiredValidation ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/RequiredWithEmptyArray.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/required_with_empty_array.RequiredWithEmptyArray.md similarity index 97% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/RequiredWithEmptyArray.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/required_with_empty_array.RequiredWithEmptyArray.md index 3f377d25d41..a9ed71feb4f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/RequiredWithEmptyArray.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/required_with_empty_array.RequiredWithEmptyArray.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.required_with_empty_array.RequiredWithEmptyArray ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/RequiredWithEscapedCharacters.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/required_with_escaped_characters.RequiredWithEscapedCharacters.md similarity index 93% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/RequiredWithEscapedCharacters.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/required_with_escaped_characters.RequiredWithEscapedCharacters.md index 813e847cca7..cde1baed168 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/RequiredWithEscapedCharacters.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/required_with_escaped_characters.RequiredWithEscapedCharacters.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.required_with_escaped_characters.RequiredWithEscapedCharacters ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/SimpleEnumValidation.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/simple_enum_validation.SimpleEnumValidation.md similarity index 93% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/SimpleEnumValidation.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/simple_enum_validation.SimpleEnumValidation.md index 68a214a6172..ea0849f4366 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/SimpleEnumValidation.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/simple_enum_validation.SimpleEnumValidation.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.simple_enum_validation.SimpleEnumValidation ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/StringTypeMatchesStrings.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/string_type_matches_strings.StringTypeMatchesStrings.md similarity index 91% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/StringTypeMatchesStrings.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/string_type_matches_strings.StringTypeMatchesStrings.md index cccde39478c..4625be3d425 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/StringTypeMatchesStrings.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/string_type_matches_strings.StringTypeMatchesStrings.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.string_type_matches_strings.StringTypeMatchesStrings ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing.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.TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing.md similarity index 94% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/the_default_keyword_does_not_do_anything_if_the_property_is_missing.TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing.md index f10339d0cfc..50f0b569a5b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing.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.TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.the_default_keyword_does_not_do_anything_if_the_property_is_missing.TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/UniqueitemsFalseValidation.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/uniqueitems_false_validation.UniqueitemsFalseValidation.md similarity index 94% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/UniqueitemsFalseValidation.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/uniqueitems_false_validation.UniqueitemsFalseValidation.md index 03e05f5c2fd..200915b98ec 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/UniqueitemsFalseValidation.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/uniqueitems_false_validation.UniqueitemsFalseValidation.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.uniqueitems_false_validation.UniqueitemsFalseValidation ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/UniqueitemsValidation.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/uniqueitems_validation.UniqueitemsValidation.md similarity index 94% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/UniqueitemsValidation.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/uniqueitems_validation.UniqueitemsValidation.md index 6c9f2e832b9..3e817a7f4ce 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/UniqueitemsValidation.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/uniqueitems_validation.UniqueitemsValidation.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.uniqueitems_validation.UniqueitemsValidation ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/UriFormat.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/uri_format.UriFormat.md similarity index 96% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/UriFormat.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/uri_format.UriFormat.md index ac6aef8fa51..4e8d97d1b4e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/UriFormat.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/uri_format.UriFormat.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.uri_format.UriFormat ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/UriReferenceFormat.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/uri_reference_format.UriReferenceFormat.md similarity index 95% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/UriReferenceFormat.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/uri_reference_format.UriReferenceFormat.md index 2c5b22eec94..cc52d13d302 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/UriReferenceFormat.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/uri_reference_format.UriReferenceFormat.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.uri_reference_format.UriReferenceFormat ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/UriTemplateFormat.md b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/uri_template_format.UriTemplateFormat.md similarity index 95% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/UriTemplateFormat.md rename to samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/uri_template_format.UriTemplateFormat.md index d4269c34379..9e5beaeb037 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/UriTemplateFormat.md +++ b/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/uri_template_format.UriTemplateFormat.md @@ -1,3 +1,4 @@ + # unit_test_api.components.schema.uri_template_format.UriTemplateFormat ## Model Type Info diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_additionalproperties.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_additionalproperties.py index 9cc73aac392..23d9201c7d1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_additionalproperties.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_additionalproperties.py @@ -36,21 +36,21 @@ class RefInAdditionalproperties( class MetaOapg: @staticmethod - def additional_properties() -> typing.Type['PropertyNamedRefThatIsNotAReference']: - return PropertyNamedRefThatIsNotAReference + def additional_properties() -> typing.Type['property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference']: + return property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference - def __getitem__(self, name: typing.Union[str, ]) -> 'PropertyNamedRefThatIsNotAReference': + def __getitem__(self, name: typing.Union[str, ]) -> 'property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference': # dict_instance[name] accessor return super().__getitem__(name) - def get_item_oapg(self, name: typing.Union[str, ]) -> 'PropertyNamedRefThatIsNotAReference': + def get_item_oapg(self, name: typing.Union[str, ]) -> 'property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference': return super().get_item_oapg(name) def __new__( cls, *args: typing.Union[dict, frozendict.frozendict, ], _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: 'PropertyNamedRefThatIsNotAReference', + **kwargs: 'property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference', ) -> 'RefInAdditionalproperties': return super().__new__( cls, @@ -59,4 +59,4 @@ def __new__( **kwargs, ) -from unit_test_api.components.schema.property_named_ref_that_is_not_a_reference import PropertyNamedRefThatIsNotAReference +from unit_test_api.components.schema import property_named_ref_that_is_not_a_reference diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_additionalproperties.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_additionalproperties.pyi index 9cc73aac392..23d9201c7d1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_additionalproperties.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_additionalproperties.pyi @@ -36,21 +36,21 @@ class RefInAdditionalproperties( class MetaOapg: @staticmethod - def additional_properties() -> typing.Type['PropertyNamedRefThatIsNotAReference']: - return PropertyNamedRefThatIsNotAReference + def additional_properties() -> typing.Type['property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference']: + return property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference - def __getitem__(self, name: typing.Union[str, ]) -> 'PropertyNamedRefThatIsNotAReference': + def __getitem__(self, name: typing.Union[str, ]) -> 'property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference': # dict_instance[name] accessor return super().__getitem__(name) - def get_item_oapg(self, name: typing.Union[str, ]) -> 'PropertyNamedRefThatIsNotAReference': + def get_item_oapg(self, name: typing.Union[str, ]) -> 'property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference': return super().get_item_oapg(name) def __new__( cls, *args: typing.Union[dict, frozendict.frozendict, ], _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: 'PropertyNamedRefThatIsNotAReference', + **kwargs: 'property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference', ) -> 'RefInAdditionalproperties': return super().__new__( cls, @@ -59,4 +59,4 @@ class RefInAdditionalproperties( **kwargs, ) -from unit_test_api.components.schema.property_named_ref_that_is_not_a_reference import PropertyNamedRefThatIsNotAReference +from unit_test_api.components.schema import property_named_ref_that_is_not_a_reference diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_allof.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_allof.py index 92bf14b1702..4f6711896db 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_allof.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_allof.py @@ -46,7 +46,7 @@ def all_of(cls): # classes don't exist yet because their module has not finished # loading return [ - PropertyNamedRefThatIsNotAReference, + property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference, ] @@ -63,4 +63,4 @@ def __new__( **kwargs, ) -from unit_test_api.components.schema.property_named_ref_that_is_not_a_reference import PropertyNamedRefThatIsNotAReference +from unit_test_api.components.schema import property_named_ref_that_is_not_a_reference diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_allof.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_allof.pyi index 92bf14b1702..4f6711896db 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_allof.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_allof.pyi @@ -46,7 +46,7 @@ class RefInAllof( # classes don't exist yet because their module has not finished # loading return [ - PropertyNamedRefThatIsNotAReference, + property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference, ] @@ -63,4 +63,4 @@ class RefInAllof( **kwargs, ) -from unit_test_api.components.schema.property_named_ref_that_is_not_a_reference import PropertyNamedRefThatIsNotAReference +from unit_test_api.components.schema import property_named_ref_that_is_not_a_reference diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_anyof.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_anyof.py index 3f6479bdee2..742f0802d98 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_anyof.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_anyof.py @@ -46,7 +46,7 @@ def any_of(cls): # classes don't exist yet because their module has not finished # loading return [ - PropertyNamedRefThatIsNotAReference, + property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference, ] @@ -63,4 +63,4 @@ def __new__( **kwargs, ) -from unit_test_api.components.schema.property_named_ref_that_is_not_a_reference import PropertyNamedRefThatIsNotAReference +from unit_test_api.components.schema import property_named_ref_that_is_not_a_reference diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_anyof.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_anyof.pyi index 3f6479bdee2..742f0802d98 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_anyof.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_anyof.pyi @@ -46,7 +46,7 @@ class RefInAnyof( # classes don't exist yet because their module has not finished # loading return [ - PropertyNamedRefThatIsNotAReference, + property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference, ] @@ -63,4 +63,4 @@ class RefInAnyof( **kwargs, ) -from unit_test_api.components.schema.property_named_ref_that_is_not_a_reference import PropertyNamedRefThatIsNotAReference +from unit_test_api.components.schema import property_named_ref_that_is_not_a_reference diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_items.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_items.py index 2b91677ec1d..934a363016f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_items.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_items.py @@ -36,12 +36,12 @@ class RefInItems( class MetaOapg: @staticmethod - def items() -> typing.Type['PropertyNamedRefThatIsNotAReference']: - return PropertyNamedRefThatIsNotAReference + def items() -> typing.Type['property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference']: + return property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference def __new__( cls, - arg: typing.Union[typing.Tuple['PropertyNamedRefThatIsNotAReference'], typing.List['PropertyNamedRefThatIsNotAReference']], + arg: typing.Union[typing.Tuple['property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference'], typing.List['property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference']], _configuration: typing.Optional[schemas.Configuration] = None, ) -> 'RefInItems': return super().__new__( @@ -50,7 +50,7 @@ def __new__( _configuration=_configuration, ) - def __getitem__(self, i: int) -> 'PropertyNamedRefThatIsNotAReference': + def __getitem__(self, i: int) -> 'property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference': return super().__getitem__(i) -from unit_test_api.components.schema.property_named_ref_that_is_not_a_reference import PropertyNamedRefThatIsNotAReference +from unit_test_api.components.schema import property_named_ref_that_is_not_a_reference diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_items.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_items.pyi index 2b91677ec1d..934a363016f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_items.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_items.pyi @@ -36,12 +36,12 @@ class RefInItems( class MetaOapg: @staticmethod - def items() -> typing.Type['PropertyNamedRefThatIsNotAReference']: - return PropertyNamedRefThatIsNotAReference + def items() -> typing.Type['property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference']: + return property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference def __new__( cls, - arg: typing.Union[typing.Tuple['PropertyNamedRefThatIsNotAReference'], typing.List['PropertyNamedRefThatIsNotAReference']], + arg: typing.Union[typing.Tuple['property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference'], typing.List['property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference']], _configuration: typing.Optional[schemas.Configuration] = None, ) -> 'RefInItems': return super().__new__( @@ -50,7 +50,7 @@ class RefInItems( _configuration=_configuration, ) - def __getitem__(self, i: int) -> 'PropertyNamedRefThatIsNotAReference': + def __getitem__(self, i: int) -> 'property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference': return super().__getitem__(i) -from unit_test_api.components.schema.property_named_ref_that_is_not_a_reference import PropertyNamedRefThatIsNotAReference +from unit_test_api.components.schema import property_named_ref_that_is_not_a_reference diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_not.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_not.py index 2fff970bc4e..89a6469b77e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_not.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_not.py @@ -36,8 +36,8 @@ class RefInNot( class MetaOapg: @staticmethod - def not_schema() -> typing.Type['PropertyNamedRefThatIsNotAReference']: - return PropertyNamedRefThatIsNotAReference + def not_schema() -> typing.Type['property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference']: + return property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference def __new__( @@ -53,4 +53,4 @@ def __new__( **kwargs, ) -from unit_test_api.components.schema.property_named_ref_that_is_not_a_reference import PropertyNamedRefThatIsNotAReference +from unit_test_api.components.schema import property_named_ref_that_is_not_a_reference diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_not.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_not.pyi index 2fff970bc4e..89a6469b77e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_not.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_not.pyi @@ -36,8 +36,8 @@ class RefInNot( class MetaOapg: @staticmethod - def not_schema() -> typing.Type['PropertyNamedRefThatIsNotAReference']: - return PropertyNamedRefThatIsNotAReference + def not_schema() -> typing.Type['property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference']: + return property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference def __new__( @@ -53,4 +53,4 @@ class RefInNot( **kwargs, ) -from unit_test_api.components.schema.property_named_ref_that_is_not_a_reference import PropertyNamedRefThatIsNotAReference +from unit_test_api.components.schema import property_named_ref_that_is_not_a_reference diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_oneof.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_oneof.py index 2f19ec7bc23..2c55ae645b8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_oneof.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_oneof.py @@ -46,7 +46,7 @@ def one_of(cls): # classes don't exist yet because their module has not finished # loading return [ - PropertyNamedRefThatIsNotAReference, + property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference, ] @@ -63,4 +63,4 @@ def __new__( **kwargs, ) -from unit_test_api.components.schema.property_named_ref_that_is_not_a_reference import PropertyNamedRefThatIsNotAReference +from unit_test_api.components.schema import property_named_ref_that_is_not_a_reference diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_oneof.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_oneof.pyi index 2f19ec7bc23..2c55ae645b8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_oneof.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_oneof.pyi @@ -46,7 +46,7 @@ class RefInOneof( # classes don't exist yet because their module has not finished # loading return [ - PropertyNamedRefThatIsNotAReference, + property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference, ] @@ -63,4 +63,4 @@ class RefInOneof( **kwargs, ) -from unit_test_api.components.schema.property_named_ref_that_is_not_a_reference import PropertyNamedRefThatIsNotAReference +from unit_test_api.components.schema import property_named_ref_that_is_not_a_reference diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_property.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_property.py index db766044b38..e975a1272ff 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_property.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_property.py @@ -38,15 +38,15 @@ class MetaOapg: class properties: @staticmethod - def a() -> typing.Type['PropertyNamedRefThatIsNotAReference']: - return PropertyNamedRefThatIsNotAReference + def a() -> typing.Type['property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference']: + return property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference __annotations__ = { "a": a, } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["a"]) -> 'PropertyNamedRefThatIsNotAReference': ... + def __getitem__(self, name: typing_extensions.Literal["a"]) -> 'property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference': ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -57,7 +57,7 @@ def __getitem__(self, name: typing.Union[typing_extensions.Literal["a", ], str]) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["a"]) -> typing.Union['PropertyNamedRefThatIsNotAReference', schemas.Unset]: ... + def get_item_oapg(self, name: typing_extensions.Literal["a"]) -> typing.Union['property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference', schemas.Unset]: ... @typing.overload def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -69,7 +69,7 @@ def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["a", ], str def __new__( cls, *args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - a: typing.Union['PropertyNamedRefThatIsNotAReference', schemas.Unset] = schemas.unset, + a: typing.Union['property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference', schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.Configuration] = None, **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], ) -> 'RefInProperty': @@ -81,4 +81,4 @@ def __new__( **kwargs, ) -from unit_test_api.components.schema.property_named_ref_that_is_not_a_reference import PropertyNamedRefThatIsNotAReference +from unit_test_api.components.schema import property_named_ref_that_is_not_a_reference diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_property.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_property.pyi index db766044b38..e975a1272ff 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_property.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/components/schema/ref_in_property.pyi @@ -38,15 +38,15 @@ class RefInProperty( class properties: @staticmethod - def a() -> typing.Type['PropertyNamedRefThatIsNotAReference']: - return PropertyNamedRefThatIsNotAReference + def a() -> typing.Type['property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference']: + return property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference __annotations__ = { "a": a, } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["a"]) -> 'PropertyNamedRefThatIsNotAReference': ... + def __getitem__(self, name: typing_extensions.Literal["a"]) -> 'property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference': ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -57,7 +57,7 @@ class RefInProperty( @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["a"]) -> typing.Union['PropertyNamedRefThatIsNotAReference', schemas.Unset]: ... + def get_item_oapg(self, name: typing_extensions.Literal["a"]) -> typing.Union['property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference', schemas.Unset]: ... @typing.overload def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -69,7 +69,7 @@ class RefInProperty( def __new__( cls, *args: typing.Union[dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, ], - a: typing.Union['PropertyNamedRefThatIsNotAReference', schemas.Unset] = schemas.unset, + a: typing.Union['property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference', schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.Configuration] = None, **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], ) -> 'RefInProperty': @@ -81,4 +81,4 @@ class RefInProperty( **kwargs, ) -from unit_test_api.components.schema.property_named_ref_that_is_not_a_reference import PropertyNamedRefThatIsNotAReference +from unit_test_api.components.schema import property_named_ref_that_is_not_a_reference diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_allows_a_schema_which_should_validate_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_allows_a_schema_which_should_validate_request_body/post/__init__.py index 9b0d9bde9c7..468cb9a11a2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_allows_a_schema_which_should_validate_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_allows_a_schema_which_should_validate_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.additionalproperties_allows_a_schema_which_should_validate import AdditionalpropertiesAllowsASchemaWhichShouldValidate +from unit_test_api.components.schema import additionalproperties_allows_a_schema_which_should_validate from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_allows_a_schema_which_should_validate_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_allows_a_schema_which_should_validate_request_body/post/__init__.pyi index a13efd709c7..0773b3bd38f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_allows_a_schema_which_should_validate_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_allows_a_schema_which_should_validate_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.additionalproperties_allows_a_schema_which_should_validate import AdditionalpropertiesAllowsASchemaWhichShouldValidate +from unit_test_api.components.schema import additionalproperties_allows_a_schema_which_should_validate from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_allows_a_schema_which_should_validate_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_allows_a_schema_which_should_validate_request_body/post/request_body.py index 016f83d764a..5a6bceece44 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_allows_a_schema_which_should_validate_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_allows_a_schema_which_should_validate_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.additionalproperties_allows_a_schema_which_should_validate import AdditionalpropertiesAllowsASchemaWhichShouldValidate +from unit_test_api.components.schema import additionalproperties_allows_a_schema_which_should_validate -application_json = AdditionalpropertiesAllowsASchemaWhichShouldValidate +application_json = additionalproperties_allows_a_schema_which_should_validate.AdditionalpropertiesAllowsASchemaWhichShouldValidate parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/__init__.py index 961b9022108..22aeacfb904 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.additionalproperties_are_allowed_by_default import AdditionalpropertiesAreAllowedByDefault +from unit_test_api.components.schema import additionalproperties_are_allowed_by_default from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/__init__.pyi index d80cf6f21ff..990993bfa02 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.additionalproperties_are_allowed_by_default import AdditionalpropertiesAreAllowedByDefault +from unit_test_api.components.schema import additionalproperties_are_allowed_by_default from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/request_body.py index 6e60d969987..0c30d3fe859 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_are_allowed_by_default_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.additionalproperties_are_allowed_by_default import AdditionalpropertiesAreAllowedByDefault +from unit_test_api.components.schema import additionalproperties_are_allowed_by_default -application_json = AdditionalpropertiesAreAllowedByDefault +application_json = additionalproperties_are_allowed_by_default.AdditionalpropertiesAreAllowedByDefault parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/__init__.py index 53c35c6d16a..5f5f1ab1cdd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.additionalproperties_can_exist_by_itself import AdditionalpropertiesCanExistByItself +from unit_test_api.components.schema import additionalproperties_can_exist_by_itself from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/__init__.pyi index 0304c1042ab..cafad1a24c5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.additionalproperties_can_exist_by_itself import AdditionalpropertiesCanExistByItself +from unit_test_api.components.schema import additionalproperties_can_exist_by_itself from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/request_body.py index 508c2b476ba..a698525bece 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_can_exist_by_itself_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.additionalproperties_can_exist_by_itself import AdditionalpropertiesCanExistByItself +from unit_test_api.components.schema import additionalproperties_can_exist_by_itself -application_json = AdditionalpropertiesCanExistByItself +application_json = additionalproperties_can_exist_by_itself.AdditionalpropertiesCanExistByItself parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_should_not_look_in_applicators_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_should_not_look_in_applicators_request_body/post/__init__.py index dc3c8090d12..940818849be 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_should_not_look_in_applicators_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_should_not_look_in_applicators_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.additionalproperties_should_not_look_in_applicators import AdditionalpropertiesShouldNotLookInApplicators +from unit_test_api.components.schema import additionalproperties_should_not_look_in_applicators from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_should_not_look_in_applicators_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_should_not_look_in_applicators_request_body/post/__init__.pyi index 1f00747739c..6fd42f0198f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_should_not_look_in_applicators_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_should_not_look_in_applicators_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.additionalproperties_should_not_look_in_applicators import AdditionalpropertiesShouldNotLookInApplicators +from unit_test_api.components.schema import additionalproperties_should_not_look_in_applicators from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_should_not_look_in_applicators_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_should_not_look_in_applicators_request_body/post/request_body.py index 2ce93a78af7..f51080ce843 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_should_not_look_in_applicators_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_additionalproperties_should_not_look_in_applicators_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.additionalproperties_should_not_look_in_applicators import AdditionalpropertiesShouldNotLookInApplicators +from unit_test_api.components.schema import additionalproperties_should_not_look_in_applicators -application_json = AdditionalpropertiesShouldNotLookInApplicators +application_json = additionalproperties_should_not_look_in_applicators.AdditionalpropertiesShouldNotLookInApplicators parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/__init__.py index e2021254b71..d1821b4dfae 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.allof_combined_with_anyof_oneof import AllofCombinedWithAnyofOneof +from unit_test_api.components.schema import allof_combined_with_anyof_oneof from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/__init__.pyi index 8d0a520c003..d93447e4be8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.allof_combined_with_anyof_oneof import AllofCombinedWithAnyofOneof +from unit_test_api.components.schema import allof_combined_with_anyof_oneof from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/request_body.py index 7738cf2c21c..b8bcbcb490f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_combined_with_anyof_oneof_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.allof_combined_with_anyof_oneof import AllofCombinedWithAnyofOneof +from unit_test_api.components.schema import allof_combined_with_anyof_oneof -application_json = AllofCombinedWithAnyofOneof +application_json = allof_combined_with_anyof_oneof.AllofCombinedWithAnyofOneof parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_request_body/post/__init__.py index a9dddd24bd2..c3c15fd259a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.allof import Allof +from unit_test_api.components.schema import allof from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_request_body/post/__init__.pyi index 71b21d6c079..95ba99e1676 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.allof import Allof +from unit_test_api.components.schema import allof from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_request_body/post/request_body.py index 5ce6b67f73f..ad253afd94f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.allof import Allof +from unit_test_api.components.schema import allof -application_json = Allof +application_json = allof.Allof parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/__init__.py index 08bd239b9b9..7aba50c1a2b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.allof_simple_types import AllofSimpleTypes +from unit_test_api.components.schema import allof_simple_types from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/__init__.pyi index 05533bbf8e4..58766e5bcbd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.allof_simple_types import AllofSimpleTypes +from unit_test_api.components.schema import allof_simple_types from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/request_body.py index 88f5b043385..3ad3fb6f343 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_simple_types_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.allof_simple_types import AllofSimpleTypes +from unit_test_api.components.schema import allof_simple_types -application_json = AllofSimpleTypes +application_json = allof_simple_types.AllofSimpleTypes parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/__init__.py index 7ead559aad2..a8cea61eef0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.allof_with_base_schema import AllofWithBaseSchema +from unit_test_api.components.schema import allof_with_base_schema from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/__init__.pyi index 1d890a5538a..b0bcdb9eef9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.allof_with_base_schema import AllofWithBaseSchema +from unit_test_api.components.schema import allof_with_base_schema from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/request_body.py index 95f7398115f..ab685b87c72 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_base_schema_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.allof_with_base_schema import AllofWithBaseSchema +from unit_test_api.components.schema import allof_with_base_schema -application_json = AllofWithBaseSchema +application_json = allof_with_base_schema.AllofWithBaseSchema parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/__init__.py index 1d8a3cfd494..8234348eb90 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.allof_with_one_empty_schema import AllofWithOneEmptySchema +from unit_test_api.components.schema import allof_with_one_empty_schema from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/__init__.pyi index 2a7eb1283f2..6a48f4b3d11 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.allof_with_one_empty_schema import AllofWithOneEmptySchema +from unit_test_api.components.schema import allof_with_one_empty_schema from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/request_body.py index d5d36a1ae54..df9f1240a5f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_one_empty_schema_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.allof_with_one_empty_schema import AllofWithOneEmptySchema +from unit_test_api.components.schema import allof_with_one_empty_schema -application_json = AllofWithOneEmptySchema +application_json = allof_with_one_empty_schema.AllofWithOneEmptySchema parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/__init__.py index 7779c1d8f10..8f78874386a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.allof_with_the_first_empty_schema import AllofWithTheFirstEmptySchema +from unit_test_api.components.schema import allof_with_the_first_empty_schema from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/__init__.pyi index f24da4bd183..a950dbb758d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.allof_with_the_first_empty_schema import AllofWithTheFirstEmptySchema +from unit_test_api.components.schema import allof_with_the_first_empty_schema from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/request_body.py index 825c6d9390a..b025d1a5f07 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_the_first_empty_schema_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.allof_with_the_first_empty_schema import AllofWithTheFirstEmptySchema +from unit_test_api.components.schema import allof_with_the_first_empty_schema -application_json = AllofWithTheFirstEmptySchema +application_json = allof_with_the_first_empty_schema.AllofWithTheFirstEmptySchema parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/__init__.py index 900eaedcc36..77ddbb81442 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.allof_with_the_last_empty_schema import AllofWithTheLastEmptySchema +from unit_test_api.components.schema import allof_with_the_last_empty_schema from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/__init__.pyi index 88b99c46abe..fd6ae768b86 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.allof_with_the_last_empty_schema import AllofWithTheLastEmptySchema +from unit_test_api.components.schema import allof_with_the_last_empty_schema from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/request_body.py index 5b77fdf99e9..7c40f51c117 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_the_last_empty_schema_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.allof_with_the_last_empty_schema import AllofWithTheLastEmptySchema +from unit_test_api.components.schema import allof_with_the_last_empty_schema -application_json = AllofWithTheLastEmptySchema +application_json = allof_with_the_last_empty_schema.AllofWithTheLastEmptySchema parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/__init__.py index 6e6ecd04a58..23f1d1e661a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.allof_with_two_empty_schemas import AllofWithTwoEmptySchemas +from unit_test_api.components.schema import allof_with_two_empty_schemas from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/__init__.pyi index 8ccaaaaba72..5bd72388a2d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.allof_with_two_empty_schemas import AllofWithTwoEmptySchemas +from unit_test_api.components.schema import allof_with_two_empty_schemas from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/request_body.py index d4c2159ec58..4b399fc225e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_allof_with_two_empty_schemas_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.allof_with_two_empty_schemas import AllofWithTwoEmptySchemas +from unit_test_api.components.schema import allof_with_two_empty_schemas -application_json = AllofWithTwoEmptySchemas +application_json = allof_with_two_empty_schemas.AllofWithTwoEmptySchemas parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/__init__.py index 5d36196598b..d991e89f016 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.anyof_complex_types import AnyofComplexTypes +from unit_test_api.components.schema import anyof_complex_types from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/__init__.pyi index 71559ea2fd6..cf4b6393f6a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.anyof_complex_types import AnyofComplexTypes +from unit_test_api.components.schema import anyof_complex_types from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/request_body.py index 0ce93ee09ba..728de6b8fd0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_complex_types_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.anyof_complex_types import AnyofComplexTypes +from unit_test_api.components.schema import anyof_complex_types -application_json = AnyofComplexTypes +application_json = anyof_complex_types.AnyofComplexTypes parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_request_body/post/__init__.py index 406c187cefc..b71cbeac5b6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.anyof import Anyof +from unit_test_api.components.schema import anyof from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_request_body/post/__init__.pyi index 6c38453386e..718e2a82260 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.anyof import Anyof +from unit_test_api.components.schema import anyof from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_request_body/post/request_body.py index ae80da59499..c5be5a7eb04 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.anyof import Anyof +from unit_test_api.components.schema import anyof -application_json = Anyof +application_json = anyof.Anyof parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/__init__.py index 151f124873b..1f6f2fa3219 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.anyof_with_base_schema import AnyofWithBaseSchema +from unit_test_api.components.schema import anyof_with_base_schema from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/__init__.pyi index 7efcbc36ad1..0e6fdbf723b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.anyof_with_base_schema import AnyofWithBaseSchema +from unit_test_api.components.schema import anyof_with_base_schema from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/request_body.py index 22b9e2d103a..ba2663581cc 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_with_base_schema_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.anyof_with_base_schema import AnyofWithBaseSchema +from unit_test_api.components.schema import anyof_with_base_schema -application_json = AnyofWithBaseSchema +application_json = anyof_with_base_schema.AnyofWithBaseSchema parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/__init__.py index 6e9ecb4e708..096a77650ab 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.anyof_with_one_empty_schema import AnyofWithOneEmptySchema +from unit_test_api.components.schema import anyof_with_one_empty_schema from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/__init__.pyi index 67245896c46..eb2964a1daa 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.anyof_with_one_empty_schema import AnyofWithOneEmptySchema +from unit_test_api.components.schema import anyof_with_one_empty_schema from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/request_body.py index 7e856ec5791..ea8a5255550 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_anyof_with_one_empty_schema_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.anyof_with_one_empty_schema import AnyofWithOneEmptySchema +from unit_test_api.components.schema import anyof_with_one_empty_schema -application_json = AnyofWithOneEmptySchema +application_json = anyof_with_one_empty_schema.AnyofWithOneEmptySchema parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/__init__.py index 609aea929ba..b459ec7474f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.array_type_matches_arrays import ArrayTypeMatchesArrays +from unit_test_api.components.schema import array_type_matches_arrays from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/__init__.pyi index 2f73b4eb7ee..ca9442229a8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.array_type_matches_arrays import ArrayTypeMatchesArrays +from unit_test_api.components.schema import array_type_matches_arrays from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/request_body.py index 84f1efddf1d..459019e332f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_array_type_matches_arrays_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.array_type_matches_arrays import ArrayTypeMatchesArrays +from unit_test_api.components.schema import array_type_matches_arrays -application_json = ArrayTypeMatchesArrays +application_json = array_type_matches_arrays.ArrayTypeMatchesArrays parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/__init__.py index 6144755603c..1b256050740 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.boolean_type_matches_booleans import BooleanTypeMatchesBooleans +from unit_test_api.components.schema import boolean_type_matches_booleans from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/__init__.pyi index c71a1b0b8a2..a26eafc9d56 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.boolean_type_matches_booleans import BooleanTypeMatchesBooleans +from unit_test_api.components.schema import boolean_type_matches_booleans from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/request_body.py index e3f074f812d..46821c383cc 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_boolean_type_matches_booleans_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.boolean_type_matches_booleans import BooleanTypeMatchesBooleans +from unit_test_api.components.schema import boolean_type_matches_booleans -application_json = BooleanTypeMatchesBooleans +application_json = boolean_type_matches_booleans.BooleanTypeMatchesBooleans parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_int_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_int_request_body/post/__init__.py index 0e949741f7e..8f969e03c7e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_int_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_int_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.by_int import ByInt +from unit_test_api.components.schema import by_int from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_int_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_int_request_body/post/__init__.pyi index 6e6c1c09d1c..dfca2f7872c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_int_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_int_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.by_int import ByInt +from unit_test_api.components.schema import by_int from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_int_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_int_request_body/post/request_body.py index 591cb20ecb0..fb25833bda9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_int_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_int_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.by_int import ByInt +from unit_test_api.components.schema import by_int -application_json = ByInt +application_json = by_int.ByInt parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_number_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_number_request_body/post/__init__.py index 770e187c287..7d6c2d37905 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_number_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_number_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.by_number import ByNumber +from unit_test_api.components.schema import by_number from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_number_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_number_request_body/post/__init__.pyi index 77c2cb819d4..63245467b93 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_number_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_number_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.by_number import ByNumber +from unit_test_api.components.schema import by_number from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_number_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_number_request_body/post/request_body.py index f530b32451f..816b4d52eab 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_number_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_number_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.by_number import ByNumber +from unit_test_api.components.schema import by_number -application_json = ByNumber +application_json = by_number.ByNumber parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_small_number_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_small_number_request_body/post/__init__.py index 9f37c4c9dc2..659b6eaf957 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_small_number_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_small_number_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.by_small_number import BySmallNumber +from unit_test_api.components.schema import by_small_number from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_small_number_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_small_number_request_body/post/__init__.pyi index a591b3175cd..791451da186 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_small_number_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_small_number_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.by_small_number import BySmallNumber +from unit_test_api.components.schema import by_small_number from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_small_number_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_small_number_request_body/post/request_body.py index 1dccd63d285..5e4a6d8c783 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_small_number_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_by_small_number_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.by_small_number import BySmallNumber +from unit_test_api.components.schema import by_small_number -application_json = BySmallNumber +application_json = by_small_number.BySmallNumber parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_date_time_format_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_date_time_format_request_body/post/__init__.py index c22d773777c..c9d57f9ad83 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_date_time_format_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_date_time_format_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.date_time_format import DateTimeFormat +from unit_test_api.components.schema import date_time_format from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_date_time_format_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_date_time_format_request_body/post/__init__.pyi index a1360fbe6f6..6a6d3a9b921 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_date_time_format_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_date_time_format_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.date_time_format import DateTimeFormat +from unit_test_api.components.schema import date_time_format from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_date_time_format_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_date_time_format_request_body/post/request_body.py index 2fa7a7f01b6..192df0d7fd3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_date_time_format_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_date_time_format_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.date_time_format import DateTimeFormat +from unit_test_api.components.schema import date_time_format -application_json = DateTimeFormat +application_json = date_time_format.DateTimeFormat parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_email_format_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_email_format_request_body/post/__init__.py index 89a71bbb9a8..b7803ef65a8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_email_format_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_email_format_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.email_format import EmailFormat +from unit_test_api.components.schema import email_format from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_email_format_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_email_format_request_body/post/__init__.pyi index 33d88c72cb5..00dc8c221bb 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_email_format_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_email_format_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.email_format import EmailFormat +from unit_test_api.components.schema import email_format from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_email_format_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_email_format_request_body/post/request_body.py index 66b1eaa3d2c..2d3f496e225 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_email_format_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_email_format_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.email_format import EmailFormat +from unit_test_api.components.schema import email_format -application_json = EmailFormat +application_json = email_format.EmailFormat parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/__init__.py index a31bdef117a..9c395d38a91 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.enum_with0_does_not_match_false import EnumWith0DoesNotMatchFalse +from unit_test_api.components.schema import enum_with0_does_not_match_false from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/__init__.pyi index 50a664c5c35..c1ffbc631e3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.enum_with0_does_not_match_false import EnumWith0DoesNotMatchFalse +from unit_test_api.components.schema import enum_with0_does_not_match_false from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/request_body.py index 01bde202cc0..37a25fc566a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with0_does_not_match_false_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.enum_with0_does_not_match_false import EnumWith0DoesNotMatchFalse +from unit_test_api.components.schema import enum_with0_does_not_match_false -application_json = EnumWith0DoesNotMatchFalse +application_json = enum_with0_does_not_match_false.EnumWith0DoesNotMatchFalse parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/__init__.py index 3f3d5e71c39..7e3b7253590 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.enum_with1_does_not_match_true import EnumWith1DoesNotMatchTrue +from unit_test_api.components.schema import enum_with1_does_not_match_true from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/__init__.pyi index 4664a7e60e8..4ecf03ecae2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.enum_with1_does_not_match_true import EnumWith1DoesNotMatchTrue +from unit_test_api.components.schema import enum_with1_does_not_match_true from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/request_body.py index 64822498311..f48222d1924 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with1_does_not_match_true_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.enum_with1_does_not_match_true import EnumWith1DoesNotMatchTrue +from unit_test_api.components.schema import enum_with1_does_not_match_true -application_json = EnumWith1DoesNotMatchTrue +application_json = enum_with1_does_not_match_true.EnumWith1DoesNotMatchTrue parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/__init__.py index 6edac805f95..dbbd5ba8dd3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.enum_with_escaped_characters import EnumWithEscapedCharacters +from unit_test_api.components.schema import enum_with_escaped_characters from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/__init__.pyi index 2249ef427ca..806ca05f6ce 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.enum_with_escaped_characters import EnumWithEscapedCharacters +from unit_test_api.components.schema import enum_with_escaped_characters from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/request_body.py index b8dbd4d7bff..c889721137a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_escaped_characters_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.enum_with_escaped_characters import EnumWithEscapedCharacters +from unit_test_api.components.schema import enum_with_escaped_characters -application_json = EnumWithEscapedCharacters +application_json = enum_with_escaped_characters.EnumWithEscapedCharacters parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/__init__.py index 1cbec3ba8bd..e346a6d8744 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.enum_with_false_does_not_match0 import EnumWithFalseDoesNotMatch0 +from unit_test_api.components.schema import enum_with_false_does_not_match0 from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/__init__.pyi index 6bc77a6e6d1..f7e5501f9f9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.enum_with_false_does_not_match0 import EnumWithFalseDoesNotMatch0 +from unit_test_api.components.schema import enum_with_false_does_not_match0 from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/request_body.py index 4612697d61d..1377b6876dd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_false_does_not_match0_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.enum_with_false_does_not_match0 import EnumWithFalseDoesNotMatch0 +from unit_test_api.components.schema import enum_with_false_does_not_match0 -application_json = EnumWithFalseDoesNotMatch0 +application_json = enum_with_false_does_not_match0.EnumWithFalseDoesNotMatch0 parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/__init__.py index 428660c1a3b..64f99127dc4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.enum_with_true_does_not_match1 import EnumWithTrueDoesNotMatch1 +from unit_test_api.components.schema import enum_with_true_does_not_match1 from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/__init__.pyi index ccaec0ea679..7e0069805d0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.enum_with_true_does_not_match1 import EnumWithTrueDoesNotMatch1 +from unit_test_api.components.schema import enum_with_true_does_not_match1 from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/request_body.py index c0fd28b3a24..4ce36b1983a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enum_with_true_does_not_match1_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.enum_with_true_does_not_match1 import EnumWithTrueDoesNotMatch1 +from unit_test_api.components.schema import enum_with_true_does_not_match1 -application_json = EnumWithTrueDoesNotMatch1 +application_json = enum_with_true_does_not_match1.EnumWithTrueDoesNotMatch1 parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/__init__.py index 32b53d29a69..dadaef457b3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.enums_in_properties import EnumsInProperties +from unit_test_api.components.schema import enums_in_properties from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/__init__.pyi index 650f660f745..6482eae8d7a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.enums_in_properties import EnumsInProperties +from unit_test_api.components.schema import enums_in_properties from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/request_body.py index d0b11f6c9f4..5df8216bcfc 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_enums_in_properties_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.enums_in_properties import EnumsInProperties +from unit_test_api.components.schema import enums_in_properties -application_json = EnumsInProperties +application_json = enums_in_properties.EnumsInProperties parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/__init__.py index f80fd81e93a..74cf3236eb4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.forbidden_property import ForbiddenProperty +from unit_test_api.components.schema import forbidden_property from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/__init__.pyi index 80f73d768ce..44fc2b6ec9e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.forbidden_property import ForbiddenProperty +from unit_test_api.components.schema import forbidden_property from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/request_body.py index 5bcf7b53efa..2de77bfc3b2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_forbidden_property_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.forbidden_property import ForbiddenProperty +from unit_test_api.components.schema import forbidden_property -application_json = ForbiddenProperty +application_json = forbidden_property.ForbiddenProperty parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_hostname_format_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_hostname_format_request_body/post/__init__.py index 4dbb94f6465..85f9b533aa0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_hostname_format_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_hostname_format_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.hostname_format import HostnameFormat +from unit_test_api.components.schema import hostname_format from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_hostname_format_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_hostname_format_request_body/post/__init__.pyi index 266ee5afba0..0d2e828c48b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_hostname_format_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_hostname_format_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.hostname_format import HostnameFormat +from unit_test_api.components.schema import hostname_format from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_hostname_format_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_hostname_format_request_body/post/request_body.py index fced9ffc36a..a4e4b44e3d1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_hostname_format_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_hostname_format_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.hostname_format import HostnameFormat +from unit_test_api.components.schema import hostname_format -application_json = HostnameFormat +application_json = hostname_format.HostnameFormat parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/__init__.py index 9fa6c4424a8..b848863d89b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.integer_type_matches_integers import IntegerTypeMatchesIntegers +from unit_test_api.components.schema import integer_type_matches_integers from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/__init__.pyi index 2525aecce5f..19c143ac1ea 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.integer_type_matches_integers import IntegerTypeMatchesIntegers +from unit_test_api.components.schema import integer_type_matches_integers from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/request_body.py index 1ee1f883e91..1f485e168a0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_integer_type_matches_integers_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.integer_type_matches_integers import IntegerTypeMatchesIntegers +from unit_test_api.components.schema import integer_type_matches_integers -application_json = IntegerTypeMatchesIntegers +application_json = integer_type_matches_integers.IntegerTypeMatchesIntegers parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/post/__init__.py index a37d08f3f8b..4509385b8cf 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.invalid_instance_should_not_raise_error_when_float_division_inf import InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf +from unit_test_api.components.schema import invalid_instance_should_not_raise_error_when_float_division_inf from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/post/__init__.pyi index bd363735b5e..66da47dcaed 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.invalid_instance_should_not_raise_error_when_float_division_inf import InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf +from unit_test_api.components.schema import invalid_instance_should_not_raise_error_when_float_division_inf from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/post/request_body.py index 2424f8a2eec..7fcf3d9de67 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.invalid_instance_should_not_raise_error_when_float_division_inf import InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf +from unit_test_api.components.schema import invalid_instance_should_not_raise_error_when_float_division_inf -application_json = InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf +application_json = invalid_instance_should_not_raise_error_when_float_division_inf.InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_invalid_string_value_for_default_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_invalid_string_value_for_default_request_body/post/__init__.py index 75bb68bae11..652248033ca 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_invalid_string_value_for_default_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_invalid_string_value_for_default_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.invalid_string_value_for_default import InvalidStringValueForDefault +from unit_test_api.components.schema import invalid_string_value_for_default from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_invalid_string_value_for_default_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_invalid_string_value_for_default_request_body/post/__init__.pyi index 1646d3e8f3c..e9b87898126 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_invalid_string_value_for_default_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_invalid_string_value_for_default_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.invalid_string_value_for_default import InvalidStringValueForDefault +from unit_test_api.components.schema import invalid_string_value_for_default from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_invalid_string_value_for_default_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_invalid_string_value_for_default_request_body/post/request_body.py index 07f826808aa..e25e937a3f4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_invalid_string_value_for_default_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_invalid_string_value_for_default_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.invalid_string_value_for_default import InvalidStringValueForDefault +from unit_test_api.components.schema import invalid_string_value_for_default -application_json = InvalidStringValueForDefault +application_json = invalid_string_value_for_default.InvalidStringValueForDefault parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/__init__.py index b8892c248ec..f86dba2b168 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.ipv4_format import Ipv4Format +from unit_test_api.components.schema import ipv4_format from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/__init__.pyi index c9402ab6202..6a251a3d6b4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.ipv4_format import Ipv4Format +from unit_test_api.components.schema import ipv4_format from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/request_body.py index 0a9a81436d5..8a8047b335d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ipv4_format_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.ipv4_format import Ipv4Format +from unit_test_api.components.schema import ipv4_format -application_json = Ipv4Format +application_json = ipv4_format.Ipv4Format parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/__init__.py index 60b0bba1e03..72c900a2fc9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.ipv6_format import Ipv6Format +from unit_test_api.components.schema import ipv6_format from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/__init__.pyi index a4897994581..b686aea8008 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.ipv6_format import Ipv6Format +from unit_test_api.components.schema import ipv6_format from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/request_body.py index f5861b65300..eb12304458b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ipv6_format_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.ipv6_format import Ipv6Format +from unit_test_api.components.schema import ipv6_format -application_json = Ipv6Format +application_json = ipv6_format.Ipv6Format parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/__init__.py index fbc96344c5a..c61c2c6f832 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.json_pointer_format import JsonPointerFormat +from unit_test_api.components.schema import json_pointer_format from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/__init__.pyi index 800c68e9f54..8bfe03c02ab 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.json_pointer_format import JsonPointerFormat +from unit_test_api.components.schema import json_pointer_format from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/request_body.py index ccc649dc174..a0e39eb0681 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_json_pointer_format_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.json_pointer_format import JsonPointerFormat +from unit_test_api.components.schema import json_pointer_format -application_json = JsonPointerFormat +application_json = json_pointer_format.JsonPointerFormat parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/__init__.py index 35475951e46..128298215be 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.maximum_validation import MaximumValidation +from unit_test_api.components.schema import maximum_validation from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/__init__.pyi index 12ac0e51a52..7c339e4a5a4 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.maximum_validation import MaximumValidation +from unit_test_api.components.schema import maximum_validation from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/request_body.py index f7f1224bed2..67975867277 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maximum_validation_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.maximum_validation import MaximumValidation +from unit_test_api.components.schema import maximum_validation -application_json = MaximumValidation +application_json = maximum_validation.MaximumValidation parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/__init__.py index a6229792ed1..c013aeb78be 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.maximum_validation_with_unsigned_integer import MaximumValidationWithUnsignedInteger +from unit_test_api.components.schema import maximum_validation_with_unsigned_integer from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/__init__.pyi index aaaca21550c..ebb4ac572b6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.maximum_validation_with_unsigned_integer import MaximumValidationWithUnsignedInteger +from unit_test_api.components.schema import maximum_validation_with_unsigned_integer from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/request_body.py index 628d2997625..db721652a05 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maximum_validation_with_unsigned_integer_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.maximum_validation_with_unsigned_integer import MaximumValidationWithUnsignedInteger +from unit_test_api.components.schema import maximum_validation_with_unsigned_integer -application_json = MaximumValidationWithUnsignedInteger +application_json = maximum_validation_with_unsigned_integer.MaximumValidationWithUnsignedInteger parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/__init__.py index cd75ee1e5c7..9a546ffc829 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.maxitems_validation import MaxitemsValidation +from unit_test_api.components.schema import maxitems_validation from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/__init__.pyi index 37c3c5c544f..4807ccf1403 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.maxitems_validation import MaxitemsValidation +from unit_test_api.components.schema import maxitems_validation from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/request_body.py index 0390ef79740..ff42cae5ac7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxitems_validation_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.maxitems_validation import MaxitemsValidation +from unit_test_api.components.schema import maxitems_validation -application_json = MaxitemsValidation +application_json = maxitems_validation.MaxitemsValidation parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/__init__.py index e62e85a8ee0..6cd823e10ca 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.maxlength_validation import MaxlengthValidation +from unit_test_api.components.schema import maxlength_validation from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/__init__.pyi index bd88d958b81..95a40c3426d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.maxlength_validation import MaxlengthValidation +from unit_test_api.components.schema import maxlength_validation from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/request_body.py index d41b1d27ade..fd2553ffc56 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxlength_validation_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.maxlength_validation import MaxlengthValidation +from unit_test_api.components.schema import maxlength_validation -application_json = MaxlengthValidation +application_json = maxlength_validation.MaxlengthValidation parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/__init__.py index 56065e37b48..19ef230934a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.maxproperties0_means_the_object_is_empty import Maxproperties0MeansTheObjectIsEmpty +from unit_test_api.components.schema import maxproperties0_means_the_object_is_empty from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/__init__.pyi index f89e356c9fd..98eb5987415 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.maxproperties0_means_the_object_is_empty import Maxproperties0MeansTheObjectIsEmpty +from unit_test_api.components.schema import maxproperties0_means_the_object_is_empty from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/request_body.py index bc171df3899..17ccc418958 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.maxproperties0_means_the_object_is_empty import Maxproperties0MeansTheObjectIsEmpty +from unit_test_api.components.schema import maxproperties0_means_the_object_is_empty -application_json = Maxproperties0MeansTheObjectIsEmpty +application_json = maxproperties0_means_the_object_is_empty.Maxproperties0MeansTheObjectIsEmpty parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/__init__.py index 12a16cff134..86a9d4d8a77 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.maxproperties_validation import MaxpropertiesValidation +from unit_test_api.components.schema import maxproperties_validation from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/__init__.pyi index 0428ff38d67..006b1af0a2b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.maxproperties_validation import MaxpropertiesValidation +from unit_test_api.components.schema import maxproperties_validation from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/request_body.py index a56b58af093..4cd3d9a6331 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_maxproperties_validation_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.maxproperties_validation import MaxpropertiesValidation +from unit_test_api.components.schema import maxproperties_validation -application_json = MaxpropertiesValidation +application_json = maxproperties_validation.MaxpropertiesValidation parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/__init__.py index c6f3e5bb449..5cb73694463 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.minimum_validation import MinimumValidation +from unit_test_api.components.schema import minimum_validation from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/__init__.pyi index 65d1c73d173..c1178c4b68e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.minimum_validation import MinimumValidation +from unit_test_api.components.schema import minimum_validation from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/request_body.py index b447be8646f..42f7e25438b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minimum_validation_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.minimum_validation import MinimumValidation +from unit_test_api.components.schema import minimum_validation -application_json = MinimumValidation +application_json = minimum_validation.MinimumValidation parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/__init__.py index e946d9f1394..89cf6f7711b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.minimum_validation_with_signed_integer import MinimumValidationWithSignedInteger +from unit_test_api.components.schema import minimum_validation_with_signed_integer from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/__init__.pyi index da34d395a69..e5a259ec847 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.minimum_validation_with_signed_integer import MinimumValidationWithSignedInteger +from unit_test_api.components.schema import minimum_validation_with_signed_integer from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/request_body.py index 0bb12ac7e9d..d935a8cbd4c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minimum_validation_with_signed_integer_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.minimum_validation_with_signed_integer import MinimumValidationWithSignedInteger +from unit_test_api.components.schema import minimum_validation_with_signed_integer -application_json = MinimumValidationWithSignedInteger +application_json = minimum_validation_with_signed_integer.MinimumValidationWithSignedInteger parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/__init__.py index 5401adf53fc..09a711cf359 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.minitems_validation import MinitemsValidation +from unit_test_api.components.schema import minitems_validation from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/__init__.pyi index fb59925e89b..9044d89e9fe 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.minitems_validation import MinitemsValidation +from unit_test_api.components.schema import minitems_validation from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/request_body.py index 3f1c6723415..b993e382402 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minitems_validation_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.minitems_validation import MinitemsValidation +from unit_test_api.components.schema import minitems_validation -application_json = MinitemsValidation +application_json = minitems_validation.MinitemsValidation parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/__init__.py index 2c3d599f660..f33ef987270 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.minlength_validation import MinlengthValidation +from unit_test_api.components.schema import minlength_validation from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/__init__.pyi index 5e28df1b3c0..1c660628cbc 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.minlength_validation import MinlengthValidation +from unit_test_api.components.schema import minlength_validation from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/request_body.py index d9898738c8e..2a79c976cab 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minlength_validation_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.minlength_validation import MinlengthValidation +from unit_test_api.components.schema import minlength_validation -application_json = MinlengthValidation +application_json = minlength_validation.MinlengthValidation parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/__init__.py index 2dffb3c5449..0fa54fa9b7a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.minproperties_validation import MinpropertiesValidation +from unit_test_api.components.schema import minproperties_validation from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/__init__.pyi index 3408cb1387d..8e1c07b519d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.minproperties_validation import MinpropertiesValidation +from unit_test_api.components.schema import minproperties_validation from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/request_body.py index ae304a733ef..00d5d5dcbfa 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_minproperties_validation_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.minproperties_validation import MinpropertiesValidation +from unit_test_api.components.schema import minproperties_validation -application_json = MinpropertiesValidation +application_json = minproperties_validation.MinpropertiesValidation parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/__init__.py index 346201d18ed..91776687235 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.nested_allof_to_check_validation_semantics import NestedAllofToCheckValidationSemantics +from unit_test_api.components.schema import nested_allof_to_check_validation_semantics from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/__init__.pyi index 9bb505d125c..4dfb8acd12a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.nested_allof_to_check_validation_semantics import NestedAllofToCheckValidationSemantics +from unit_test_api.components.schema import nested_allof_to_check_validation_semantics from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/request_body.py index c977c5321a8..e6c360aae5d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.nested_allof_to_check_validation_semantics import NestedAllofToCheckValidationSemantics +from unit_test_api.components.schema import nested_allof_to_check_validation_semantics -application_json = NestedAllofToCheckValidationSemantics +application_json = nested_allof_to_check_validation_semantics.NestedAllofToCheckValidationSemantics parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/__init__.py index 9516863acf3..0bd416b2a5e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.nested_anyof_to_check_validation_semantics import NestedAnyofToCheckValidationSemantics +from unit_test_api.components.schema import nested_anyof_to_check_validation_semantics from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/__init__.pyi index 6a3f69618bd..3fc0788a5df 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.nested_anyof_to_check_validation_semantics import NestedAnyofToCheckValidationSemantics +from unit_test_api.components.schema import nested_anyof_to_check_validation_semantics from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/request_body.py index ec7cb8c6f1e..b486d28404a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.nested_anyof_to_check_validation_semantics import NestedAnyofToCheckValidationSemantics +from unit_test_api.components.schema import nested_anyof_to_check_validation_semantics -application_json = NestedAnyofToCheckValidationSemantics +application_json = nested_anyof_to_check_validation_semantics.NestedAnyofToCheckValidationSemantics parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_items_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_items_request_body/post/__init__.py index b8b21fe9e9f..e6b6d87d360 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_items_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_items_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.nested_items import NestedItems +from unit_test_api.components.schema import nested_items from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_items_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_items_request_body/post/__init__.pyi index 58a9d5cfbda..303cc99cbcd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_items_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_items_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.nested_items import NestedItems +from unit_test_api.components.schema import nested_items from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_items_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_items_request_body/post/request_body.py index 4194da57284..2bbcc6f0cfe 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_items_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_items_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.nested_items import NestedItems +from unit_test_api.components.schema import nested_items -application_json = NestedItems +application_json = nested_items.NestedItems parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/__init__.py index f7e9688b6db..04984c30a54 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.nested_oneof_to_check_validation_semantics import NestedOneofToCheckValidationSemantics +from unit_test_api.components.schema import nested_oneof_to_check_validation_semantics from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/__init__.pyi index ebdd2cd03f4..5d8ee5532f8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.nested_oneof_to_check_validation_semantics import NestedOneofToCheckValidationSemantics +from unit_test_api.components.schema import nested_oneof_to_check_validation_semantics from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/request_body.py index 5aa03628d74..ace16e1ad50 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.nested_oneof_to_check_validation_semantics import NestedOneofToCheckValidationSemantics +from unit_test_api.components.schema import nested_oneof_to_check_validation_semantics -application_json = NestedOneofToCheckValidationSemantics +application_json = nested_oneof_to_check_validation_semantics.NestedOneofToCheckValidationSemantics parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/__init__.py index ccac97485fc..a16f7284892 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.not_more_complex_schema import NotMoreComplexSchema +from unit_test_api.components.schema import not_more_complex_schema from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/__init__.pyi index e8d18916fbd..c64e27c7848 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.not_more_complex_schema import NotMoreComplexSchema +from unit_test_api.components.schema import not_more_complex_schema from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/request_body.py index d9f49b4ee01..fcfc29e04c5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_not_more_complex_schema_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.not_more_complex_schema import NotMoreComplexSchema +from unit_test_api.components.schema import not_more_complex_schema -application_json = NotMoreComplexSchema +application_json = not_more_complex_schema.NotMoreComplexSchema parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_not_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_not_request_body/post/__init__.py index 9c26b14b1ab..48c33b466ac 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_not_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_not_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.model_not import ModelNot +from unit_test_api.components.schema import model_not from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_not_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_not_request_body/post/__init__.pyi index 53e56d76614..7855bd1f8bd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_not_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_not_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.model_not import ModelNot +from unit_test_api.components.schema import model_not from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_not_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_not_request_body/post/request_body.py index ae48be17004..bab4bd87863 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_not_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_not_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.model_not import ModelNot +from unit_test_api.components.schema import model_not -application_json = ModelNot +application_json = model_not.ModelNot parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/__init__.py index 18f2429f5d3..8bcc38951bd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.nul_characters_in_strings import NulCharactersInStrings +from unit_test_api.components.schema import nul_characters_in_strings from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/__init__.pyi index 4a3fa4c61d8..212e9224a0f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.nul_characters_in_strings import NulCharactersInStrings +from unit_test_api.components.schema import nul_characters_in_strings from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/request_body.py index 537b2bf7afe..544634c4c77 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_nul_characters_in_strings_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.nul_characters_in_strings import NulCharactersInStrings +from unit_test_api.components.schema import nul_characters_in_strings -application_json = NulCharactersInStrings +application_json = nul_characters_in_strings.NulCharactersInStrings parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/__init__.py index 85829352f1e..fa28cc3cf10 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.null_type_matches_only_the_null_object import NullTypeMatchesOnlyTheNullObject +from unit_test_api.components.schema import null_type_matches_only_the_null_object from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/__init__.pyi index b03d41c94ca..f07c5f365f9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.null_type_matches_only_the_null_object import NullTypeMatchesOnlyTheNullObject +from unit_test_api.components.schema import null_type_matches_only_the_null_object from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/request_body.py index c4258f1e09b..a9c6d1a990a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_null_type_matches_only_the_null_object_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.null_type_matches_only_the_null_object import NullTypeMatchesOnlyTheNullObject +from unit_test_api.components.schema import null_type_matches_only_the_null_object -application_json = NullTypeMatchesOnlyTheNullObject +application_json = null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/__init__.py index 66458e5be5c..1ae10057a1f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.number_type_matches_numbers import NumberTypeMatchesNumbers +from unit_test_api.components.schema import number_type_matches_numbers from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/__init__.pyi index d0e97123399..c2655424bd9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.number_type_matches_numbers import NumberTypeMatchesNumbers +from unit_test_api.components.schema import number_type_matches_numbers from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/request_body.py index ce90ad2dab4..a6f1afd428c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_number_type_matches_numbers_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.number_type_matches_numbers import NumberTypeMatchesNumbers +from unit_test_api.components.schema import number_type_matches_numbers -application_json = NumberTypeMatchesNumbers +application_json = number_type_matches_numbers.NumberTypeMatchesNumbers parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/__init__.py index 239602a55c1..252763b6b55 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.object_properties_validation import ObjectPropertiesValidation +from unit_test_api.components.schema import object_properties_validation from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/__init__.pyi index 87fa7144277..67ef3f50f9b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.object_properties_validation import ObjectPropertiesValidation +from unit_test_api.components.schema import object_properties_validation from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/request_body.py index 5f51f558423..2238ba2eb37 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_object_properties_validation_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.object_properties_validation import ObjectPropertiesValidation +from unit_test_api.components.schema import object_properties_validation -application_json = ObjectPropertiesValidation +application_json = object_properties_validation.ObjectPropertiesValidation parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/__init__.py index df1b93a5f31..ea15c894c8c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.object_type_matches_objects import ObjectTypeMatchesObjects +from unit_test_api.components.schema import object_type_matches_objects from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/__init__.pyi index 6a0a192049b..47adeb3b0ec 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.object_type_matches_objects import ObjectTypeMatchesObjects +from unit_test_api.components.schema import object_type_matches_objects from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/request_body.py index eb4b3d33f31..7231eddc56d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_object_type_matches_objects_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.object_type_matches_objects import ObjectTypeMatchesObjects +from unit_test_api.components.schema import object_type_matches_objects -application_json = ObjectTypeMatchesObjects +application_json = object_type_matches_objects.ObjectTypeMatchesObjects parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/__init__.py index 4a12bf29628..ed27d0d0010 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.oneof_complex_types import OneofComplexTypes +from unit_test_api.components.schema import oneof_complex_types from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/__init__.pyi index 655e03ba0f2..3452162acab 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.oneof_complex_types import OneofComplexTypes +from unit_test_api.components.schema import oneof_complex_types from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/request_body.py index cc5d59661ed..2ccdcd6064a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_complex_types_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.oneof_complex_types import OneofComplexTypes +from unit_test_api.components.schema import oneof_complex_types -application_json = OneofComplexTypes +application_json = oneof_complex_types.OneofComplexTypes parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_request_body/post/__init__.py index a6a71fad90c..18cbce665a5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.oneof import Oneof +from unit_test_api.components.schema import oneof from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_request_body/post/__init__.pyi index fdac4170fff..017d6511e57 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.oneof import Oneof +from unit_test_api.components.schema import oneof from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_request_body/post/request_body.py index 528ca780700..dd62a8116d1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.oneof import Oneof +from unit_test_api.components.schema import oneof -application_json = Oneof +application_json = oneof.Oneof parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/__init__.py index a391d82b4bd..3e909b08cfe 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.oneof_with_base_schema import OneofWithBaseSchema +from unit_test_api.components.schema import oneof_with_base_schema from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/__init__.pyi index 772355fec17..e0f894eba36 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.oneof_with_base_schema import OneofWithBaseSchema +from unit_test_api.components.schema import oneof_with_base_schema from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/request_body.py index 773874755f1..5783fcdb6bd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_base_schema_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.oneof_with_base_schema import OneofWithBaseSchema +from unit_test_api.components.schema import oneof_with_base_schema -application_json = OneofWithBaseSchema +application_json = oneof_with_base_schema.OneofWithBaseSchema parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/__init__.py index d46f5f9fadc..8591b61f04f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.oneof_with_empty_schema import OneofWithEmptySchema +from unit_test_api.components.schema import oneof_with_empty_schema from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/__init__.pyi index 7d8c5152539..1d06cf179cf 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.oneof_with_empty_schema import OneofWithEmptySchema +from unit_test_api.components.schema import oneof_with_empty_schema from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/request_body.py index ff35270baaa..d051be9ef8a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_empty_schema_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.oneof_with_empty_schema import OneofWithEmptySchema +from unit_test_api.components.schema import oneof_with_empty_schema -application_json = OneofWithEmptySchema +application_json = oneof_with_empty_schema.OneofWithEmptySchema parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/__init__.py index 3f9869ab03c..f4b37d902e0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.oneof_with_required import OneofWithRequired +from unit_test_api.components.schema import oneof_with_required from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/__init__.pyi index af967de3d37..47cfb18975b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.oneof_with_required import OneofWithRequired +from unit_test_api.components.schema import oneof_with_required from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/request_body.py index 90ac51a6e9f..04161b41dbe 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_oneof_with_required_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.oneof_with_required import OneofWithRequired +from unit_test_api.components.schema import oneof_with_required -application_json = OneofWithRequired +application_json = oneof_with_required.OneofWithRequired parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/__init__.py index a3006fbaed1..06e115cf491 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.pattern_is_not_anchored import PatternIsNotAnchored +from unit_test_api.components.schema import pattern_is_not_anchored from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/__init__.pyi index 69e47d24198..b36ed2595ff 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.pattern_is_not_anchored import PatternIsNotAnchored +from unit_test_api.components.schema import pattern_is_not_anchored from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/request_body.py index bbdbce28b53..bb225fd9390 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_pattern_is_not_anchored_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.pattern_is_not_anchored import PatternIsNotAnchored +from unit_test_api.components.schema import pattern_is_not_anchored -application_json = PatternIsNotAnchored +application_json = pattern_is_not_anchored.PatternIsNotAnchored parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/__init__.py index ef6bc5c3741..052fb51d1b3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.pattern_validation import PatternValidation +from unit_test_api.components.schema import pattern_validation from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/__init__.pyi index 01c48fad8fd..a1bebb9c9dd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.pattern_validation import PatternValidation +from unit_test_api.components.schema import pattern_validation from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/request_body.py index 13b381c77b0..5e402fbce4c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_pattern_validation_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.pattern_validation import PatternValidation +from unit_test_api.components.schema import pattern_validation -application_json = PatternValidation +application_json = pattern_validation.PatternValidation parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/__init__.py index 51807075521..1cf995f0eec 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.properties_with_escaped_characters import PropertiesWithEscapedCharacters +from unit_test_api.components.schema import properties_with_escaped_characters from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/__init__.pyi index 6e45aa6f3d2..d03fe114b5d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.properties_with_escaped_characters import PropertiesWithEscapedCharacters +from unit_test_api.components.schema import properties_with_escaped_characters from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/request_body.py index 84836a7c53f..753c98272b3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_properties_with_escaped_characters_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.properties_with_escaped_characters import PropertiesWithEscapedCharacters +from unit_test_api.components.schema import properties_with_escaped_characters -application_json = PropertiesWithEscapedCharacters +application_json = properties_with_escaped_characters.PropertiesWithEscapedCharacters parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/__init__.py index 2e63e5d9fcf..952183d36aa 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.property_named_ref_that_is_not_a_reference import PropertyNamedRefThatIsNotAReference +from unit_test_api.components.schema import property_named_ref_that_is_not_a_reference from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/__init__.pyi index 4fbe49bf2ad..ea3f9925b69 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.property_named_ref_that_is_not_a_reference import PropertyNamedRefThatIsNotAReference +from unit_test_api.components.schema import property_named_ref_that_is_not_a_reference from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/request_body.py index 2a9cbc1c372..c82773e1267 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.property_named_ref_that_is_not_a_reference import PropertyNamedRefThatIsNotAReference +from unit_test_api.components.schema import property_named_ref_that_is_not_a_reference -application_json = PropertyNamedRefThatIsNotAReference +application_json = property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_additionalproperties_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_additionalproperties_request_body/post/__init__.py index 984f8cba9cb..84bd85f8749 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_additionalproperties_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_additionalproperties_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.ref_in_additionalproperties import RefInAdditionalproperties +from unit_test_api.components.schema import ref_in_additionalproperties from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_additionalproperties_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_additionalproperties_request_body/post/__init__.pyi index b60709bf8e2..e63da57e636 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_additionalproperties_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_additionalproperties_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.ref_in_additionalproperties import RefInAdditionalproperties +from unit_test_api.components.schema import ref_in_additionalproperties from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_additionalproperties_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_additionalproperties_request_body/post/request_body.py index 93e2ebe2e68..f5b24da316b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_additionalproperties_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_additionalproperties_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.ref_in_additionalproperties import RefInAdditionalproperties +from unit_test_api.components.schema import ref_in_additionalproperties -application_json = RefInAdditionalproperties +application_json = ref_in_additionalproperties.RefInAdditionalproperties parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_allof_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_allof_request_body/post/__init__.py index 9bc1cb184b6..cb451486b04 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_allof_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_allof_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.ref_in_allof import RefInAllof +from unit_test_api.components.schema import ref_in_allof from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_allof_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_allof_request_body/post/__init__.pyi index b22661988c6..4b0cfe2bc72 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_allof_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_allof_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.ref_in_allof import RefInAllof +from unit_test_api.components.schema import ref_in_allof from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_allof_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_allof_request_body/post/request_body.py index e071692b89d..36d627ae745 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_allof_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_allof_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.ref_in_allof import RefInAllof +from unit_test_api.components.schema import ref_in_allof -application_json = RefInAllof +application_json = ref_in_allof.RefInAllof parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_anyof_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_anyof_request_body/post/__init__.py index 9f46ed50b63..5dee2eeae27 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_anyof_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_anyof_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.ref_in_anyof import RefInAnyof +from unit_test_api.components.schema import ref_in_anyof from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_anyof_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_anyof_request_body/post/__init__.pyi index 50d4bbf709d..daf56d7a0e1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_anyof_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_anyof_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.ref_in_anyof import RefInAnyof +from unit_test_api.components.schema import ref_in_anyof from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_anyof_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_anyof_request_body/post/request_body.py index 7eb3898472b..38c4c79dcfd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_anyof_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_anyof_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.ref_in_anyof import RefInAnyof +from unit_test_api.components.schema import ref_in_anyof -application_json = RefInAnyof +application_json = ref_in_anyof.RefInAnyof parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_items_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_items_request_body/post/__init__.py index 8f387bb4531..077b44b80f7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_items_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_items_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.ref_in_items import RefInItems +from unit_test_api.components.schema import ref_in_items from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_items_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_items_request_body/post/__init__.pyi index 5226c9bebe1..51fa0d87f98 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_items_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_items_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.ref_in_items import RefInItems +from unit_test_api.components.schema import ref_in_items from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_items_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_items_request_body/post/request_body.py index eed13fa2553..3ce567a6a7a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_items_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_items_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.ref_in_items import RefInItems +from unit_test_api.components.schema import ref_in_items -application_json = RefInItems +application_json = ref_in_items.RefInItems parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_not_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_not_request_body/post/__init__.py index e9e6fe119d2..e0823e396b2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_not_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_not_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.ref_in_not import RefInNot +from unit_test_api.components.schema import ref_in_not from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_not_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_not_request_body/post/__init__.pyi index e9304bcb3ad..94943f41c00 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_not_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_not_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.ref_in_not import RefInNot +from unit_test_api.components.schema import ref_in_not from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_not_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_not_request_body/post/request_body.py index 01feee5da42..2fdc981c4fe 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_not_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_not_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.ref_in_not import RefInNot +from unit_test_api.components.schema import ref_in_not -application_json = RefInNot +application_json = ref_in_not.RefInNot parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_oneof_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_oneof_request_body/post/__init__.py index 37d2d23fa9c..db7ac62e29a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_oneof_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_oneof_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.ref_in_oneof import RefInOneof +from unit_test_api.components.schema import ref_in_oneof from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_oneof_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_oneof_request_body/post/__init__.pyi index 5f87203bea8..a49b1754246 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_oneof_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_oneof_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.ref_in_oneof import RefInOneof +from unit_test_api.components.schema import ref_in_oneof from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_oneof_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_oneof_request_body/post/request_body.py index 297d2e81943..1640c3a88fb 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_oneof_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_oneof_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.ref_in_oneof import RefInOneof +from unit_test_api.components.schema import ref_in_oneof -application_json = RefInOneof +application_json = ref_in_oneof.RefInOneof parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_property_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_property_request_body/post/__init__.py index 34a15d79bde..7dd3b4a9727 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_property_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_property_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.ref_in_property import RefInProperty +from unit_test_api.components.schema import ref_in_property from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_property_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_property_request_body/post/__init__.pyi index 463044a272f..2fe668e0f0b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_property_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_property_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.ref_in_property import RefInProperty +from unit_test_api.components.schema import ref_in_property from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_property_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_property_request_body/post/request_body.py index 080bccf35c9..9d78e043c30 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_property_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_ref_in_property_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.ref_in_property import RefInProperty +from unit_test_api.components.schema import ref_in_property -application_json = RefInProperty +application_json = ref_in_property.RefInProperty parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/__init__.py index 0709b8a94da..89a8d9f323f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.required_default_validation import RequiredDefaultValidation +from unit_test_api.components.schema import required_default_validation from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/__init__.pyi index ed153868215..3cf08af4412 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.required_default_validation import RequiredDefaultValidation +from unit_test_api.components.schema import required_default_validation from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/request_body.py index d903b82d7a9..8ca2c34ba66 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_default_validation_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.required_default_validation import RequiredDefaultValidation +from unit_test_api.components.schema import required_default_validation -application_json = RequiredDefaultValidation +application_json = required_default_validation.RequiredDefaultValidation parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_validation_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_validation_request_body/post/__init__.py index ab8a20f0d2e..8a0e21e6e48 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_validation_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_validation_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.required_validation import RequiredValidation +from unit_test_api.components.schema import required_validation from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_validation_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_validation_request_body/post/__init__.pyi index 92ff640841a..a819557ad26 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_validation_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_validation_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.required_validation import RequiredValidation +from unit_test_api.components.schema import required_validation from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_validation_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_validation_request_body/post/request_body.py index 497ea398bd5..5ed07920704 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_validation_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_validation_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.required_validation import RequiredValidation +from unit_test_api.components.schema import required_validation -application_json = RequiredValidation +application_json = required_validation.RequiredValidation parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/__init__.py index 531726784c6..0a9af7b55f8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.required_with_empty_array import RequiredWithEmptyArray +from unit_test_api.components.schema import required_with_empty_array from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/__init__.pyi index b60657a86b6..ab62a6f5013 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.required_with_empty_array import RequiredWithEmptyArray +from unit_test_api.components.schema import required_with_empty_array from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/request_body.py index 7e772793a83..6d734c82fe1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_with_empty_array_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.required_with_empty_array import RequiredWithEmptyArray +from unit_test_api.components.schema import required_with_empty_array -application_json = RequiredWithEmptyArray +application_json = required_with_empty_array.RequiredWithEmptyArray parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/__init__.py index a95575972a5..e20071f6dd3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.required_with_escaped_characters import RequiredWithEscapedCharacters +from unit_test_api.components.schema import required_with_escaped_characters from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/__init__.pyi index fc121e2c3e9..3c85d025aa0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.required_with_escaped_characters import RequiredWithEscapedCharacters +from unit_test_api.components.schema import required_with_escaped_characters from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/request_body.py index b7a8f0fd946..a9cd5810e4a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_required_with_escaped_characters_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.required_with_escaped_characters import RequiredWithEscapedCharacters +from unit_test_api.components.schema import required_with_escaped_characters -application_json = RequiredWithEscapedCharacters +application_json = required_with_escaped_characters.RequiredWithEscapedCharacters parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/__init__.py index 499c06ab033..02c20e2a065 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.simple_enum_validation import SimpleEnumValidation +from unit_test_api.components.schema import simple_enum_validation from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/__init__.pyi index 2409b6fee36..42053027bca 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.simple_enum_validation import SimpleEnumValidation +from unit_test_api.components.schema import simple_enum_validation from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/request_body.py index 249fcfce874..19245756fd8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_simple_enum_validation_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.simple_enum_validation import SimpleEnumValidation +from unit_test_api.components.schema import simple_enum_validation -application_json = SimpleEnumValidation +application_json = simple_enum_validation.SimpleEnumValidation parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/__init__.py index b70a16c4d8d..9a4e4485fa5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.string_type_matches_strings import StringTypeMatchesStrings +from unit_test_api.components.schema import string_type_matches_strings from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/__init__.pyi index f748d700a48..19810d42efc 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.string_type_matches_strings import StringTypeMatchesStrings +from unit_test_api.components.schema import string_type_matches_strings from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/request_body.py index ffc46c15cb2..8825e90c68c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_string_type_matches_strings_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.string_type_matches_strings import StringTypeMatchesStrings +from unit_test_api.components.schema import string_type_matches_strings -application_json = StringTypeMatchesStrings +application_json = string_type_matches_strings.StringTypeMatchesStrings parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/post/__init__.py index f92ae40a12c..921ade3dbe8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.the_default_keyword_does_not_do_anything_if_the_property_is_missing import TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing +from unit_test_api.components.schema import the_default_keyword_does_not_do_anything_if_the_property_is_missing from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/post/__init__.pyi index 45e2318abef..3eafa7b8b1c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.the_default_keyword_does_not_do_anything_if_the_property_is_missing import TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing +from unit_test_api.components.schema import the_default_keyword_does_not_do_anything_if_the_property_is_missing from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/post/request_body.py index 99d24d1a713..83ee89a6385 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.the_default_keyword_does_not_do_anything_if_the_property_is_missing import TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing +from unit_test_api.components.schema import the_default_keyword_does_not_do_anything_if_the_property_is_missing -application_json = TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing +application_json = the_default_keyword_does_not_do_anything_if_the_property_is_missing.TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/__init__.py index fdec20f8cc3..b6e0502629d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.uniqueitems_false_validation import UniqueitemsFalseValidation +from unit_test_api.components.schema import uniqueitems_false_validation from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/__init__.pyi index 81d98698806..08b8ca60390 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.uniqueitems_false_validation import UniqueitemsFalseValidation +from unit_test_api.components.schema import uniqueitems_false_validation from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/request_body.py index 3a2a9d3a2c3..31ad2969701 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uniqueitems_false_validation_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.uniqueitems_false_validation import UniqueitemsFalseValidation +from unit_test_api.components.schema import uniqueitems_false_validation -application_json = UniqueitemsFalseValidation +application_json = uniqueitems_false_validation.UniqueitemsFalseValidation parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/__init__.py index a2cb555f0b9..e8aef3dbbf5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.uniqueitems_validation import UniqueitemsValidation +from unit_test_api.components.schema import uniqueitems_validation from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/__init__.pyi index dd2ad836c68..ca524a2f807 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.uniqueitems_validation import UniqueitemsValidation +from unit_test_api.components.schema import uniqueitems_validation from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/request_body.py index e2dbde52d3e..c5272a5bc35 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uniqueitems_validation_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.uniqueitems_validation import UniqueitemsValidation +from unit_test_api.components.schema import uniqueitems_validation -application_json = UniqueitemsValidation +application_json = uniqueitems_validation.UniqueitemsValidation parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_format_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_format_request_body/post/__init__.py index 270ebac775f..1e201ce6cd2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_format_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_format_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.uri_format import UriFormat +from unit_test_api.components.schema import uri_format from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_format_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_format_request_body/post/__init__.pyi index c3d59462f75..e7634b78366 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_format_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_format_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.uri_format import UriFormat +from unit_test_api.components.schema import uri_format from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_format_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_format_request_body/post/request_body.py index c61e687f606..2d073ef9dac 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_format_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_format_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.uri_format import UriFormat +from unit_test_api.components.schema import uri_format -application_json = UriFormat +application_json = uri_format.UriFormat parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/__init__.py index 5cf59375c4c..51ff5f67acb 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.uri_reference_format import UriReferenceFormat +from unit_test_api.components.schema import uri_reference_format from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/__init__.pyi index c7bbfb27940..6a6bb3589d1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.uri_reference_format import UriReferenceFormat +from unit_test_api.components.schema import uri_reference_format from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/request_body.py index 592df361279..fd31dabc08e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_reference_format_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.uri_reference_format import UriReferenceFormat +from unit_test_api.components.schema import uri_reference_format -application_json = UriReferenceFormat +application_json = uri_reference_format.UriReferenceFormat parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/__init__.py index 72689300a0c..d9f164d8f35 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/__init__.py @@ -25,7 +25,7 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.uri_template_format import UriTemplateFormat +from unit_test_api.components.schema import uri_template_format from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/__init__.pyi b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/__init__.pyi index 706055e0577..16a04e61519 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/__init__.pyi +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.uri_template_format import UriTemplateFormat +from unit_test_api.components.schema import uri_template_format from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/request_body.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/request_body.py index af22f3fb5ba..9c3a0415098 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/request_body.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/request_body_post_uri_template_format_request_body/post/request_body.py @@ -24,10 +24,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.uri_template_format import UriTemplateFormat +from unit_test_api.components.schema import uri_template_format -application_json = UriTemplateFormat +application_json = uri_template_format.UriTemplateFormat parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types/post/response_for_200/__init__.py index 5184aab659c..44160a97800 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.additionalproperties_allows_a_schema_which_should_validate import AdditionalpropertiesAllowsASchemaWhichShouldValidate +from unit_test_api.components.schema import additionalproperties_allows_a_schema_which_should_validate # body schemas -application_json = AdditionalpropertiesAllowsASchemaWhichShouldValidate +application_json = additionalproperties_allows_a_schema_which_should_validate.AdditionalpropertiesAllowsASchemaWhichShouldValidate @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/response_for_200/__init__.py index 953d64ca6be..fde304547e1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.additionalproperties_are_allowed_by_default import AdditionalpropertiesAreAllowedByDefault +from unit_test_api.components.schema import additionalproperties_are_allowed_by_default # body schemas -application_json = AdditionalpropertiesAreAllowedByDefault +application_json = additionalproperties_are_allowed_by_default.AdditionalpropertiesAreAllowedByDefault @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/response_for_200/__init__.py index 271e82fc606..a37332afebd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.additionalproperties_can_exist_by_itself import AdditionalpropertiesCanExistByItself +from unit_test_api.components.schema import additionalproperties_can_exist_by_itself # body schemas -application_json = AdditionalpropertiesCanExistByItself +application_json = additionalproperties_can_exist_by_itself.AdditionalpropertiesCanExistByItself @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types/post/response_for_200/__init__.py index 0daf9118e9c..437d20f46f0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.additionalproperties_should_not_look_in_applicators import AdditionalpropertiesShouldNotLookInApplicators +from unit_test_api.components.schema import additionalproperties_should_not_look_in_applicators # body schemas -application_json = AdditionalpropertiesShouldNotLookInApplicators +application_json = additionalproperties_should_not_look_in_applicators.AdditionalpropertiesShouldNotLookInApplicators @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/response_for_200/__init__.py index b91049a20c1..326d7e422ad 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.allof_combined_with_anyof_oneof import AllofCombinedWithAnyofOneof +from unit_test_api.components.schema import allof_combined_with_anyof_oneof # body schemas -application_json = AllofCombinedWithAnyofOneof +application_json = allof_combined_with_anyof_oneof.AllofCombinedWithAnyofOneof @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/response_for_200/__init__.py index 653ca889627..98f81761d3d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.allof import Allof +from unit_test_api.components.schema import allof # body schemas -application_json = Allof +application_json = allof.Allof @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/response_for_200/__init__.py index a1a9ade2887..f45b835744a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_simple_types_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.allof_simple_types import AllofSimpleTypes +from unit_test_api.components.schema import allof_simple_types # body schemas -application_json = AllofSimpleTypes +application_json = allof_simple_types.AllofSimpleTypes @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/response_for_200/__init__.py index 244a2f88051..79d643e5a41 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_base_schema_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.allof_with_base_schema import AllofWithBaseSchema +from unit_test_api.components.schema import allof_with_base_schema # body schemas -application_json = AllofWithBaseSchema +application_json = allof_with_base_schema.AllofWithBaseSchema @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/response_for_200/__init__.py index 5ccbd112838..70462251c1a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.allof_with_one_empty_schema import AllofWithOneEmptySchema +from unit_test_api.components.schema import allof_with_one_empty_schema # body schemas -application_json = AllofWithOneEmptySchema +application_json = allof_with_one_empty_schema.AllofWithOneEmptySchema @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/response_for_200/__init__.py index d63e81807c2..43982725e87 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.allof_with_the_first_empty_schema import AllofWithTheFirstEmptySchema +from unit_test_api.components.schema import allof_with_the_first_empty_schema # body schemas -application_json = AllofWithTheFirstEmptySchema +application_json = allof_with_the_first_empty_schema.AllofWithTheFirstEmptySchema @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/response_for_200/__init__.py index a45b48c67d1..eb75b9ddd49 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.allof_with_the_last_empty_schema import AllofWithTheLastEmptySchema +from unit_test_api.components.schema import allof_with_the_last_empty_schema # body schemas -application_json = AllofWithTheLastEmptySchema +application_json = allof_with_the_last_empty_schema.AllofWithTheLastEmptySchema @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/response_for_200/__init__.py index 36a59984b2e..4c0fc998f3e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.allof_with_two_empty_schemas import AllofWithTwoEmptySchemas +from unit_test_api.components.schema import allof_with_two_empty_schemas # body schemas -application_json = AllofWithTwoEmptySchemas +application_json = allof_with_two_empty_schemas.AllofWithTwoEmptySchemas @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/response_for_200/__init__.py index c8baa2c0897..043ff0c23d5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_anyof_complex_types_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.anyof_complex_types import AnyofComplexTypes +from unit_test_api.components.schema import anyof_complex_types # body schemas -application_json = AnyofComplexTypes +application_json = anyof_complex_types.AnyofComplexTypes @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/response_for_200/__init__.py index cf33e1bfc51..a7384a3c1a6 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_anyof_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.anyof import Anyof +from unit_test_api.components.schema import anyof # body schemas -application_json = Anyof +application_json = anyof.Anyof @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/response_for_200/__init__.py index 610c3c819ca..70758521ac1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_anyof_with_base_schema_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.anyof_with_base_schema import AnyofWithBaseSchema +from unit_test_api.components.schema import anyof_with_base_schema # body schemas -application_json = AnyofWithBaseSchema +application_json = anyof_with_base_schema.AnyofWithBaseSchema @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/response_for_200/__init__.py index 9834cbbdc87..4fa8db14c09 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.anyof_with_one_empty_schema import AnyofWithOneEmptySchema +from unit_test_api.components.schema import anyof_with_one_empty_schema # body schemas -application_json = AnyofWithOneEmptySchema +application_json = anyof_with_one_empty_schema.AnyofWithOneEmptySchema @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/response_for_200/__init__.py index e4d050c12a0..af194d51bf5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_array_type_matches_arrays_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.array_type_matches_arrays import ArrayTypeMatchesArrays +from unit_test_api.components.schema import array_type_matches_arrays # body schemas -application_json = ArrayTypeMatchesArrays +application_json = array_type_matches_arrays.ArrayTypeMatchesArrays @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/response_for_200/__init__.py index 41a7865348a..ca228a0fee9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.boolean_type_matches_booleans import BooleanTypeMatchesBooleans +from unit_test_api.components.schema import boolean_type_matches_booleans # body schemas -application_json = BooleanTypeMatchesBooleans +application_json = boolean_type_matches_booleans.BooleanTypeMatchesBooleans @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/response_for_200/__init__.py index a97f669a5b4..75f0917c49c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_by_int_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.by_int import ByInt +from unit_test_api.components.schema import by_int # body schemas -application_json = ByInt +application_json = by_int.ByInt @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/response_for_200/__init__.py index aad64d8c8ee..15094552b20 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_by_number_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.by_number import ByNumber +from unit_test_api.components.schema import by_number # body schemas -application_json = ByNumber +application_json = by_number.ByNumber @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/response_for_200/__init__.py index 77cb2df4117..5e578c43abc 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_by_small_number_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.by_small_number import BySmallNumber +from unit_test_api.components.schema import by_small_number # body schemas -application_json = BySmallNumber +application_json = by_small_number.BySmallNumber @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/response_for_200/__init__.py index bf82853884e..28e78ace2e9 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_date_time_format_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.date_time_format import DateTimeFormat +from unit_test_api.components.schema import date_time_format # body schemas -application_json = DateTimeFormat +application_json = date_time_format.DateTimeFormat @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/response_for_200/__init__.py index cebc73068aa..e03815e2058 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_email_format_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.email_format import EmailFormat +from unit_test_api.components.schema import email_format # body schemas -application_json = EmailFormat +application_json = email_format.EmailFormat @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/response_for_200/__init__.py index 9fe2f2cd537..f2097b1aba7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.enum_with0_does_not_match_false import EnumWith0DoesNotMatchFalse +from unit_test_api.components.schema import enum_with0_does_not_match_false # body schemas -application_json = EnumWith0DoesNotMatchFalse +application_json = enum_with0_does_not_match_false.EnumWith0DoesNotMatchFalse @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/response_for_200/__init__.py index 70a3f49884a..6082bfc0a3a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.enum_with1_does_not_match_true import EnumWith1DoesNotMatchTrue +from unit_test_api.components.schema import enum_with1_does_not_match_true # body schemas -application_json = EnumWith1DoesNotMatchTrue +application_json = enum_with1_does_not_match_true.EnumWith1DoesNotMatchTrue @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/response_for_200/__init__.py index f418747b687..d3d8cdd6bb2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.enum_with_escaped_characters import EnumWithEscapedCharacters +from unit_test_api.components.schema import enum_with_escaped_characters # body schemas -application_json = EnumWithEscapedCharacters +application_json = enum_with_escaped_characters.EnumWithEscapedCharacters @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/response_for_200/__init__.py index f32eeed00e1..fe5fe9d1b3b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.enum_with_false_does_not_match0 import EnumWithFalseDoesNotMatch0 +from unit_test_api.components.schema import enum_with_false_does_not_match0 # body schemas -application_json = EnumWithFalseDoesNotMatch0 +application_json = enum_with_false_does_not_match0.EnumWithFalseDoesNotMatch0 @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/response_for_200/__init__.py index 77cd9dd6ac5..5f9a1f73424 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.enum_with_true_does_not_match1 import EnumWithTrueDoesNotMatch1 +from unit_test_api.components.schema import enum_with_true_does_not_match1 # body schemas -application_json = EnumWithTrueDoesNotMatch1 +application_json = enum_with_true_does_not_match1.EnumWithTrueDoesNotMatch1 @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/response_for_200/__init__.py index 336452dcbe9..c1455efc73a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_enums_in_properties_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.enums_in_properties import EnumsInProperties +from unit_test_api.components.schema import enums_in_properties # body schemas -application_json = EnumsInProperties +application_json = enums_in_properties.EnumsInProperties @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/response_for_200/__init__.py index 789f4e2c513..df35cd36f72 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_forbidden_property_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.forbidden_property import ForbiddenProperty +from unit_test_api.components.schema import forbidden_property # body schemas -application_json = ForbiddenProperty +application_json = forbidden_property.ForbiddenProperty @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/response_for_200/__init__.py index 0b25289dc49..42da7f44b92 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_hostname_format_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.hostname_format import HostnameFormat +from unit_test_api.components.schema import hostname_format # body schemas -application_json = HostnameFormat +application_json = hostname_format.HostnameFormat @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/response_for_200/__init__.py index b524cc7c2c9..a1dfb4ddfc3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_integer_type_matches_integers_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.integer_type_matches_integers import IntegerTypeMatchesIntegers +from unit_test_api.components.schema import integer_type_matches_integers # body schemas -application_json = IntegerTypeMatchesIntegers +application_json = integer_type_matches_integers.IntegerTypeMatchesIntegers @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types/post/response_for_200/__init__.py index 72d698f3a56..0a7350705f5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.invalid_instance_should_not_raise_error_when_float_division_inf import InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf +from unit_test_api.components.schema import invalid_instance_should_not_raise_error_when_float_division_inf # body schemas -application_json = InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf +application_json = invalid_instance_should_not_raise_error_when_float_division_inf.InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_invalid_string_value_for_default_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_invalid_string_value_for_default_response_body_for_content_types/post/response_for_200/__init__.py index f9a0e8aff8f..61245d800b8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_invalid_string_value_for_default_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_invalid_string_value_for_default_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.invalid_string_value_for_default import InvalidStringValueForDefault +from unit_test_api.components.schema import invalid_string_value_for_default # body schemas -application_json = InvalidStringValueForDefault +application_json = invalid_string_value_for_default.InvalidStringValueForDefault @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/response_for_200/__init__.py index 3200aa7ee39..188016a3dce 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ipv4_format_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.ipv4_format import Ipv4Format +from unit_test_api.components.schema import ipv4_format # body schemas -application_json = Ipv4Format +application_json = ipv4_format.Ipv4Format @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/response_for_200/__init__.py index bdd2c9c28f7..6a7d97fca56 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ipv6_format_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.ipv6_format import Ipv6Format +from unit_test_api.components.schema import ipv6_format # body schemas -application_json = Ipv6Format +application_json = ipv6_format.Ipv6Format @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/response_for_200/__init__.py index 2e29b2f8cee..d971cf6a723 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_json_pointer_format_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.json_pointer_format import JsonPointerFormat +from unit_test_api.components.schema import json_pointer_format # body schemas -application_json = JsonPointerFormat +application_json = json_pointer_format.JsonPointerFormat @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/response_for_200/__init__.py index 1ef7ab92dec..cc49506ae60 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maximum_validation_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.maximum_validation import MaximumValidation +from unit_test_api.components.schema import maximum_validation # body schemas -application_json = MaximumValidation +application_json = maximum_validation.MaximumValidation @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/response_for_200/__init__.py index e88bf2d0551..7e2dd73c14f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.maximum_validation_with_unsigned_integer import MaximumValidationWithUnsignedInteger +from unit_test_api.components.schema import maximum_validation_with_unsigned_integer # body schemas -application_json = MaximumValidationWithUnsignedInteger +application_json = maximum_validation_with_unsigned_integer.MaximumValidationWithUnsignedInteger @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/response_for_200/__init__.py index 323b39b2190..ce44d58b659 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maxitems_validation_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.maxitems_validation import MaxitemsValidation +from unit_test_api.components.schema import maxitems_validation # body schemas -application_json = MaxitemsValidation +application_json = maxitems_validation.MaxitemsValidation @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/response_for_200/__init__.py index 3f0fecde3d2..67c86f3e693 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maxlength_validation_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.maxlength_validation import MaxlengthValidation +from unit_test_api.components.schema import maxlength_validation # body schemas -application_json = MaxlengthValidation +application_json = maxlength_validation.MaxlengthValidation @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/response_for_200/__init__.py index d82f31a19af..1d74b744682 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.maxproperties0_means_the_object_is_empty import Maxproperties0MeansTheObjectIsEmpty +from unit_test_api.components.schema import maxproperties0_means_the_object_is_empty # body schemas -application_json = Maxproperties0MeansTheObjectIsEmpty +application_json = maxproperties0_means_the_object_is_empty.Maxproperties0MeansTheObjectIsEmpty @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/response_for_200/__init__.py index 6ae3bc8ba20..8f3ae16ac74 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_maxproperties_validation_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.maxproperties_validation import MaxpropertiesValidation +from unit_test_api.components.schema import maxproperties_validation # body schemas -application_json = MaxpropertiesValidation +application_json = maxproperties_validation.MaxpropertiesValidation @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/response_for_200/__init__.py index ad407bd0857..5613b56e2c1 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minimum_validation_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.minimum_validation import MinimumValidation +from unit_test_api.components.schema import minimum_validation # body schemas -application_json = MinimumValidation +application_json = minimum_validation.MinimumValidation @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/response_for_200/__init__.py index 82cee940b18..703924a2a0d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.minimum_validation_with_signed_integer import MinimumValidationWithSignedInteger +from unit_test_api.components.schema import minimum_validation_with_signed_integer # body schemas -application_json = MinimumValidationWithSignedInteger +application_json = minimum_validation_with_signed_integer.MinimumValidationWithSignedInteger @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/response_for_200/__init__.py index aecc5229d79..845cf0a30d8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minitems_validation_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.minitems_validation import MinitemsValidation +from unit_test_api.components.schema import minitems_validation # body schemas -application_json = MinitemsValidation +application_json = minitems_validation.MinitemsValidation @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/response_for_200/__init__.py index 159ee712243..6ee0947c90d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minlength_validation_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.minlength_validation import MinlengthValidation +from unit_test_api.components.schema import minlength_validation # body schemas -application_json = MinlengthValidation +application_json = minlength_validation.MinlengthValidation @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/response_for_200/__init__.py index cdbabafe56e..eaebc8483bd 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_minproperties_validation_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.minproperties_validation import MinpropertiesValidation +from unit_test_api.components.schema import minproperties_validation # body schemas -application_json = MinpropertiesValidation +application_json = minproperties_validation.MinpropertiesValidation @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/response_for_200/__init__.py index 2fea46a6af9..d1e5195e0c3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.nested_allof_to_check_validation_semantics import NestedAllofToCheckValidationSemantics +from unit_test_api.components.schema import nested_allof_to_check_validation_semantics # body schemas -application_json = NestedAllofToCheckValidationSemantics +application_json = nested_allof_to_check_validation_semantics.NestedAllofToCheckValidationSemantics @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/response_for_200/__init__.py index 77c1690643f..fe49d256a0a 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.nested_anyof_to_check_validation_semantics import NestedAnyofToCheckValidationSemantics +from unit_test_api.components.schema import nested_anyof_to_check_validation_semantics # body schemas -application_json = NestedAnyofToCheckValidationSemantics +application_json = nested_anyof_to_check_validation_semantics.NestedAnyofToCheckValidationSemantics @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/response_for_200/__init__.py index 4dbe3fca24f..fe93b2dca83 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nested_items_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.nested_items import NestedItems +from unit_test_api.components.schema import nested_items # body schemas -application_json = NestedItems +application_json = nested_items.NestedItems @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/response_for_200/__init__.py index f5d104bd68a..f5e55c8e01e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.nested_oneof_to_check_validation_semantics import NestedOneofToCheckValidationSemantics +from unit_test_api.components.schema import nested_oneof_to_check_validation_semantics # body schemas -application_json = NestedOneofToCheckValidationSemantics +application_json = nested_oneof_to_check_validation_semantics.NestedOneofToCheckValidationSemantics @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/response_for_200/__init__.py index c98b1887a84..e4a63c5154c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_not_more_complex_schema_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.not_more_complex_schema import NotMoreComplexSchema +from unit_test_api.components.schema import not_more_complex_schema # body schemas -application_json = NotMoreComplexSchema +application_json = not_more_complex_schema.NotMoreComplexSchema @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/response_for_200/__init__.py index ceea90e6f35..61577848d97 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_not_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.model_not import ModelNot +from unit_test_api.components.schema import model_not # body schemas -application_json = ModelNot +application_json = model_not.ModelNot @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/response_for_200/__init__.py index b7d59330fbf..958b6064a68 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_nul_characters_in_strings_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.nul_characters_in_strings import NulCharactersInStrings +from unit_test_api.components.schema import nul_characters_in_strings # body schemas -application_json = NulCharactersInStrings +application_json = nul_characters_in_strings.NulCharactersInStrings @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/response_for_200/__init__.py index f1658c906b6..b2d6ee7951d 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.null_type_matches_only_the_null_object import NullTypeMatchesOnlyTheNullObject +from unit_test_api.components.schema import null_type_matches_only_the_null_object # body schemas -application_json = NullTypeMatchesOnlyTheNullObject +application_json = null_type_matches_only_the_null_object.NullTypeMatchesOnlyTheNullObject @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/response_for_200/__init__.py index 4738c4022d3..a480cf411ca 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_number_type_matches_numbers_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.number_type_matches_numbers import NumberTypeMatchesNumbers +from unit_test_api.components.schema import number_type_matches_numbers # body schemas -application_json = NumberTypeMatchesNumbers +application_json = number_type_matches_numbers.NumberTypeMatchesNumbers @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/response_for_200/__init__.py index 586c7b5791e..2377432cd09 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_object_properties_validation_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.object_properties_validation import ObjectPropertiesValidation +from unit_test_api.components.schema import object_properties_validation # body schemas -application_json = ObjectPropertiesValidation +application_json = object_properties_validation.ObjectPropertiesValidation @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/response_for_200/__init__.py index 41d31aff89a..170ac66c46e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_object_type_matches_objects_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.object_type_matches_objects import ObjectTypeMatchesObjects +from unit_test_api.components.schema import object_type_matches_objects # body schemas -application_json = ObjectTypeMatchesObjects +application_json = object_type_matches_objects.ObjectTypeMatchesObjects @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/response_for_200/__init__.py index 0374decd70c..7fdf31b3c81 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_complex_types_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.oneof_complex_types import OneofComplexTypes +from unit_test_api.components.schema import oneof_complex_types # body schemas -application_json = OneofComplexTypes +application_json = oneof_complex_types.OneofComplexTypes @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/response_for_200/__init__.py index 4e35f89eb54..0b485b38389 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.oneof import Oneof +from unit_test_api.components.schema import oneof # body schemas -application_json = Oneof +application_json = oneof.Oneof @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/response_for_200/__init__.py index 3690343f780..84ec97552a3 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_with_base_schema_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.oneof_with_base_schema import OneofWithBaseSchema +from unit_test_api.components.schema import oneof_with_base_schema # body schemas -application_json = OneofWithBaseSchema +application_json = oneof_with_base_schema.OneofWithBaseSchema @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/response_for_200/__init__.py index aecd14719c7..caaad22fa4c 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.oneof_with_empty_schema import OneofWithEmptySchema +from unit_test_api.components.schema import oneof_with_empty_schema # body schemas -application_json = OneofWithEmptySchema +application_json = oneof_with_empty_schema.OneofWithEmptySchema @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/response_for_200/__init__.py index 39d2c2a2378..ac2b7b4e2d7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_oneof_with_required_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.oneof_with_required import OneofWithRequired +from unit_test_api.components.schema import oneof_with_required # body schemas -application_json = OneofWithRequired +application_json = oneof_with_required.OneofWithRequired @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/response_for_200/__init__.py index 0628397fe19..3cd918095a2 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.pattern_is_not_anchored import PatternIsNotAnchored +from unit_test_api.components.schema import pattern_is_not_anchored # body schemas -application_json = PatternIsNotAnchored +application_json = pattern_is_not_anchored.PatternIsNotAnchored @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/response_for_200/__init__.py index efb3a18d0fb..46f3caa1bf8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_pattern_validation_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.pattern_validation import PatternValidation +from unit_test_api.components.schema import pattern_validation # body schemas -application_json = PatternValidation +application_json = pattern_validation.PatternValidation @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/response_for_200/__init__.py index bc0ddc3682c..38c0b8c90a0 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.properties_with_escaped_characters import PropertiesWithEscapedCharacters +from unit_test_api.components.schema import properties_with_escaped_characters # body schemas -application_json = PropertiesWithEscapedCharacters +application_json = properties_with_escaped_characters.PropertiesWithEscapedCharacters @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/response_for_200/__init__.py index 4be6cffd7a9..da5e3852d87 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.property_named_ref_that_is_not_a_reference import PropertyNamedRefThatIsNotAReference +from unit_test_api.components.schema import property_named_ref_that_is_not_a_reference # body schemas -application_json = PropertyNamedRefThatIsNotAReference +application_json = property_named_ref_that_is_not_a_reference.PropertyNamedRefThatIsNotAReference @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_additionalproperties_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_additionalproperties_response_body_for_content_types/post/response_for_200/__init__.py index eadcdece652..3d36a4d9f78 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_additionalproperties_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_additionalproperties_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.ref_in_additionalproperties import RefInAdditionalproperties +from unit_test_api.components.schema import ref_in_additionalproperties # body schemas -application_json = RefInAdditionalproperties +application_json = ref_in_additionalproperties.RefInAdditionalproperties @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_allof_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_allof_response_body_for_content_types/post/response_for_200/__init__.py index e9900a9146b..6e6bd8b9da7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_allof_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_allof_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.ref_in_allof import RefInAllof +from unit_test_api.components.schema import ref_in_allof # body schemas -application_json = RefInAllof +application_json = ref_in_allof.RefInAllof @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_anyof_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_anyof_response_body_for_content_types/post/response_for_200/__init__.py index f9a47948eae..1c89f9c5807 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_anyof_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_anyof_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.ref_in_anyof import RefInAnyof +from unit_test_api.components.schema import ref_in_anyof # body schemas -application_json = RefInAnyof +application_json = ref_in_anyof.RefInAnyof @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_items_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_items_response_body_for_content_types/post/response_for_200/__init__.py index 7867070e9a9..eb1395c7b84 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_items_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_items_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.ref_in_items import RefInItems +from unit_test_api.components.schema import ref_in_items # body schemas -application_json = RefInItems +application_json = ref_in_items.RefInItems @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_not_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_not_response_body_for_content_types/post/response_for_200/__init__.py index dfdd7cbae0b..e9c27a22b58 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_not_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_not_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.ref_in_not import RefInNot +from unit_test_api.components.schema import ref_in_not # body schemas -application_json = RefInNot +application_json = ref_in_not.RefInNot @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_oneof_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_oneof_response_body_for_content_types/post/response_for_200/__init__.py index e283b602287..7eb50ccc1ea 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_oneof_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_oneof_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.ref_in_oneof import RefInOneof +from unit_test_api.components.schema import ref_in_oneof # body schemas -application_json = RefInOneof +application_json = ref_in_oneof.RefInOneof @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_property_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_property_response_body_for_content_types/post/response_for_200/__init__.py index 69e7825be8f..ee0520f682e 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_property_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_ref_in_property_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.ref_in_property import RefInProperty +from unit_test_api.components.schema import ref_in_property # body schemas -application_json = RefInProperty +application_json = ref_in_property.RefInProperty @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/response_for_200/__init__.py index 371ad0b2615..d94800e68f7 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_required_default_validation_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.required_default_validation import RequiredDefaultValidation +from unit_test_api.components.schema import required_default_validation # body schemas -application_json = RequiredDefaultValidation +application_json = required_default_validation.RequiredDefaultValidation @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/response_for_200/__init__.py index a0ee1c33e58..2bc615ea409 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_required_validation_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.required_validation import RequiredValidation +from unit_test_api.components.schema import required_validation # body schemas -application_json = RequiredValidation +application_json = required_validation.RequiredValidation @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/response_for_200/__init__.py index f0a80ad9943..3b82dccd287 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_required_with_empty_array_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.required_with_empty_array import RequiredWithEmptyArray +from unit_test_api.components.schema import required_with_empty_array # body schemas -application_json = RequiredWithEmptyArray +application_json = required_with_empty_array.RequiredWithEmptyArray @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/response_for_200/__init__.py index 657d376e67c..3c718abad95 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.required_with_escaped_characters import RequiredWithEscapedCharacters +from unit_test_api.components.schema import required_with_escaped_characters # body schemas -application_json = RequiredWithEscapedCharacters +application_json = required_with_escaped_characters.RequiredWithEscapedCharacters @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/response_for_200/__init__.py index c121f9bce9f..099860b050f 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_simple_enum_validation_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.simple_enum_validation import SimpleEnumValidation +from unit_test_api.components.schema import simple_enum_validation # body schemas -application_json = SimpleEnumValidation +application_json = simple_enum_validation.SimpleEnumValidation @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/response_for_200/__init__.py index 91d37be3256..596bc839c90 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.string_type_matches_strings import StringTypeMatchesStrings +from unit_test_api.components.schema import string_type_matches_strings # body schemas -application_json = StringTypeMatchesStrings +application_json = string_type_matches_strings.StringTypeMatchesStrings @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/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/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/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/response_for_200/__init__.py index d4e83595875..5b7365e12c5 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/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/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/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/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.the_default_keyword_does_not_do_anything_if_the_property_is_missing import TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing +from unit_test_api.components.schema import the_default_keyword_does_not_do_anything_if_the_property_is_missing # body schemas -application_json = TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing +application_json = the_default_keyword_does_not_do_anything_if_the_property_is_missing.TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/response_for_200/__init__.py index 3df32b36374..238de957b90 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.uniqueitems_false_validation import UniqueitemsFalseValidation +from unit_test_api.components.schema import uniqueitems_false_validation # body schemas -application_json = UniqueitemsFalseValidation +application_json = uniqueitems_false_validation.UniqueitemsFalseValidation @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/response_for_200/__init__.py index a7cc09871fe..da4f73bff80 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uniqueitems_validation_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.uniqueitems_validation import UniqueitemsValidation +from unit_test_api.components.schema import uniqueitems_validation # body schemas -application_json = UniqueitemsValidation +application_json = uniqueitems_validation.UniqueitemsValidation @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/response_for_200/__init__.py index fa0984b97b1..95e0003207b 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uri_format_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.uri_format import UriFormat +from unit_test_api.components.schema import uri_format # body schemas -application_json = UriFormat +application_json = uri_format.UriFormat @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/response_for_200/__init__.py index 4d281ac8531..40794aa6de8 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uri_reference_format_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.uri_reference_format import UriReferenceFormat +from unit_test_api.components.schema import uri_reference_format # body schemas -application_json = UriReferenceFormat +application_json = uri_reference_format.UriReferenceFormat @dataclasses.dataclass diff --git a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/response_for_200/__init__.py b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/response_for_200/__init__.py index 58edb80ba19..20c18448954 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/response_for_200/__init__.py +++ b/samples/openapi3/client/3_0_3_unit_test/python/unit_test_api/paths/response_body_post_uri_template_format_response_body_for_content_types/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from unit_test_api import schemas # noqa: F401 -from unit_test_api.components.schema.uri_template_format import UriTemplateFormat +from unit_test_api.components.schema import uri_template_format # body schemas -application_json = UriTemplateFormat +application_json = uri_template_format.UriTemplateFormat @dataclasses.dataclass diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/.openapi-generator/FILES b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/.openapi-generator/FILES index 53a8265395d..c6d46b4fefd 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/.openapi-generator/FILES +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/.openapi-generator/FILES @@ -3,9 +3,9 @@ .travis.yml README.md docs/apis/tags/DefaultApi.md -docs/components/schema/AdditionOperator.md -docs/components/schema/Operator.md -docs/components/schema/SubtractionOperator.md +docs/components/schema/addition_operator.AdditionOperator.md +docs/components/schema/operator.Operator.md +docs/components/schema/subtraction_operator.SubtractionOperator.md git_push.sh requirements.txt setup.cfg diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/README.md b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/README.md index 3863aba2faa..e28ae241c47 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/README.md +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/README.md @@ -138,7 +138,7 @@ Please follow the [installation procedure](#installation--usage) and then run th ```python import this_package from this_package.apis.tags import default_api -from this_package.components.schema.operator import Operator +from this_package.components.schema import operator from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000 # See configuration.py for a list of all supported configuration parameters. @@ -152,7 +152,7 @@ with this_package.ApiClient(configuration) as api_client: api_instance = default_api.DefaultApi(api_client) # example passing only optional values - body = Operator( + body = operator.Operator( a=3.14, b=3.14, operator_id="ADD", @@ -175,9 +175,9 @@ Class | Method | HTTP request | Description ## Documentation For Models - - [AdditionOperator](docs/components/schema/AdditionOperator.md) - - [Operator](docs/components/schema/Operator.md) - - [SubtractionOperator](docs/components/schema/SubtractionOperator.md) + - [AdditionOperator](docs/components/schema/addition_operator.AdditionOperator.md) + - [Operator](docs/components/schema/operator.Operator.md) + - [SubtractionOperator](docs/components/schema/subtraction_operator.SubtractionOperator.md) ## Documentation For Authorization diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/docs/apis/tags/DefaultApi.md b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/docs/apis/tags/DefaultApi.md index 61851f8046f..927ea5d34ff 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/docs/apis/tags/DefaultApi.md +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/docs/apis/tags/DefaultApi.md @@ -16,7 +16,7 @@ Method | HTTP request | Description ```python import this_package from this_package.apis.tags import default_api -from this_package.components.schema.operator import Operator +from this_package.components.schema import operator from pprint import pprint # Defining the host is optional and defaults to http://localhost:3000 # See configuration.py for a list of all supported configuration parameters. @@ -30,7 +30,7 @@ with this_package.ApiClient(configuration) as api_client: api_instance = default_api.DefaultApi(api_client) # example passing only optional values - body = Operator( + body = operator.Operator( a=3.14, b=3.14, operator_id="ADD", @@ -57,7 +57,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Operator**](../../components/schema/Operator.md) | | +[**Operator**](../../components/schema/operator.Operator.md) | | ### Return Types, Responses diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/docs/components/schema/AdditionOperator.md b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/docs/components/schema/addition_operator.AdditionOperator.md similarity index 96% rename from samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/docs/components/schema/AdditionOperator.md rename to samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/docs/components/schema/addition_operator.AdditionOperator.md index 3c71b69cb76..5745daad10e 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/docs/components/schema/AdditionOperator.md +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/docs/components/schema/addition_operator.AdditionOperator.md @@ -1,3 +1,4 @@ + # this_package.components.schema.addition_operator.AdditionOperator ## Model Type Info 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.Operator.md similarity index 64% rename from samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/docs/components/schema/Operator.md rename to samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/docs/components/schema/operator.Operator.md index bfbad42d374..977ffaaf19b 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/docs/components/schema/Operator.md +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/docs/components/schema/operator.Operator.md @@ -1,3 +1,4 @@ + # this_package.components.schema.operator.Operator ## Model Type Info @@ -9,8 +10,8 @@ dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal #### oneOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[AdditionOperator](AdditionOperator.md) | [**AdditionOperator**](AdditionOperator.md) | [**AdditionOperator**](AdditionOperator.md) | | -[SubtractionOperator](SubtractionOperator.md) | [**SubtractionOperator**](SubtractionOperator.md) | [**SubtractionOperator**](SubtractionOperator.md) | | +[**AdditionOperator**](addition_operator.AdditionOperator.md) | [**AdditionOperator**](addition_operator.AdditionOperator.md) | [**AdditionOperator**](addition_operator.AdditionOperator.md) | | +[**SubtractionOperator**](subtraction_operator.SubtractionOperator.md) | [**SubtractionOperator**](subtraction_operator.SubtractionOperator.md) | [**SubtractionOperator**](subtraction_operator.SubtractionOperator.md) | | [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/docs/components/schema/SubtractionOperator.md b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/docs/components/schema/subtraction_operator.SubtractionOperator.md similarity index 96% rename from samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/docs/components/schema/SubtractionOperator.md rename to samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/docs/components/schema/subtraction_operator.SubtractionOperator.md index 9852ff29e0e..da02a5cfadb 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/docs/components/schema/SubtractionOperator.md +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/docs/components/schema/subtraction_operator.SubtractionOperator.md @@ -1,3 +1,4 @@ + # this_package.components.schema.subtraction_operator.SubtractionOperator ## Model Type Info diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/operator.py b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/operator.py index 9aa90e7d978..e0385d47c80 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/operator.py +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/operator.py @@ -39,10 +39,10 @@ class MetaOapg: def discriminator(): return { 'operator_id': { - 'ADD': AdditionOperator, - 'AdditionOperator': AdditionOperator, - 'SUB': SubtractionOperator, - 'SubtractionOperator': SubtractionOperator, + 'ADD': addition_operator.AdditionOperator, + 'AdditionOperator': addition_operator.AdditionOperator, + 'SUB': subtraction_operator.SubtractionOperator, + 'SubtractionOperator': subtraction_operator.SubtractionOperator, } } @@ -57,8 +57,8 @@ def one_of(cls): # classes don't exist yet because their module has not finished # loading return [ - AdditionOperator, - SubtractionOperator, + addition_operator.AdditionOperator, + subtraction_operator.SubtractionOperator, ] @@ -75,5 +75,5 @@ def __new__( **kwargs, ) -from this_package.components.schema.addition_operator import AdditionOperator -from this_package.components.schema.subtraction_operator import SubtractionOperator +from this_package.components.schema import addition_operator +from this_package.components.schema import subtraction_operator diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/operator.pyi b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/operator.pyi index 9aa90e7d978..e0385d47c80 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/operator.pyi +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/components/schema/operator.pyi @@ -39,10 +39,10 @@ class Operator( def discriminator(): return { 'operator_id': { - 'ADD': AdditionOperator, - 'AdditionOperator': AdditionOperator, - 'SUB': SubtractionOperator, - 'SubtractionOperator': SubtractionOperator, + 'ADD': addition_operator.AdditionOperator, + 'AdditionOperator': addition_operator.AdditionOperator, + 'SUB': subtraction_operator.SubtractionOperator, + 'SubtractionOperator': subtraction_operator.SubtractionOperator, } } @@ -57,8 +57,8 @@ class Operator( # classes don't exist yet because their module has not finished # loading return [ - AdditionOperator, - SubtractionOperator, + addition_operator.AdditionOperator, + subtraction_operator.SubtractionOperator, ] @@ -75,5 +75,5 @@ class Operator( **kwargs, ) -from this_package.components.schema.addition_operator import AdditionOperator -from this_package.components.schema.subtraction_operator import SubtractionOperator +from this_package.components.schema import addition_operator +from this_package.components.schema import subtraction_operator diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/paths/operators/post/__init__.py b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/paths/operators/post/__init__.py index e53cf74318e..5754b0a3abc 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/paths/operators/post/__init__.py +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/paths/operators/post/__init__.py @@ -25,7 +25,7 @@ from this_package import schemas # noqa: F401 -from this_package.components.schema.operator import Operator +from this_package.components.schema import operator from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/paths/operators/post/__init__.pyi b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/paths/operators/post/__init__.pyi index eccbf0e2a70..0cfae448a35 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/paths/operators/post/__init__.pyi +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/paths/operators/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from this_package import schemas # noqa: F401 -from this_package.components.schema.operator import Operator +from this_package.components.schema import operator from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/paths/operators/post/request_body.py b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/paths/operators/post/request_body.py index f45913ba403..cbf233893f5 100644 --- a/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/paths/operators/post/request_body.py +++ b/samples/openapi3/client/features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package/paths/operators/post/request_body.py @@ -24,10 +24,10 @@ from this_package import schemas # noqa: F401 -from this_package.components.schema.operator import Operator +from this_package.components.schema import operator -application_json = Operator +application_json = operator.Operator parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/petstore/python/.openapi-generator/FILES b/samples/openapi3/client/petstore/python/.openapi-generator/FILES index d328220f499..90f7f735d53 100644 --- a/samples/openapi3/client/petstore/python/.openapi-generator/FILES +++ b/samples/openapi3/client/petstore/python/.openapi-generator/FILES @@ -9,128 +9,130 @@ docs/apis/tags/FakeClassnameTags123Api.md docs/apis/tags/PetApi.md docs/apis/tags/StoreApi.md docs/apis/tags/UserApi.md -docs/components/schema/AbstractStepMessage.md -docs/components/schema/AdditionalPropertiesClass.md -docs/components/schema/AdditionalPropertiesValidator.md -docs/components/schema/AdditionalPropertiesWithArrayOfEnums.md -docs/components/schema/Address.md -docs/components/schema/Animal.md -docs/components/schema/AnimalFarm.md -docs/components/schema/AnyTypeAndFormat.md -docs/components/schema/AnyTypeNotString.md -docs/components/schema/ApiResponse.md -docs/components/schema/Apple.md -docs/components/schema/AppleReq.md -docs/components/schema/ArrayHoldingAnyType.md -docs/components/schema/ArrayOfArrayOfNumberOnly.md -docs/components/schema/ArrayOfEnums.md -docs/components/schema/ArrayOfNumberOnly.md -docs/components/schema/ArrayTest.md -docs/components/schema/ArrayWithValidationsInItems.md -docs/components/schema/Banana.md -docs/components/schema/BananaReq.md -docs/components/schema/Bar.md -docs/components/schema/BasquePig.md -docs/components/schema/Boolean.md -docs/components/schema/BooleanEnum.md -docs/components/schema/Capitalization.md -docs/components/schema/Cat.md -docs/components/schema/Category.md -docs/components/schema/ChildCat.md -docs/components/schema/ClassModel.md -docs/components/schema/Client.md -docs/components/schema/ComplexQuadrilateral.md -docs/components/schema/ComposedAnyOfDifferentTypesNoValidations.md -docs/components/schema/ComposedArray.md -docs/components/schema/ComposedBool.md -docs/components/schema/ComposedNone.md -docs/components/schema/ComposedNumber.md -docs/components/schema/ComposedObject.md -docs/components/schema/ComposedOneOfDifferentTypes.md -docs/components/schema/ComposedString.md -docs/components/schema/Currency.md -docs/components/schema/DanishPig.md -docs/components/schema/DateTimeTest.md -docs/components/schema/DateTimeWithValidations.md -docs/components/schema/DateWithValidations.md -docs/components/schema/DecimalPayload.md -docs/components/schema/Dog.md -docs/components/schema/Drawing.md -docs/components/schema/EnumArrays.md -docs/components/schema/EnumClass.md -docs/components/schema/EnumTest.md -docs/components/schema/EquilateralTriangle.md -docs/components/schema/File.md -docs/components/schema/FileSchemaTestClass.md -docs/components/schema/Foo.md -docs/components/schema/FormatTest.md -docs/components/schema/FromSchema.md -docs/components/schema/Fruit.md -docs/components/schema/FruitReq.md -docs/components/schema/GmFruit.md -docs/components/schema/GrandparentAnimal.md -docs/components/schema/HasOnlyReadOnly.md -docs/components/schema/HealthCheckResult.md -docs/components/schema/IntegerEnum.md -docs/components/schema/IntegerEnumBig.md -docs/components/schema/IntegerEnumOneValue.md -docs/components/schema/IntegerEnumWithDefaultValue.md -docs/components/schema/IntegerMax10.md -docs/components/schema/IntegerMin15.md -docs/components/schema/IsoscelesTriangle.md -docs/components/schema/JSONPatchRequest.md -docs/components/schema/JSONPatchRequestAddReplaceTest.md -docs/components/schema/JSONPatchRequestMoveCopy.md -docs/components/schema/JSONPatchRequestRemove.md -docs/components/schema/Mammal.md -docs/components/schema/MapTest.md -docs/components/schema/MixedPropertiesAndAdditionalPropertiesClass.md -docs/components/schema/Model200Response.md -docs/components/schema/ModelReturn.md -docs/components/schema/Money.md -docs/components/schema/Name.md -docs/components/schema/NoAdditionalProperties.md -docs/components/schema/NullableClass.md -docs/components/schema/NullableShape.md -docs/components/schema/NullableString.md -docs/components/schema/Number.md -docs/components/schema/NumberOnly.md -docs/components/schema/NumberWithValidations.md -docs/components/schema/ObjectInterface.md -docs/components/schema/ObjectModelWithRefProps.md -docs/components/schema/ObjectWithAllOfWithReqTestPropFromUnsetAddProp.md -docs/components/schema/ObjectWithDecimalProperties.md -docs/components/schema/ObjectWithDifficultlyNamedProps.md -docs/components/schema/ObjectWithInlineCompositionProperty.md -docs/components/schema/ObjectWithInvalidNamedRefedProperties.md -docs/components/schema/ObjectWithOptionalTestProp.md -docs/components/schema/ObjectWithValidations.md -docs/components/schema/Order.md -docs/components/schema/ParentPet.md -docs/components/schema/Pet.md -docs/components/schema/Pig.md -docs/components/schema/Player.md -docs/components/schema/Quadrilateral.md -docs/components/schema/QuadrilateralInterface.md -docs/components/schema/ReadOnlyFirst.md -docs/components/schema/ScaleneTriangle.md -docs/components/schema/Shape.md -docs/components/schema/ShapeOrNull.md -docs/components/schema/SimpleQuadrilateral.md -docs/components/schema/SomeObject.md -docs/components/schema/SpecialModelName.md -docs/components/schema/String.md -docs/components/schema/StringBooleanMap.md -docs/components/schema/StringEnum.md -docs/components/schema/StringEnumWithDefaultValue.md -docs/components/schema/StringWithValidation.md -docs/components/schema/Tag.md -docs/components/schema/Triangle.md -docs/components/schema/TriangleInterface.md -docs/components/schema/UUIDString.md -docs/components/schema/User.md -docs/components/schema/Whale.md -docs/components/schema/Zebra.md +docs/components/schema/abstract_step_message.AbstractStepMessage.md +docs/components/schema/additional_properties_class.AdditionalPropertiesClass.md +docs/components/schema/additional_properties_validator.AdditionalPropertiesValidator.md +docs/components/schema/additional_properties_with_array_of_enums.AdditionalPropertiesWithArrayOfEnums.md +docs/components/schema/address.Address.md +docs/components/schema/animal.Animal.md +docs/components/schema/animal_farm.AnimalFarm.md +docs/components/schema/any_type_and_format.AnyTypeAndFormat.md +docs/components/schema/any_type_not_string.AnyTypeNotString.md +docs/components/schema/api_response.ApiResponse.md +docs/components/schema/apple.Apple.md +docs/components/schema/apple_req.AppleReq.md +docs/components/schema/array_holding_any_type.ArrayHoldingAnyType.md +docs/components/schema/array_of_array_of_number_only.ArrayOfArrayOfNumberOnly.md +docs/components/schema/array_of_enums.ArrayOfEnums.md +docs/components/schema/array_of_number_only.ArrayOfNumberOnly.md +docs/components/schema/array_test.ArrayTest.md +docs/components/schema/array_with_validations_in_items.ArrayWithValidationsInItems.md +docs/components/schema/banana.Banana.md +docs/components/schema/banana_req.BananaReq.md +docs/components/schema/bar.Bar.md +docs/components/schema/basque_pig.BasquePig.md +docs/components/schema/boolean.Boolean.md +docs/components/schema/boolean_enum.BooleanEnum.md +docs/components/schema/capitalization.Capitalization.md +docs/components/schema/cat.Cat.md +docs/components/schema/category.Category.md +docs/components/schema/child_cat.ChildCat.md +docs/components/schema/class_model.ClassModel.md +docs/components/schema/client.Client.md +docs/components/schema/complex_quadrilateral.ComplexQuadrilateral.md +docs/components/schema/composed_any_of_different_types_no_validations.ComposedAnyOfDifferentTypesNoValidations.md +docs/components/schema/composed_array.ComposedArray.md +docs/components/schema/composed_bool.ComposedBool.md +docs/components/schema/composed_none.ComposedNone.md +docs/components/schema/composed_number.ComposedNumber.md +docs/components/schema/composed_object.ComposedObject.md +docs/components/schema/composed_one_of_different_types.ComposedOneOfDifferentTypes.md +docs/components/schema/composed_string.ComposedString.md +docs/components/schema/currency.Currency.md +docs/components/schema/danish_pig.DanishPig.md +docs/components/schema/date_time_test.DateTimeTest.md +docs/components/schema/date_time_with_validations.DateTimeWithValidations.md +docs/components/schema/date_with_validations.DateWithValidations.md +docs/components/schema/decimal_payload.DecimalPayload.md +docs/components/schema/dog.Dog.md +docs/components/schema/drawing.Drawing.md +docs/components/schema/enum_arrays.EnumArrays.md +docs/components/schema/enum_class.EnumClass.md +docs/components/schema/enum_test.EnumTest.md +docs/components/schema/equilateral_triangle.EquilateralTriangle.md +docs/components/schema/file.File.md +docs/components/schema/file_schema_test_class.FileSchemaTestClass.md +docs/components/schema/foo.Foo.md +docs/components/schema/format_test.FormatTest.md +docs/components/schema/from_schema.FromSchema.md +docs/components/schema/fruit.Fruit.md +docs/components/schema/fruit_req.FruitReq.md +docs/components/schema/gm_fruit.GmFruit.md +docs/components/schema/grandparent_animal.GrandparentAnimal.md +docs/components/schema/has_only_read_only.HasOnlyReadOnly.md +docs/components/schema/health_check_result.HealthCheckResult.md +docs/components/schema/integer_enum.IntegerEnum.md +docs/components/schema/integer_enum_big.IntegerEnumBig.md +docs/components/schema/integer_enum_one_value.IntegerEnumOneValue.md +docs/components/schema/integer_enum_with_default_value.IntegerEnumWithDefaultValue.md +docs/components/schema/integer_max10.IntegerMax10.md +docs/components/schema/integer_min15.IntegerMin15.md +docs/components/schema/isosceles_triangle.IsoscelesTriangle.md +docs/components/schema/json_patch_request.JSONPatchRequest.md +docs/components/schema/json_patch_request_add_replace_test.JSONPatchRequestAddReplaceTest.md +docs/components/schema/json_patch_request_move_copy.JSONPatchRequestMoveCopy.md +docs/components/schema/json_patch_request_remove.JSONPatchRequestRemove.md +docs/components/schema/mammal.Mammal.md +docs/components/schema/map_test.MapTest.md +docs/components/schema/mixed_properties_and_additional_properties_class.MixedPropertiesAndAdditionalPropertiesClass.md +docs/components/schema/model200_response.Model200Response.md +docs/components/schema/model_return.ModelReturn.md +docs/components/schema/money.Money.md +docs/components/schema/name.Name.md +docs/components/schema/no_additional_properties.NoAdditionalProperties.md +docs/components/schema/nullable_class.NullableClass.md +docs/components/schema/nullable_shape.NullableShape.md +docs/components/schema/nullable_string.NullableString.md +docs/components/schema/number.Number.md +docs/components/schema/number_only.NumberOnly.md +docs/components/schema/number_with_validations.NumberWithValidations.md +docs/components/schema/object_interface.ObjectInterface.md +docs/components/schema/object_model_with_ref_props.ObjectModelWithRefProps.md +docs/components/schema/object_with_all_of_with_req_test_prop_from_unset_add_prop.ObjectWithAllOfWithReqTestPropFromUnsetAddProp.md +docs/components/schema/object_with_decimal_properties.ObjectWithDecimalProperties.md +docs/components/schema/object_with_difficultly_named_props.ObjectWithDifficultlyNamedProps.md +docs/components/schema/object_with_inline_composition_property.ObjectWithInlineCompositionProperty.md +docs/components/schema/object_with_invalid_named_refed_properties.ObjectWithInvalidNamedRefedProperties.md +docs/components/schema/object_with_optional_test_prop.ObjectWithOptionalTestProp.md +docs/components/schema/object_with_validations.ObjectWithValidations.md +docs/components/schema/order.Order.md +docs/components/schema/parent_pet.ParentPet.md +docs/components/schema/pet.Pet.md +docs/components/schema/pig.Pig.md +docs/components/schema/player.Player.md +docs/components/schema/quadrilateral.Quadrilateral.md +docs/components/schema/quadrilateral_interface.QuadrilateralInterface.md +docs/components/schema/read_only_first.ReadOnlyFirst.md +docs/components/schema/scalene_triangle.ScaleneTriangle.md +docs/components/schema/self_referencing_array_model.SelfReferencingArrayModel.md +docs/components/schema/self_referencing_object_model.SelfReferencingObjectModel.md +docs/components/schema/shape.Shape.md +docs/components/schema/shape_or_null.ShapeOrNull.md +docs/components/schema/simple_quadrilateral.SimpleQuadrilateral.md +docs/components/schema/some_object.SomeObject.md +docs/components/schema/special_model_name.SpecialModelName.md +docs/components/schema/string.String.md +docs/components/schema/string_boolean_map.StringBooleanMap.md +docs/components/schema/string_enum.StringEnum.md +docs/components/schema/string_enum_with_default_value.StringEnumWithDefaultValue.md +docs/components/schema/string_with_validation.StringWithValidation.md +docs/components/schema/tag.Tag.md +docs/components/schema/triangle.Triangle.md +docs/components/schema/triangle_interface.TriangleInterface.md +docs/components/schema/user.User.md +docs/components/schema/uuid_string.UUIDString.md +docs/components/schema/whale.Whale.md +docs/components/schema/zebra.Zebra.md git_push.sh petstore_api/__init__.py petstore_api/api_client.py @@ -354,6 +356,10 @@ petstore_api/components/schema/read_only_first.py petstore_api/components/schema/read_only_first.pyi petstore_api/components/schema/scalene_triangle.py petstore_api/components/schema/scalene_triangle.pyi +petstore_api/components/schema/self_referencing_array_model.py +petstore_api/components/schema/self_referencing_array_model.pyi +petstore_api/components/schema/self_referencing_object_model.py +petstore_api/components/schema/self_referencing_object_model.pyi petstore_api/components/schema/shape.py petstore_api/components/schema/shape.pyi petstore_api/components/schema/shape_or_null.py diff --git a/samples/openapi3/client/petstore/python/README.md b/samples/openapi3/client/petstore/python/README.md index 4e3fe66bacd..05a391e1cfb 100644 --- a/samples/openapi3/client/petstore/python/README.md +++ b/samples/openapi3/client/petstore/python/README.md @@ -138,7 +138,7 @@ Please follow the [installation procedure](#installation--usage) and then run th ```python import petstore_api from petstore_api.apis.tags import another_fake_api -from petstore_api.components.schema.client import Client +from petstore_api.components.schema import client from pprint import pprint # Defining the host is optional and defaults to http://petstore.swagger.io:80/v2 # See configuration.py for a list of all supported configuration parameters. @@ -152,7 +152,7 @@ with petstore_api.ApiClient(configuration) as api_client: api_instance = another_fake_api.AnotherFakeApi(api_client) # example passing only required values which don't have defaults set - body = Client( + body = client.Client( client="client_example", ) try: @@ -231,128 +231,130 @@ Class | Method | HTTP request | Description ## Documentation For Models - - [AbstractStepMessage](docs/components/schema/AbstractStepMessage.md) - - [AdditionalPropertiesClass](docs/components/schema/AdditionalPropertiesClass.md) - - [AdditionalPropertiesValidator](docs/components/schema/AdditionalPropertiesValidator.md) - - [AdditionalPropertiesWithArrayOfEnums](docs/components/schema/AdditionalPropertiesWithArrayOfEnums.md) - - [Address](docs/components/schema/Address.md) - - [Animal](docs/components/schema/Animal.md) - - [AnimalFarm](docs/components/schema/AnimalFarm.md) - - [AnyTypeAndFormat](docs/components/schema/AnyTypeAndFormat.md) - - [AnyTypeNotString](docs/components/schema/AnyTypeNotString.md) - - [ApiResponse](docs/components/schema/ApiResponse.md) - - [Apple](docs/components/schema/Apple.md) - - [AppleReq](docs/components/schema/AppleReq.md) - - [ArrayHoldingAnyType](docs/components/schema/ArrayHoldingAnyType.md) - - [ArrayOfArrayOfNumberOnly](docs/components/schema/ArrayOfArrayOfNumberOnly.md) - - [ArrayOfEnums](docs/components/schema/ArrayOfEnums.md) - - [ArrayOfNumberOnly](docs/components/schema/ArrayOfNumberOnly.md) - - [ArrayTest](docs/components/schema/ArrayTest.md) - - [ArrayWithValidationsInItems](docs/components/schema/ArrayWithValidationsInItems.md) - - [Banana](docs/components/schema/Banana.md) - - [BananaReq](docs/components/schema/BananaReq.md) - - [Bar](docs/components/schema/Bar.md) - - [BasquePig](docs/components/schema/BasquePig.md) - - [Boolean](docs/components/schema/Boolean.md) - - [BooleanEnum](docs/components/schema/BooleanEnum.md) - - [Capitalization](docs/components/schema/Capitalization.md) - - [Cat](docs/components/schema/Cat.md) - - [Category](docs/components/schema/Category.md) - - [ChildCat](docs/components/schema/ChildCat.md) - - [ClassModel](docs/components/schema/ClassModel.md) - - [Client](docs/components/schema/Client.md) - - [ComplexQuadrilateral](docs/components/schema/ComplexQuadrilateral.md) - - [ComposedAnyOfDifferentTypesNoValidations](docs/components/schema/ComposedAnyOfDifferentTypesNoValidations.md) - - [ComposedArray](docs/components/schema/ComposedArray.md) - - [ComposedBool](docs/components/schema/ComposedBool.md) - - [ComposedNone](docs/components/schema/ComposedNone.md) - - [ComposedNumber](docs/components/schema/ComposedNumber.md) - - [ComposedObject](docs/components/schema/ComposedObject.md) - - [ComposedOneOfDifferentTypes](docs/components/schema/ComposedOneOfDifferentTypes.md) - - [ComposedString](docs/components/schema/ComposedString.md) - - [Currency](docs/components/schema/Currency.md) - - [DanishPig](docs/components/schema/DanishPig.md) - - [DateTimeTest](docs/components/schema/DateTimeTest.md) - - [DateTimeWithValidations](docs/components/schema/DateTimeWithValidations.md) - - [DateWithValidations](docs/components/schema/DateWithValidations.md) - - [DecimalPayload](docs/components/schema/DecimalPayload.md) - - [Dog](docs/components/schema/Dog.md) - - [Drawing](docs/components/schema/Drawing.md) - - [EnumArrays](docs/components/schema/EnumArrays.md) - - [EnumClass](docs/components/schema/EnumClass.md) - - [EnumTest](docs/components/schema/EnumTest.md) - - [EquilateralTriangle](docs/components/schema/EquilateralTriangle.md) - - [File](docs/components/schema/File.md) - - [FileSchemaTestClass](docs/components/schema/FileSchemaTestClass.md) - - [Foo](docs/components/schema/Foo.md) - - [FormatTest](docs/components/schema/FormatTest.md) - - [FromSchema](docs/components/schema/FromSchema.md) - - [Fruit](docs/components/schema/Fruit.md) - - [FruitReq](docs/components/schema/FruitReq.md) - - [GmFruit](docs/components/schema/GmFruit.md) - - [GrandparentAnimal](docs/components/schema/GrandparentAnimal.md) - - [HasOnlyReadOnly](docs/components/schema/HasOnlyReadOnly.md) - - [HealthCheckResult](docs/components/schema/HealthCheckResult.md) - - [IntegerEnum](docs/components/schema/IntegerEnum.md) - - [IntegerEnumBig](docs/components/schema/IntegerEnumBig.md) - - [IntegerEnumOneValue](docs/components/schema/IntegerEnumOneValue.md) - - [IntegerEnumWithDefaultValue](docs/components/schema/IntegerEnumWithDefaultValue.md) - - [IntegerMax10](docs/components/schema/IntegerMax10.md) - - [IntegerMin15](docs/components/schema/IntegerMin15.md) - - [IsoscelesTriangle](docs/components/schema/IsoscelesTriangle.md) - - [JSONPatchRequest](docs/components/schema/JSONPatchRequest.md) - - [JSONPatchRequestAddReplaceTest](docs/components/schema/JSONPatchRequestAddReplaceTest.md) - - [JSONPatchRequestMoveCopy](docs/components/schema/JSONPatchRequestMoveCopy.md) - - [JSONPatchRequestRemove](docs/components/schema/JSONPatchRequestRemove.md) - - [Mammal](docs/components/schema/Mammal.md) - - [MapTest](docs/components/schema/MapTest.md) - - [MixedPropertiesAndAdditionalPropertiesClass](docs/components/schema/MixedPropertiesAndAdditionalPropertiesClass.md) - - [Model200Response](docs/components/schema/Model200Response.md) - - [ModelReturn](docs/components/schema/ModelReturn.md) - - [Money](docs/components/schema/Money.md) - - [Name](docs/components/schema/Name.md) - - [NoAdditionalProperties](docs/components/schema/NoAdditionalProperties.md) - - [NullableClass](docs/components/schema/NullableClass.md) - - [NullableShape](docs/components/schema/NullableShape.md) - - [NullableString](docs/components/schema/NullableString.md) - - [Number](docs/components/schema/Number.md) - - [NumberOnly](docs/components/schema/NumberOnly.md) - - [NumberWithValidations](docs/components/schema/NumberWithValidations.md) - - [ObjectInterface](docs/components/schema/ObjectInterface.md) - - [ObjectModelWithRefProps](docs/components/schema/ObjectModelWithRefProps.md) - - [ObjectWithAllOfWithReqTestPropFromUnsetAddProp](docs/components/schema/ObjectWithAllOfWithReqTestPropFromUnsetAddProp.md) - - [ObjectWithDecimalProperties](docs/components/schema/ObjectWithDecimalProperties.md) - - [ObjectWithDifficultlyNamedProps](docs/components/schema/ObjectWithDifficultlyNamedProps.md) - - [ObjectWithInlineCompositionProperty](docs/components/schema/ObjectWithInlineCompositionProperty.md) - - [ObjectWithInvalidNamedRefedProperties](docs/components/schema/ObjectWithInvalidNamedRefedProperties.md) - - [ObjectWithOptionalTestProp](docs/components/schema/ObjectWithOptionalTestProp.md) - - [ObjectWithValidations](docs/components/schema/ObjectWithValidations.md) - - [Order](docs/components/schema/Order.md) - - [ParentPet](docs/components/schema/ParentPet.md) - - [Pet](docs/components/schema/Pet.md) - - [Pig](docs/components/schema/Pig.md) - - [Player](docs/components/schema/Player.md) - - [Quadrilateral](docs/components/schema/Quadrilateral.md) - - [QuadrilateralInterface](docs/components/schema/QuadrilateralInterface.md) - - [ReadOnlyFirst](docs/components/schema/ReadOnlyFirst.md) - - [ScaleneTriangle](docs/components/schema/ScaleneTriangle.md) - - [Shape](docs/components/schema/Shape.md) - - [ShapeOrNull](docs/components/schema/ShapeOrNull.md) - - [SimpleQuadrilateral](docs/components/schema/SimpleQuadrilateral.md) - - [SomeObject](docs/components/schema/SomeObject.md) - - [SpecialModelName](docs/components/schema/SpecialModelName.md) - - [String](docs/components/schema/String.md) - - [StringBooleanMap](docs/components/schema/StringBooleanMap.md) - - [StringEnum](docs/components/schema/StringEnum.md) - - [StringEnumWithDefaultValue](docs/components/schema/StringEnumWithDefaultValue.md) - - [StringWithValidation](docs/components/schema/StringWithValidation.md) - - [Tag](docs/components/schema/Tag.md) - - [Triangle](docs/components/schema/Triangle.md) - - [TriangleInterface](docs/components/schema/TriangleInterface.md) - - [UUIDString](docs/components/schema/UUIDString.md) - - [User](docs/components/schema/User.md) - - [Whale](docs/components/schema/Whale.md) - - [Zebra](docs/components/schema/Zebra.md) + - [AbstractStepMessage](docs/components/schema/abstract_step_message.AbstractStepMessage.md) + - [AdditionalPropertiesClass](docs/components/schema/additional_properties_class.AdditionalPropertiesClass.md) + - [AdditionalPropertiesValidator](docs/components/schema/additional_properties_validator.AdditionalPropertiesValidator.md) + - [AdditionalPropertiesWithArrayOfEnums](docs/components/schema/additional_properties_with_array_of_enums.AdditionalPropertiesWithArrayOfEnums.md) + - [Address](docs/components/schema/address.Address.md) + - [Animal](docs/components/schema/animal.Animal.md) + - [AnimalFarm](docs/components/schema/animal_farm.AnimalFarm.md) + - [AnyTypeAndFormat](docs/components/schema/any_type_and_format.AnyTypeAndFormat.md) + - [AnyTypeNotString](docs/components/schema/any_type_not_string.AnyTypeNotString.md) + - [ApiResponse](docs/components/schema/api_response.ApiResponse.md) + - [Apple](docs/components/schema/apple.Apple.md) + - [AppleReq](docs/components/schema/apple_req.AppleReq.md) + - [ArrayHoldingAnyType](docs/components/schema/array_holding_any_type.ArrayHoldingAnyType.md) + - [ArrayOfArrayOfNumberOnly](docs/components/schema/array_of_array_of_number_only.ArrayOfArrayOfNumberOnly.md) + - [ArrayOfEnums](docs/components/schema/array_of_enums.ArrayOfEnums.md) + - [ArrayOfNumberOnly](docs/components/schema/array_of_number_only.ArrayOfNumberOnly.md) + - [ArrayTest](docs/components/schema/array_test.ArrayTest.md) + - [ArrayWithValidationsInItems](docs/components/schema/array_with_validations_in_items.ArrayWithValidationsInItems.md) + - [Banana](docs/components/schema/banana.Banana.md) + - [BananaReq](docs/components/schema/banana_req.BananaReq.md) + - [Bar](docs/components/schema/bar.Bar.md) + - [BasquePig](docs/components/schema/basque_pig.BasquePig.md) + - [Boolean](docs/components/schema/boolean.Boolean.md) + - [BooleanEnum](docs/components/schema/boolean_enum.BooleanEnum.md) + - [Capitalization](docs/components/schema/capitalization.Capitalization.md) + - [Cat](docs/components/schema/cat.Cat.md) + - [Category](docs/components/schema/category.Category.md) + - [ChildCat](docs/components/schema/child_cat.ChildCat.md) + - [ClassModel](docs/components/schema/class_model.ClassModel.md) + - [Client](docs/components/schema/client.Client.md) + - [ComplexQuadrilateral](docs/components/schema/complex_quadrilateral.ComplexQuadrilateral.md) + - [ComposedAnyOfDifferentTypesNoValidations](docs/components/schema/composed_any_of_different_types_no_validations.ComposedAnyOfDifferentTypesNoValidations.md) + - [ComposedArray](docs/components/schema/composed_array.ComposedArray.md) + - [ComposedBool](docs/components/schema/composed_bool.ComposedBool.md) + - [ComposedNone](docs/components/schema/composed_none.ComposedNone.md) + - [ComposedNumber](docs/components/schema/composed_number.ComposedNumber.md) + - [ComposedObject](docs/components/schema/composed_object.ComposedObject.md) + - [ComposedOneOfDifferentTypes](docs/components/schema/composed_one_of_different_types.ComposedOneOfDifferentTypes.md) + - [ComposedString](docs/components/schema/composed_string.ComposedString.md) + - [Currency](docs/components/schema/currency.Currency.md) + - [DanishPig](docs/components/schema/danish_pig.DanishPig.md) + - [DateTimeTest](docs/components/schema/date_time_test.DateTimeTest.md) + - [DateTimeWithValidations](docs/components/schema/date_time_with_validations.DateTimeWithValidations.md) + - [DateWithValidations](docs/components/schema/date_with_validations.DateWithValidations.md) + - [DecimalPayload](docs/components/schema/decimal_payload.DecimalPayload.md) + - [Dog](docs/components/schema/dog.Dog.md) + - [Drawing](docs/components/schema/drawing.Drawing.md) + - [EnumArrays](docs/components/schema/enum_arrays.EnumArrays.md) + - [EnumClass](docs/components/schema/enum_class.EnumClass.md) + - [EnumTest](docs/components/schema/enum_test.EnumTest.md) + - [EquilateralTriangle](docs/components/schema/equilateral_triangle.EquilateralTriangle.md) + - [File](docs/components/schema/file.File.md) + - [FileSchemaTestClass](docs/components/schema/file_schema_test_class.FileSchemaTestClass.md) + - [Foo](docs/components/schema/foo.Foo.md) + - [FormatTest](docs/components/schema/format_test.FormatTest.md) + - [FromSchema](docs/components/schema/from_schema.FromSchema.md) + - [Fruit](docs/components/schema/fruit.Fruit.md) + - [FruitReq](docs/components/schema/fruit_req.FruitReq.md) + - [GmFruit](docs/components/schema/gm_fruit.GmFruit.md) + - [GrandparentAnimal](docs/components/schema/grandparent_animal.GrandparentAnimal.md) + - [HasOnlyReadOnly](docs/components/schema/has_only_read_only.HasOnlyReadOnly.md) + - [HealthCheckResult](docs/components/schema/health_check_result.HealthCheckResult.md) + - [IntegerEnum](docs/components/schema/integer_enum.IntegerEnum.md) + - [IntegerEnumBig](docs/components/schema/integer_enum_big.IntegerEnumBig.md) + - [IntegerEnumOneValue](docs/components/schema/integer_enum_one_value.IntegerEnumOneValue.md) + - [IntegerEnumWithDefaultValue](docs/components/schema/integer_enum_with_default_value.IntegerEnumWithDefaultValue.md) + - [IntegerMax10](docs/components/schema/integer_max10.IntegerMax10.md) + - [IntegerMin15](docs/components/schema/integer_min15.IntegerMin15.md) + - [IsoscelesTriangle](docs/components/schema/isosceles_triangle.IsoscelesTriangle.md) + - [JSONPatchRequest](docs/components/schema/json_patch_request.JSONPatchRequest.md) + - [JSONPatchRequestAddReplaceTest](docs/components/schema/json_patch_request_add_replace_test.JSONPatchRequestAddReplaceTest.md) + - [JSONPatchRequestMoveCopy](docs/components/schema/json_patch_request_move_copy.JSONPatchRequestMoveCopy.md) + - [JSONPatchRequestRemove](docs/components/schema/json_patch_request_remove.JSONPatchRequestRemove.md) + - [Mammal](docs/components/schema/mammal.Mammal.md) + - [MapTest](docs/components/schema/map_test.MapTest.md) + - [MixedPropertiesAndAdditionalPropertiesClass](docs/components/schema/mixed_properties_and_additional_properties_class.MixedPropertiesAndAdditionalPropertiesClass.md) + - [Model200Response](docs/components/schema/model200_response.Model200Response.md) + - [ModelReturn](docs/components/schema/model_return.ModelReturn.md) + - [Money](docs/components/schema/money.Money.md) + - [Name](docs/components/schema/name.Name.md) + - [NoAdditionalProperties](docs/components/schema/no_additional_properties.NoAdditionalProperties.md) + - [NullableClass](docs/components/schema/nullable_class.NullableClass.md) + - [NullableShape](docs/components/schema/nullable_shape.NullableShape.md) + - [NullableString](docs/components/schema/nullable_string.NullableString.md) + - [Number](docs/components/schema/number.Number.md) + - [NumberOnly](docs/components/schema/number_only.NumberOnly.md) + - [NumberWithValidations](docs/components/schema/number_with_validations.NumberWithValidations.md) + - [ObjectInterface](docs/components/schema/object_interface.ObjectInterface.md) + - [ObjectModelWithRefProps](docs/components/schema/object_model_with_ref_props.ObjectModelWithRefProps.md) + - [ObjectWithAllOfWithReqTestPropFromUnsetAddProp](docs/components/schema/object_with_all_of_with_req_test_prop_from_unset_add_prop.ObjectWithAllOfWithReqTestPropFromUnsetAddProp.md) + - [ObjectWithDecimalProperties](docs/components/schema/object_with_decimal_properties.ObjectWithDecimalProperties.md) + - [ObjectWithDifficultlyNamedProps](docs/components/schema/object_with_difficultly_named_props.ObjectWithDifficultlyNamedProps.md) + - [ObjectWithInlineCompositionProperty](docs/components/schema/object_with_inline_composition_property.ObjectWithInlineCompositionProperty.md) + - [ObjectWithInvalidNamedRefedProperties](docs/components/schema/object_with_invalid_named_refed_properties.ObjectWithInvalidNamedRefedProperties.md) + - [ObjectWithOptionalTestProp](docs/components/schema/object_with_optional_test_prop.ObjectWithOptionalTestProp.md) + - [ObjectWithValidations](docs/components/schema/object_with_validations.ObjectWithValidations.md) + - [Order](docs/components/schema/order.Order.md) + - [ParentPet](docs/components/schema/parent_pet.ParentPet.md) + - [Pet](docs/components/schema/pet.Pet.md) + - [Pig](docs/components/schema/pig.Pig.md) + - [Player](docs/components/schema/player.Player.md) + - [Quadrilateral](docs/components/schema/quadrilateral.Quadrilateral.md) + - [QuadrilateralInterface](docs/components/schema/quadrilateral_interface.QuadrilateralInterface.md) + - [ReadOnlyFirst](docs/components/schema/read_only_first.ReadOnlyFirst.md) + - [ScaleneTriangle](docs/components/schema/scalene_triangle.ScaleneTriangle.md) + - [SelfReferencingArrayModel](docs/components/schema/self_referencing_array_model.SelfReferencingArrayModel.md) + - [SelfReferencingObjectModel](docs/components/schema/self_referencing_object_model.SelfReferencingObjectModel.md) + - [Shape](docs/components/schema/shape.Shape.md) + - [ShapeOrNull](docs/components/schema/shape_or_null.ShapeOrNull.md) + - [SimpleQuadrilateral](docs/components/schema/simple_quadrilateral.SimpleQuadrilateral.md) + - [SomeObject](docs/components/schema/some_object.SomeObject.md) + - [SpecialModelName](docs/components/schema/special_model_name.SpecialModelName.md) + - [String](docs/components/schema/string.String.md) + - [StringBooleanMap](docs/components/schema/string_boolean_map.StringBooleanMap.md) + - [StringEnum](docs/components/schema/string_enum.StringEnum.md) + - [StringEnumWithDefaultValue](docs/components/schema/string_enum_with_default_value.StringEnumWithDefaultValue.md) + - [StringWithValidation](docs/components/schema/string_with_validation.StringWithValidation.md) + - [Tag](docs/components/schema/tag.Tag.md) + - [Triangle](docs/components/schema/triangle.Triangle.md) + - [TriangleInterface](docs/components/schema/triangle_interface.TriangleInterface.md) + - [UUIDString](docs/components/schema/uuid_string.UUIDString.md) + - [User](docs/components/schema/user.User.md) + - [Whale](docs/components/schema/whale.Whale.md) + - [Zebra](docs/components/schema/zebra.Zebra.md) ## Documentation For Authorization diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/AnotherFakeApi.md b/samples/openapi3/client/petstore/python/docs/apis/tags/AnotherFakeApi.md index 713f4c96b51..a45b5f092e9 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/AnotherFakeApi.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/AnotherFakeApi.md @@ -19,7 +19,7 @@ To test special tags and operation ID starting with number ```python import petstore_api from petstore_api.apis.tags import another_fake_api -from petstore_api.components.schema.client import Client +from petstore_api.components.schema import client from pprint import pprint # Defining the host is optional and defaults to http://petstore.swagger.io:80/v2 # See configuration.py for a list of all supported configuration parameters. @@ -33,7 +33,7 @@ with petstore_api.ApiClient(configuration) as api_client: api_instance = another_fake_api.AnotherFakeApi(api_client) # example passing only required values which don't have defaults set - body = Client( + body = client.Client( client="client_example", ) try: @@ -61,7 +61,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Client**](../../components/schema/Client.md) | | +[**Client**](../../components/schema/client.Client.md) | | ### Return Types, Responses @@ -81,7 +81,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Client**](../../components/schema/Client.md) | | +[**Client**](../../components/schema/client.Client.md) | | ### Authorization diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/DefaultApi.md b/samples/openapi3/client/petstore/python/docs/apis/tags/DefaultApi.md index 3f600f43f62..8535e986fe3 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/DefaultApi.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/DefaultApi.md @@ -62,7 +62,7 @@ dict, frozendict.frozendict, | frozendict.frozendict, | | ### Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**string** | [**Foo**]({{complexTypePrefix}}Foo.md) | [**Foo**]({{complexTypePrefix}}Foo.md) | | [optional] +**string** | [**Foo**]({{complexTypePrefix}}foo.Foo.md) | [**Foo**]({{complexTypePrefix}}foo.Foo.md) | | [optional] **any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] ### Authorization diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/FakeApi.md b/samples/openapi3/client/petstore/python/docs/apis/tags/FakeApi.md index 430d79313c8..c8aed5da9c8 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/FakeApi.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/FakeApi.md @@ -49,7 +49,7 @@ Additional Properties with Array of Enums ```python import petstore_api from petstore_api.apis.tags import fake_api -from petstore_api.components.schema.additional_properties_with_array_of_enums import AdditionalPropertiesWithArrayOfEnums +from petstore_api.components.schema import additional_properties_with_array_of_enums from pprint import pprint # Defining the host is optional and defaults to http://petstore.swagger.io:80/v2 # See configuration.py for a list of all supported configuration parameters. @@ -63,9 +63,9 @@ with petstore_api.ApiClient(configuration) as api_client: api_instance = fake_api.FakeApi(api_client) # example passing only optional values - body = AdditionalPropertiesWithArrayOfEnums( + body = additional_properties_with_array_of_enums.AdditionalPropertiesWithArrayOfEnums( key=[ - EnumClass("-efg") + enum_class.EnumClass("-efg") ], ) try: @@ -93,7 +93,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AdditionalPropertiesWithArrayOfEnums**](../../components/schema/AdditionalPropertiesWithArrayOfEnums.md) | | +[**AdditionalPropertiesWithArrayOfEnums**](../../components/schema/additional_properties_with_array_of_enums.AdditionalPropertiesWithArrayOfEnums.md) | | ### Return Types, Responses @@ -113,7 +113,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AdditionalPropertiesWithArrayOfEnums**](../../components/schema/AdditionalPropertiesWithArrayOfEnums.md) | | +[**AdditionalPropertiesWithArrayOfEnums**](../../components/schema/additional_properties_with_array_of_enums.AdditionalPropertiesWithArrayOfEnums.md) | | ### Authorization @@ -133,7 +133,7 @@ Test serialization of ArrayModel ```python import petstore_api from petstore_api.apis.tags import fake_api -from petstore_api.components.schema.animal_farm import AnimalFarm +from petstore_api.components.schema import animal_farm from pprint import pprint # Defining the host is optional and defaults to http://petstore.swagger.io:80/v2 # See configuration.py for a list of all supported configuration parameters. @@ -147,8 +147,8 @@ with petstore_api.ApiClient(configuration) as api_client: api_instance = fake_api.FakeApi(api_client) # example passing only optional values - body = AnimalFarm([ - Animal() + body = animal_farm.AnimalFarm([ + animal.Animal() ]) try: api_response = api_instance.array_model( @@ -174,7 +174,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AnimalFarm**](../../components/schema/AnimalFarm.md) | | +[**AnimalFarm**](../../components/schema/animal_farm.AnimalFarm.md) | | ### Return Types, Responses @@ -194,7 +194,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**AnimalFarm**](../../components/schema/AnimalFarm.md) | | +[**AnimalFarm**](../../components/schema/animal_farm.AnimalFarm.md) | | ### Authorization @@ -213,7 +213,7 @@ Array of Enums ```python import petstore_api from petstore_api.apis.tags import fake_api -from petstore_api.components.schema.array_of_enums import ArrayOfEnums +from petstore_api.components.schema import array_of_enums from pprint import pprint # Defining the host is optional and defaults to http://petstore.swagger.io:80/v2 # See configuration.py for a list of all supported configuration parameters. @@ -227,8 +227,8 @@ with petstore_api.ApiClient(configuration) as api_client: api_instance = fake_api.FakeApi(api_client) # example passing only optional values - body = ArrayOfEnums([ - StringEnum("placed") + body = array_of_enums.ArrayOfEnums([ + string_enum.StringEnum("placed") ]) try: # Array of Enums @@ -255,7 +255,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ArrayOfEnums**](../../components/schema/ArrayOfEnums.md) | | +[**ArrayOfEnums**](../../components/schema/array_of_enums.ArrayOfEnums.md) | | ### Return Types, Responses @@ -275,7 +275,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ArrayOfEnums**](../../components/schema/ArrayOfEnums.md) | | +[**ArrayOfEnums**](../../components/schema/array_of_enums.ArrayOfEnums.md) | | ### Authorization @@ -295,7 +295,7 @@ For this test, the body for this request much reference a schema named `File`. ```python import petstore_api from petstore_api.apis.tags import fake_api -from petstore_api.components.schema.file_schema_test_class import FileSchemaTestClass +from petstore_api.components.schema import file_schema_test_class from pprint import pprint # Defining the host is optional and defaults to http://petstore.swagger.io:80/v2 # See configuration.py for a list of all supported configuration parameters. @@ -309,12 +309,12 @@ with petstore_api.ApiClient(configuration) as api_client: api_instance = fake_api.FakeApi(api_client) # example passing only required values which don't have defaults set - body = FileSchemaTestClass( - file=File( + body = file_schema_test_class.FileSchemaTestClass( + file=file.File( source_uri="source_uri_example", ), files=[ - File() + file.File() ], ) try: @@ -339,7 +339,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**FileSchemaTestClass**](../../components/schema/FileSchemaTestClass.md) | | +[**FileSchemaTestClass**](../../components/schema/file_schema_test_class.FileSchemaTestClass.md) | | ### Return Types, Responses @@ -371,7 +371,7 @@ No authorization required ```python import petstore_api from petstore_api.apis.tags import fake_api -from petstore_api.components.schema.user import User +from petstore_api.components.schema import user from pprint import pprint # Defining the host is optional and defaults to http://petstore.swagger.io:80/v2 # See configuration.py for a list of all supported configuration parameters. @@ -388,7 +388,7 @@ with petstore_api.ApiClient(configuration) as api_client: query_params = { 'query': "query_example", } - body = User( + body = user.User( id=1, username="username_example", first_name="first_name_example", @@ -427,7 +427,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**User**](../../components/schema/User.md) | | +[**User**](../../components/schema/user.User.md) | | ### query_params @@ -476,7 +476,7 @@ Test serialization of outer boolean types ```python import petstore_api from petstore_api.apis.tags import fake_api -from petstore_api.components.schema.boolean import Boolean +from petstore_api.components.schema import boolean from pprint import pprint # Defining the host is optional and defaults to http://petstore.swagger.io:80/v2 # See configuration.py for a list of all supported configuration parameters. @@ -490,7 +490,7 @@ with petstore_api.ApiClient(configuration) as api_client: api_instance = fake_api.FakeApi(api_client) # example passing only optional values - body = Boolean(True) + body = boolean.Boolean(True) try: api_response = api_instance.boolean( body=body, @@ -515,7 +515,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Boolean**](../../components/schema/Boolean.md) | | +[**Boolean**](../../components/schema/boolean.Boolean.md) | | ### Return Types, Responses @@ -535,7 +535,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Boolean**](../../components/schema/Boolean.md) | | +[**Boolean**](../../components/schema/boolean.Boolean.md) | | ### Authorization @@ -652,7 +652,7 @@ To test \"client\" model ```python import petstore_api from petstore_api.apis.tags import fake_api -from petstore_api.components.schema.client import Client +from petstore_api.components.schema import client from pprint import pprint # Defining the host is optional and defaults to http://petstore.swagger.io:80/v2 # See configuration.py for a list of all supported configuration parameters. @@ -666,7 +666,7 @@ with petstore_api.ApiClient(configuration) as api_client: api_instance = fake_api.FakeApi(api_client) # example passing only required values which don't have defaults set - body = Client( + body = client.Client( client="client_example", ) try: @@ -694,7 +694,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Client**](../../components/schema/Client.md) | | +[**Client**](../../components/schema/client.Client.md) | | ### Return Types, Responses @@ -714,7 +714,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Client**](../../components/schema/Client.md) | | +[**Client**](../../components/schema/client.Client.md) | | ### Authorization @@ -734,7 +734,7 @@ Test serialization of object with $refed properties ```python import petstore_api from petstore_api.apis.tags import fake_api -from petstore_api.components.schema.composed_one_of_different_types import ComposedOneOfDifferentTypes +from petstore_api.components.schema import composed_one_of_different_types from pprint import pprint # Defining the host is optional and defaults to http://petstore.swagger.io:80/v2 # See configuration.py for a list of all supported configuration parameters. @@ -748,7 +748,7 @@ with petstore_api.ApiClient(configuration) as api_client: api_instance = fake_api.FakeApi(api_client) # example passing only optional values - body = ComposedOneOfDifferentTypes(None) + body = composed_one_of_different_types.ComposedOneOfDifferentTypes(None) try: api_response = api_instance.composed_one_of_different_types( body=body, @@ -773,7 +773,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ComposedOneOfDifferentTypes**](../../components/schema/ComposedOneOfDifferentTypes.md) | | +[**ComposedOneOfDifferentTypes**](../../components/schema/composed_one_of_different_types.ComposedOneOfDifferentTypes.md) | | ### Return Types, Responses @@ -793,7 +793,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ComposedOneOfDifferentTypes**](../../components/schema/ComposedOneOfDifferentTypes.md) | | +[**ComposedOneOfDifferentTypes**](../../components/schema/composed_one_of_different_types.ComposedOneOfDifferentTypes.md) | | ### Authorization @@ -1261,7 +1261,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**HealthCheckResult**](../../components/schema/HealthCheckResult.md) | | +[**HealthCheckResult**](../../components/schema/health_check_result.HealthCheckResult.md) | | ### Authorization @@ -1845,7 +1845,7 @@ json patch route with a requestBody ```python import petstore_api from petstore_api.apis.tags import fake_api -from petstore_api.components.schema.json_patch_request import JSONPatchRequest +from petstore_api.components.schema import json_patch_request from pprint import pprint # Defining the host is optional and defaults to http://petstore.swagger.io:80/v2 # See configuration.py for a list of all supported configuration parameters. @@ -1859,7 +1859,7 @@ with petstore_api.ApiClient(configuration) as api_client: api_instance = fake_api.FakeApi(api_client) # example passing only optional values - body = JSONPatchRequest([ + body = json_patch_request.JSONPatchRequest([ None ]) try: @@ -1885,7 +1885,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json_patchjson Type | Description | Notes ------------- | ------------- | ------------- -[**JSONPatchRequest**](../../components/schema/JSONPatchRequest.md) | | +[**JSONPatchRequest**](../../components/schema/json_patch_request.JSONPatchRequest.md) | | ### Return Types, Responses @@ -1999,7 +1999,7 @@ Test serialization of mammals ```python import petstore_api from petstore_api.apis.tags import fake_api -from petstore_api.components.schema.mammal import Mammal +from petstore_api.components.schema import mammal from pprint import pprint # Defining the host is optional and defaults to http://petstore.swagger.io:80/v2 # See configuration.py for a list of all supported configuration parameters. @@ -2013,7 +2013,7 @@ with petstore_api.ApiClient(configuration) as api_client: api_instance = fake_api.FakeApi(api_client) # example passing only required values which don't have defaults set - body = Mammal( + body = mammal.Mammal( has_baleen=True, has_teeth=True, class_name="whale", @@ -2042,7 +2042,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Mammal**](../../components/schema/Mammal.md) | | +[**Mammal**](../../components/schema/mammal.Mammal.md) | | ### Return Types, Responses @@ -2062,7 +2062,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Mammal**](../../components/schema/Mammal.md) | | +[**Mammal**](../../components/schema/mammal.Mammal.md) | | ### Authorization @@ -2082,7 +2082,7 @@ Test serialization of outer number types ```python import petstore_api from petstore_api.apis.tags import fake_api -from petstore_api.components.schema.number_with_validations import NumberWithValidations +from petstore_api.components.schema import number_with_validations from pprint import pprint # Defining the host is optional and defaults to http://petstore.swagger.io:80/v2 # See configuration.py for a list of all supported configuration parameters. @@ -2096,7 +2096,7 @@ with petstore_api.ApiClient(configuration) as api_client: api_instance = fake_api.FakeApi(api_client) # example passing only optional values - body = NumberWithValidations(10) + body = number_with_validations.NumberWithValidations(10) try: api_response = api_instance.number_with_validations( body=body, @@ -2121,7 +2121,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NumberWithValidations**](../../components/schema/NumberWithValidations.md) | | +[**NumberWithValidations**](../../components/schema/number_with_validations.NumberWithValidations.md) | | ### Return Types, Responses @@ -2141,7 +2141,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**NumberWithValidations**](../../components/schema/NumberWithValidations.md) | | +[**NumberWithValidations**](../../components/schema/number_with_validations.NumberWithValidations.md) | | ### Authorization @@ -2247,7 +2247,7 @@ Test serialization of object with $refed properties ```python import petstore_api from petstore_api.apis.tags import fake_api -from petstore_api.components.schema.object_model_with_ref_props import ObjectModelWithRefProps +from petstore_api.components.schema import object_model_with_ref_props from pprint import pprint # Defining the host is optional and defaults to http://petstore.swagger.io:80/v2 # See configuration.py for a list of all supported configuration parameters. @@ -2261,10 +2261,10 @@ with petstore_api.ApiClient(configuration) as api_client: api_instance = fake_api.FakeApi(api_client) # example passing only optional values - body = ObjectModelWithRefProps( - my_number=NumberWithValidations(10), - my_string=String("my_string_example"), - my_boolean=Boolean(True), + body = object_model_with_ref_props.ObjectModelWithRefProps( + my_number=number_with_validations.NumberWithValidations(10), + my_string=string.String("my_string_example"), + my_boolean=boolean.Boolean(True), ) try: api_response = api_instance.object_model_with_ref_props( @@ -2290,7 +2290,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ObjectModelWithRefProps**](../../components/schema/ObjectModelWithRefProps.md) | | +[**ObjectModelWithRefProps**](../../components/schema/object_model_with_ref_props.ObjectModelWithRefProps.md) | | ### Return Types, Responses @@ -2310,7 +2310,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ObjectModelWithRefProps**](../../components/schema/ObjectModelWithRefProps.md) | | +[**ObjectModelWithRefProps**](../../components/schema/object_model_with_ref_props.ObjectModelWithRefProps.md) | | ### Authorization @@ -2728,7 +2728,7 @@ To test the collection format in query parameters ```python import petstore_api from petstore_api.apis.tags import fake_api -from petstore_api.components.schema.string_with_validation import StringWithValidation +from petstore_api.components.schema import string_with_validation from pprint import pprint # Defining the host is optional and defaults to http://petstore.swagger.io:80/v2 # See configuration.py for a list of all supported configuration parameters. @@ -2758,7 +2758,7 @@ with petstore_api.ApiClient(configuration) as api_client: 'context': [ "context_example" ], - 'refParam': StringWithValidation("refParam_example"), + 'refParam': string_with_validation.StringWithValidation("refParam_example"), } try: api_response = api_instance.query_parameter_collection_format( @@ -2852,7 +2852,7 @@ items | str, | str, | | # parameter_5.schema Type | Description | Notes ------------- | ------------- | ------------- -[**StringWithValidation**](../../components/schema/StringWithValidation.md) | | +[**StringWithValidation**](../../components/schema/string_with_validation.StringWithValidation.md) | | ### Return Types, Responses @@ -2885,7 +2885,7 @@ user list ```python import petstore_api from petstore_api.apis.tags import fake_api -from petstore_api.components.schema.foo import Foo +from petstore_api.components.schema import foo from pprint import pprint # Defining the host is optional and defaults to http://petstore.swagger.io:80/v2 # See configuration.py for a list of all supported configuration parameters. @@ -2900,8 +2900,8 @@ with petstore_api.ApiClient(configuration) as api_client: # example passing only optional values query_params = { - 'mapBean': Foo( - bar=Bar("bar"), + 'mapBean': foo.Foo( + bar=bar.Bar("bar"), ), } try: @@ -2932,7 +2932,7 @@ mapBean | [parameter_0.schema](#ref_object_in_query.parameter_0.schema) | | opti # parameter_0.schema Type | Description | Notes ------------- | ------------- | ------------- -[**Foo**](../../components/schema/Foo.md) | | +[**Foo**](../../components/schema/foo.Foo.md) | | ### Return Types, Responses @@ -3018,7 +3018,7 @@ Test serialization of outer string types ```python import petstore_api from petstore_api.apis.tags import fake_api -from petstore_api.components.schema.string import String +from petstore_api.components.schema import string from pprint import pprint # Defining the host is optional and defaults to http://petstore.swagger.io:80/v2 # See configuration.py for a list of all supported configuration parameters. @@ -3032,7 +3032,7 @@ with petstore_api.ApiClient(configuration) as api_client: api_instance = fake_api.FakeApi(api_client) # example passing only optional values - body = String("parameter_body_example") + body = string.String("parameter_body_example") try: api_response = api_instance.string( body=body, @@ -3057,7 +3057,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**String**](../../components/schema/String.md) | | +[**String**](../../components/schema/string.String.md) | | ### Return Types, Responses @@ -3077,7 +3077,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**String**](../../components/schema/String.md) | | +[**String**](../../components/schema/string.String.md) | | ### Authorization @@ -3097,7 +3097,7 @@ Test serialization of outer enum ```python import petstore_api from petstore_api.apis.tags import fake_api -from petstore_api.components.schema.string_enum import StringEnum +from petstore_api.components.schema import string_enum from pprint import pprint # Defining the host is optional and defaults to http://petstore.swagger.io:80/v2 # See configuration.py for a list of all supported configuration parameters. @@ -3111,7 +3111,7 @@ with petstore_api.ApiClient(configuration) as api_client: api_instance = fake_api.FakeApi(api_client) # example passing only optional values - body = StringEnum("placed") + body = string_enum.StringEnum("placed") try: api_response = api_instance.string_enum( body=body, @@ -3136,7 +3136,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**StringEnum**](../../components/schema/StringEnum.md) | | +[**StringEnum**](../../components/schema/string_enum.StringEnum.md) | | ### Return Types, Responses @@ -3156,7 +3156,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**StringEnum**](../../components/schema/StringEnum.md) | | +[**StringEnum**](../../components/schema/string_enum.StringEnum.md) | | ### Authorization @@ -3329,7 +3329,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ApiResponse**](../../components/schema/ApiResponse.md) | | +[**ApiResponse**](../../components/schema/api_response.ApiResponse.md) | | ### Authorization @@ -3430,7 +3430,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ApiResponse**](../../components/schema/ApiResponse.md) | | +[**ApiResponse**](../../components/schema/api_response.ApiResponse.md) | | ### Authorization diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/FakeClassnameTags123Api.md b/samples/openapi3/client/petstore/python/docs/apis/tags/FakeClassnameTags123Api.md index a9b09dbcb3d..9bb4150719c 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/FakeClassnameTags123Api.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/FakeClassnameTags123Api.md @@ -20,7 +20,7 @@ To test class name in snake case ```python import petstore_api from petstore_api.apis.tags import fake_classname_tags123_api -from petstore_api.components.schema.client import Client +from petstore_api.components.schema import client from pprint import pprint # Defining the host is optional and defaults to http://petstore.swagger.io:80/v2 # See configuration.py for a list of all supported configuration parameters. @@ -44,7 +44,7 @@ with petstore_api.ApiClient(configuration) as api_client: api_instance = fake_classname_tags123_api.FakeClassnameTags123Api(api_client) # example passing only required values which don't have defaults set - body = Client( + body = client.Client( client="client_example", ) try: @@ -72,7 +72,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Client**](../../components/schema/Client.md) | | +[**Client**](../../components/schema/client.Client.md) | | ### Return Types, Responses @@ -92,7 +92,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Client**](../../components/schema/Client.md) | | +[**Client**](../../components/schema/client.Client.md) | | ### Authorization diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/PetApi.md b/samples/openapi3/client/petstore/python/docs/apis/tags/PetApi.md index 9f26c58f265..d4f1541f601 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/PetApi.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/PetApi.md @@ -28,7 +28,7 @@ Add a new pet to the store ```python import petstore_api from petstore_api.apis.tags import pet_api -from petstore_api.components.schema.pet import Pet +from petstore_api.components.schema import pet from pprint import pprint # Defining the host is optional and defaults to http://petstore.swagger.io:80/v2 # See configuration.py for a list of all supported configuration parameters. @@ -112,9 +112,9 @@ with petstore_api.ApiClient(configuration) as api_client: api_instance = pet_api.PetApi(api_client) # example passing only required values which don't have defaults set - body = Pet( + body = pet.Pet( id=1, - category=Category( + category=category.Category( id=1, name="default-name", ), @@ -123,7 +123,7 @@ with petstore_api.ApiClient(configuration) as api_client: "photo_urls_example" ], tags=[ - Tag( + tag.Tag( id=1, name="name_example", ) @@ -154,13 +154,13 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Pet**](../../components/schema/Pet.md) | | +[**Pet**](../../components/schema/pet.Pet.md) | | # request_body.application_xml Type | Description | Notes ------------- | ------------- | ------------- -[**Pet**](../../components/schema/Pet.md) | | +[**Pet**](../../components/schema/pet.Pet.md) | | ### Return Types, Responses @@ -478,7 +478,7 @@ list, tuple, | tuple, | | ### Tuple Items Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[**Pet**]({{complexTypePrefix}}Pet.md) | [**Pet**]({{complexTypePrefix}}Pet.md) | [**Pet**]({{complexTypePrefix}}Pet.md) | | +[**Pet**]({{complexTypePrefix}}pet.Pet.md) | [**Pet**]({{complexTypePrefix}}pet.Pet.md) | [**Pet**]({{complexTypePrefix}}pet.Pet.md) | | # response_for_200.application_json @@ -490,7 +490,7 @@ list, tuple, | tuple, | | ### Tuple Items Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[**Pet**]({{complexTypePrefix}}Pet.md) | [**Pet**]({{complexTypePrefix}}Pet.md) | [**Pet**]({{complexTypePrefix}}Pet.md) | | +[**Pet**]({{complexTypePrefix}}pet.Pet.md) | [**Pet**]({{complexTypePrefix}}pet.Pet.md) | [**Pet**]({{complexTypePrefix}}pet.Pet.md) | | #### response_for_400.ApiResponse Name | Type | Description | Notes @@ -670,7 +670,7 @@ list, tuple, | tuple, | | ### Tuple Items Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[**Pet**]({{complexTypePrefix}}Pet.md) | [**Pet**]({{complexTypePrefix}}Pet.md) | [**Pet**]({{complexTypePrefix}}Pet.md) | | +[**Pet**]({{complexTypePrefix}}pet.Pet.md) | [**Pet**]({{complexTypePrefix}}pet.Pet.md) | [**Pet**]({{complexTypePrefix}}pet.Pet.md) | | # response_for_200.application_json @@ -682,7 +682,7 @@ list, tuple, | tuple, | | ### Tuple Items Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[**Pet**]({{complexTypePrefix}}Pet.md) | [**Pet**]({{complexTypePrefix}}Pet.md) | [**Pet**]({{complexTypePrefix}}Pet.md) | | +[**Pet**]({{complexTypePrefix}}pet.Pet.md) | [**Pet**]({{complexTypePrefix}}pet.Pet.md) | [**Pet**]({{complexTypePrefix}}pet.Pet.md) | | #### response_for_400.ApiResponse Name | Type | Description | Notes @@ -788,13 +788,13 @@ headers | Unset | headers were not defined | # response_for_200.application_xml Type | Description | Notes ------------- | ------------- | ------------- -[**Pet**](../../components/schema/Pet.md) | | +[**Pet**](../../components/schema/pet.Pet.md) | | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Pet**](../../components/schema/Pet.md) | | +[**Pet**](../../components/schema/pet.Pet.md) | | #### response_for_400.ApiResponse @@ -828,7 +828,7 @@ Update an existing pet ```python import petstore_api from petstore_api.apis.tags import pet_api -from petstore_api.components.schema.pet import Pet +from petstore_api.components.schema import pet from pprint import pprint # Defining the host is optional and defaults to http://petstore.swagger.io:80/v2 # See configuration.py for a list of all supported configuration parameters. @@ -912,9 +912,9 @@ with petstore_api.ApiClient(configuration) as api_client: api_instance = pet_api.PetApi(api_client) # example passing only required values which don't have defaults set - body = Pet( + body = pet.Pet( id=1, - category=Category( + category=category.Category( id=1, name="default-name", ), @@ -923,7 +923,7 @@ with petstore_api.ApiClient(configuration) as api_client: "photo_urls_example" ], tags=[ - Tag( + tag.Tag( id=1, name="name_example", ) @@ -954,13 +954,13 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Pet**](../../components/schema/Pet.md) | | +[**Pet**](../../components/schema/pet.Pet.md) | | # request_body.application_xml Type | Description | Notes ------------- | ------------- | ------------- -[**Pet**](../../components/schema/Pet.md) | | +[**Pet**](../../components/schema/pet.Pet.md) | | ### Return Types, Responses @@ -1245,7 +1245,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ApiResponse**](../../components/schema/ApiResponse.md) | | +[**ApiResponse**](../../components/schema/api_response.ApiResponse.md) | | ### Authorization @@ -1377,7 +1377,7 @@ headers | Unset | headers were not defined | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**ApiResponse**](../../components/schema/ApiResponse.md) | | +[**ApiResponse**](../../components/schema/api_response.ApiResponse.md) | | ### Authorization diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/StoreApi.md b/samples/openapi3/client/petstore/python/docs/apis/tags/StoreApi.md index b788cca2833..6f791340d0d 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/StoreApi.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/StoreApi.md @@ -255,13 +255,13 @@ headers | Unset | headers were not defined | # response_for_200.application_xml Type | Description | Notes ------------- | ------------- | ------------- -[**Order**](../../components/schema/Order.md) | | +[**Order**](../../components/schema/order.Order.md) | | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Order**](../../components/schema/Order.md) | | +[**Order**](../../components/schema/order.Order.md) | | #### response_for_400.ApiResponse @@ -294,7 +294,7 @@ Place an order for a pet ```python import petstore_api from petstore_api.apis.tags import store_api -from petstore_api.components.schema.order import Order +from petstore_api.components.schema import order from pprint import pprint # Defining the host is optional and defaults to http://petstore.swagger.io:80/v2 # See configuration.py for a list of all supported configuration parameters. @@ -308,7 +308,7 @@ with petstore_api.ApiClient(configuration) as api_client: api_instance = store_api.StoreApi(api_client) # example passing only required values which don't have defaults set - body = Order( + body = order.Order( id=1, pet_id=1, quantity=1, @@ -341,7 +341,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Order**](../../components/schema/Order.md) | | +[**Order**](../../components/schema/order.Order.md) | | ### Return Types, Responses @@ -362,13 +362,13 @@ headers | Unset | headers were not defined | # response_for_200.application_xml Type | Description | Notes ------------- | ------------- | ------------- -[**Order**](../../components/schema/Order.md) | | +[**Order**](../../components/schema/order.Order.md) | | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**Order**](../../components/schema/Order.md) | | +[**Order**](../../components/schema/order.Order.md) | | #### response_for_400.ApiResponse diff --git a/samples/openapi3/client/petstore/python/docs/apis/tags/UserApi.md b/samples/openapi3/client/petstore/python/docs/apis/tags/UserApi.md index c240441ac1a..db49b31b95d 100644 --- a/samples/openapi3/client/petstore/python/docs/apis/tags/UserApi.md +++ b/samples/openapi3/client/petstore/python/docs/apis/tags/UserApi.md @@ -26,7 +26,7 @@ This can only be done by the logged in user. ```python import petstore_api from petstore_api.apis.tags import user_api -from petstore_api.components.schema.user import User +from petstore_api.components.schema import user from pprint import pprint # Defining the host is optional and defaults to http://petstore.swagger.io:80/v2 # See configuration.py for a list of all supported configuration parameters. @@ -40,7 +40,7 @@ with petstore_api.ApiClient(configuration) as api_client: api_instance = user_api.UserApi(api_client) # example passing only required values which don't have defaults set - body = User( + body = user.User( id=1, username="username_example", first_name="first_name_example", @@ -78,7 +78,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**User**](../../components/schema/User.md) | | +[**User**](../../components/schema/user.User.md) | | ### Return Types, Responses @@ -111,7 +111,7 @@ Creates list of users with given input array ```python import petstore_api from petstore_api.apis.tags import user_api -from petstore_api.components.schema.user import User +from petstore_api.components.schema import user from pprint import pprint # Defining the host is optional and defaults to http://petstore.swagger.io:80/v2 # See configuration.py for a list of all supported configuration parameters. @@ -126,7 +126,7 @@ with petstore_api.ApiClient(configuration) as api_client: # example passing only required values which don't have defaults set body = [ - User( + user.User( id=1, username="username_example", first_name="first_name_example", @@ -172,7 +172,7 @@ list, tuple, | tuple, | | ### Tuple Items Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[**User**]({{complexTypePrefix}}User.md) | [**User**]({{complexTypePrefix}}User.md) | [**User**]({{complexTypePrefix}}User.md) | | +[**User**]({{complexTypePrefix}}user.User.md) | [**User**]({{complexTypePrefix}}user.User.md) | [**User**]({{complexTypePrefix}}user.User.md) | | ### Return Types, Responses @@ -204,7 +204,7 @@ Creates list of users with given input array ```python import petstore_api from petstore_api.apis.tags import user_api -from petstore_api.components.schema.user import User +from petstore_api.components.schema import user from pprint import pprint # Defining the host is optional and defaults to http://petstore.swagger.io:80/v2 # See configuration.py for a list of all supported configuration parameters. @@ -219,7 +219,7 @@ with petstore_api.ApiClient(configuration) as api_client: # example passing only required values which don't have defaults set body = [ - User( + user.User( id=1, username="username_example", first_name="first_name_example", @@ -265,7 +265,7 @@ list, tuple, | tuple, | | ### Tuple Items Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[**User**]({{complexTypePrefix}}User.md) | [**User**]({{complexTypePrefix}}User.md) | [**User**]({{complexTypePrefix}}User.md) | | +[**User**]({{complexTypePrefix}}user.User.md) | [**User**]({{complexTypePrefix}}user.User.md) | [**User**]({{complexTypePrefix}}user.User.md) | | ### Return Types, Responses @@ -452,13 +452,13 @@ headers | Unset | headers were not defined | # response_for_200.application_xml Type | Description | Notes ------------- | ------------- | ------------- -[**User**](../../components/schema/User.md) | | +[**User**](../../components/schema/user.User.md) | | # response_for_200.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**User**](../../components/schema/User.md) | | +[**User**](../../components/schema/user.User.md) | | #### response_for_400.ApiResponse @@ -676,7 +676,7 @@ This can only be done by the logged in user. ```python import petstore_api from petstore_api.apis.tags import user_api -from petstore_api.components.schema.user import User +from petstore_api.components.schema import user from pprint import pprint # Defining the host is optional and defaults to http://petstore.swagger.io:80/v2 # See configuration.py for a list of all supported configuration parameters. @@ -693,7 +693,7 @@ with petstore_api.ApiClient(configuration) as api_client: path_params = { 'username': "username_example", } - body = User( + body = user.User( id=1, username="username_example", first_name="first_name_example", @@ -733,7 +733,7 @@ skip_deserialization | bool | default is False | when True, headers and body wil # request_body.application_json Type | Description | Notes ------------- | ------------- | ------------- -[**User**](../../components/schema/User.md) | | +[**User**](../../components/schema/user.User.md) | | ### path_params diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/AbstractStepMessage.md b/samples/openapi3/client/petstore/python/docs/components/schema/abstract_step_message.AbstractStepMessage.md similarity index 90% rename from samples/openapi3/client/petstore/python/docs/components/schema/AbstractStepMessage.md rename to samples/openapi3/client/petstore/python/docs/components/schema/abstract_step_message.AbstractStepMessage.md index 3f544fba2e3..38525a841ef 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/AbstractStepMessage.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/abstract_step_message.AbstractStepMessage.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.abstract_step_message.AbstractStepMessage Abstract Step @@ -19,7 +20,7 @@ Key | Input Type | Accessed Type | Description | Notes #### anyOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[AbstractStepMessage](AbstractStepMessage.md) | [**AbstractStepMessage**](AbstractStepMessage.md) | [**AbstractStepMessage**](AbstractStepMessage.md) | | +[**AbstractStepMessage**](#AbstractStepMessage) | [**AbstractStepMessage**](#AbstractStepMessage) | [**AbstractStepMessage**](#AbstractStepMessage) | | [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/AdditionalPropertiesClass.md b/samples/openapi3/client/petstore/python/docs/components/schema/additional_properties_class.AdditionalPropertiesClass.md similarity index 99% rename from samples/openapi3/client/petstore/python/docs/components/schema/AdditionalPropertiesClass.md rename to samples/openapi3/client/petstore/python/docs/components/schema/additional_properties_class.AdditionalPropertiesClass.md index 33662e992fa..0020723a9a3 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/AdditionalPropertiesClass.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/additional_properties_class.AdditionalPropertiesClass.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.additional_properties_class.AdditionalPropertiesClass ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/AdditionalPropertiesValidator.md b/samples/openapi3/client/petstore/python/docs/components/schema/additional_properties_validator.AdditionalPropertiesValidator.md similarity index 98% rename from samples/openapi3/client/petstore/python/docs/components/schema/AdditionalPropertiesValidator.md rename to samples/openapi3/client/petstore/python/docs/components/schema/additional_properties_validator.AdditionalPropertiesValidator.md index 16fa87a29d9..4224845509a 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/AdditionalPropertiesValidator.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/additional_properties_validator.AdditionalPropertiesValidator.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.additional_properties_validator.AdditionalPropertiesValidator ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/AdditionalPropertiesWithArrayOfEnums.md b/samples/openapi3/client/petstore/python/docs/components/schema/additional_properties_with_array_of_enums.AdditionalPropertiesWithArrayOfEnums.md similarity index 85% rename from samples/openapi3/client/petstore/python/docs/components/schema/AdditionalPropertiesWithArrayOfEnums.md rename to samples/openapi3/client/petstore/python/docs/components/schema/additional_properties_with_array_of_enums.AdditionalPropertiesWithArrayOfEnums.md index ff34e22f1fb..e9b862de8c1 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/AdditionalPropertiesWithArrayOfEnums.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/additional_properties_with_array_of_enums.AdditionalPropertiesWithArrayOfEnums.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.additional_properties_with_array_of_enums.AdditionalPropertiesWithArrayOfEnums ## Model Type Info @@ -20,7 +21,7 @@ list, tuple, | tuple, | | ### Tuple Items Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[**EnumClass**](EnumClass.md) | [**EnumClass**](EnumClass.md) | [**EnumClass**](EnumClass.md) | | +[**EnumClass**](enum_class.EnumClass.md) | [**EnumClass**](enum_class.EnumClass.md) | [**EnumClass**](enum_class.EnumClass.md) | | [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/Address.md b/samples/openapi3/client/petstore/python/docs/components/schema/address.Address.md similarity index 97% rename from samples/openapi3/client/petstore/python/docs/components/schema/Address.md rename to samples/openapi3/client/petstore/python/docs/components/schema/address.Address.md index a04ebd9b13a..2f7b053fa92 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/Address.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/address.Address.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.address.Address ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/Animal.md b/samples/openapi3/client/petstore/python/docs/components/schema/animal.Animal.md similarity index 98% rename from samples/openapi3/client/petstore/python/docs/components/schema/Animal.md rename to samples/openapi3/client/petstore/python/docs/components/schema/animal.Animal.md index 416e48dae47..09fb1b6e97b 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/Animal.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/animal.Animal.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.animal.Animal ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/AnimalFarm.md b/samples/openapi3/client/petstore/python/docs/components/schema/animal_farm.AnimalFarm.md similarity index 81% rename from samples/openapi3/client/petstore/python/docs/components/schema/AnimalFarm.md rename to samples/openapi3/client/petstore/python/docs/components/schema/animal_farm.AnimalFarm.md index 4b6c2c7fbaf..c968aee5b79 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/AnimalFarm.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/animal_farm.AnimalFarm.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.animal_farm.AnimalFarm ## Model Type Info @@ -8,7 +9,7 @@ list, tuple, | tuple, | | ### Tuple Items Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[**Animal**](Animal.md) | [**Animal**](Animal.md) | [**Animal**](Animal.md) | | +[**Animal**](animal.Animal.md) | [**Animal**](animal.Animal.md) | [**Animal**](animal.Animal.md) | | [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/AnyTypeAndFormat.md b/samples/openapi3/client/petstore/python/docs/components/schema/any_type_and_format.AnyTypeAndFormat.md similarity index 99% rename from samples/openapi3/client/petstore/python/docs/components/schema/AnyTypeAndFormat.md rename to samples/openapi3/client/petstore/python/docs/components/schema/any_type_and_format.AnyTypeAndFormat.md index 376b9aa0052..70f71a878fa 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/AnyTypeAndFormat.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/any_type_and_format.AnyTypeAndFormat.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.any_type_and_format.AnyTypeAndFormat ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/AnyTypeNotString.md b/samples/openapi3/client/petstore/python/docs/components/schema/any_type_not_string.AnyTypeNotString.md similarity index 97% rename from samples/openapi3/client/petstore/python/docs/components/schema/AnyTypeNotString.md rename to samples/openapi3/client/petstore/python/docs/components/schema/any_type_not_string.AnyTypeNotString.md index 898f3cdd35c..bdf4e0a3a22 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/AnyTypeNotString.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/any_type_not_string.AnyTypeNotString.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.any_type_not_string.AnyTypeNotString ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/ApiResponse.md b/samples/openapi3/client/petstore/python/docs/components/schema/api_response.ApiResponse.md similarity index 97% rename from samples/openapi3/client/petstore/python/docs/components/schema/ApiResponse.md rename to samples/openapi3/client/petstore/python/docs/components/schema/api_response.ApiResponse.md index 93c139540ab..29fc2ec6435 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/ApiResponse.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/api_response.ApiResponse.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.api_response.ApiResponse ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/Apple.md b/samples/openapi3/client/petstore/python/docs/components/schema/apple.Apple.md similarity index 98% rename from samples/openapi3/client/petstore/python/docs/components/schema/Apple.md rename to samples/openapi3/client/petstore/python/docs/components/schema/apple.Apple.md index f80d9c93da8..a38c0a2781f 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/Apple.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/apple.Apple.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.apple.Apple ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/AppleReq.md b/samples/openapi3/client/petstore/python/docs/components/schema/apple_req.AppleReq.md similarity index 96% rename from samples/openapi3/client/petstore/python/docs/components/schema/AppleReq.md rename to samples/openapi3/client/petstore/python/docs/components/schema/apple_req.AppleReq.md index 152e442d13d..e257b055162 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/AppleReq.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/apple_req.AppleReq.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.apple_req.AppleReq ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/ArrayHoldingAnyType.md b/samples/openapi3/client/petstore/python/docs/components/schema/array_holding_any_type.ArrayHoldingAnyType.md similarity index 96% rename from samples/openapi3/client/petstore/python/docs/components/schema/ArrayHoldingAnyType.md rename to samples/openapi3/client/petstore/python/docs/components/schema/array_holding_any_type.ArrayHoldingAnyType.md index fe83564becc..d2c8ea9cee3 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/ArrayHoldingAnyType.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/array_holding_any_type.ArrayHoldingAnyType.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.array_holding_any_type.ArrayHoldingAnyType ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/ArrayOfArrayOfNumberOnly.md b/samples/openapi3/client/petstore/python/docs/components/schema/array_of_array_of_number_only.ArrayOfArrayOfNumberOnly.md similarity index 97% rename from samples/openapi3/client/petstore/python/docs/components/schema/ArrayOfArrayOfNumberOnly.md rename to samples/openapi3/client/petstore/python/docs/components/schema/array_of_array_of_number_only.ArrayOfArrayOfNumberOnly.md index df7c62ba825..d1d3ad02571 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/ArrayOfArrayOfNumberOnly.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/array_of_array_of_number_only.ArrayOfArrayOfNumberOnly.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.array_of_array_of_number_only.ArrayOfArrayOfNumberOnly ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/ArrayOfEnums.md b/samples/openapi3/client/petstore/python/docs/components/schema/array_of_enums.ArrayOfEnums.md similarity index 76% rename from samples/openapi3/client/petstore/python/docs/components/schema/ArrayOfEnums.md rename to samples/openapi3/client/petstore/python/docs/components/schema/array_of_enums.ArrayOfEnums.md index 721dd9ab680..77669d1ffe5 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/ArrayOfEnums.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/array_of_enums.ArrayOfEnums.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.array_of_enums.ArrayOfEnums ## Model Type Info @@ -8,7 +9,7 @@ list, tuple, | tuple, | | ### Tuple Items Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[**StringEnum**](StringEnum.md) | [**StringEnum**](StringEnum.md) | [**StringEnum**](StringEnum.md) | | +[**StringEnum**](string_enum.StringEnum.md) | [**StringEnum**](string_enum.StringEnum.md) | [**StringEnum**](string_enum.StringEnum.md) | | [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/ArrayOfNumberOnly.md b/samples/openapi3/client/petstore/python/docs/components/schema/array_of_number_only.ArrayOfNumberOnly.md similarity index 97% rename from samples/openapi3/client/petstore/python/docs/components/schema/ArrayOfNumberOnly.md rename to samples/openapi3/client/petstore/python/docs/components/schema/array_of_number_only.ArrayOfNumberOnly.md index d7bfbce1ed1..d81b8e01843 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/ArrayOfNumberOnly.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/array_of_number_only.ArrayOfNumberOnly.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.array_of_number_only.ArrayOfNumberOnly ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/ArrayTest.md b/samples/openapi3/client/petstore/python/docs/components/schema/array_test.ArrayTest.md similarity index 94% rename from samples/openapi3/client/petstore/python/docs/components/schema/ArrayTest.md rename to samples/openapi3/client/petstore/python/docs/components/schema/array_test.ArrayTest.md index eda5ab6f5ed..c637f7895ed 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/ArrayTest.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/array_test.ArrayTest.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.array_test.ArrayTest ## Model Type Info @@ -71,7 +72,7 @@ list, tuple, | tuple, | | ### Tuple Items Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[**ReadOnlyFirst**](ReadOnlyFirst.md) | [**ReadOnlyFirst**](ReadOnlyFirst.md) | [**ReadOnlyFirst**](ReadOnlyFirst.md) | | +[**ReadOnlyFirst**](read_only_first.ReadOnlyFirst.md) | [**ReadOnlyFirst**](read_only_first.ReadOnlyFirst.md) | [**ReadOnlyFirst**](read_only_first.ReadOnlyFirst.md) | | [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/ArrayWithValidationsInItems.md b/samples/openapi3/client/petstore/python/docs/components/schema/array_with_validations_in_items.ArrayWithValidationsInItems.md similarity index 94% rename from samples/openapi3/client/petstore/python/docs/components/schema/ArrayWithValidationsInItems.md rename to samples/openapi3/client/petstore/python/docs/components/schema/array_with_validations_in_items.ArrayWithValidationsInItems.md index fa99c210a79..43e067675c4 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/ArrayWithValidationsInItems.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/array_with_validations_in_items.ArrayWithValidationsInItems.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.array_with_validations_in_items.ArrayWithValidationsInItems ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/Banana.md b/samples/openapi3/client/petstore/python/docs/components/schema/banana.Banana.md similarity index 97% rename from samples/openapi3/client/petstore/python/docs/components/schema/Banana.md rename to samples/openapi3/client/petstore/python/docs/components/schema/banana.Banana.md index 61ad1924375..0412b4ffe3c 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/Banana.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/banana.Banana.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.banana.Banana ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/BananaReq.md b/samples/openapi3/client/petstore/python/docs/components/schema/banana_req.BananaReq.md similarity index 96% rename from samples/openapi3/client/petstore/python/docs/components/schema/BananaReq.md rename to samples/openapi3/client/petstore/python/docs/components/schema/banana_req.BananaReq.md index fce44c93426..11c5268af8d 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/BananaReq.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/banana_req.BananaReq.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.banana_req.BananaReq ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/Bar.md b/samples/openapi3/client/petstore/python/docs/components/schema/bar.Bar.md similarity index 96% rename from samples/openapi3/client/petstore/python/docs/components/schema/Bar.md rename to samples/openapi3/client/petstore/python/docs/components/schema/bar.Bar.md index a35bd5ed73b..f26faccb7a5 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/Bar.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/bar.Bar.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.bar.Bar ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/BasquePig.md b/samples/openapi3/client/petstore/python/docs/components/schema/basque_pig.BasquePig.md similarity index 97% rename from samples/openapi3/client/petstore/python/docs/components/schema/BasquePig.md rename to samples/openapi3/client/petstore/python/docs/components/schema/basque_pig.BasquePig.md index ef3b32e3a50..c645171e706 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/BasquePig.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/basque_pig.BasquePig.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.basque_pig.BasquePig ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/Boolean.md b/samples/openapi3/client/petstore/python/docs/components/schema/boolean.Boolean.md similarity index 94% rename from samples/openapi3/client/petstore/python/docs/components/schema/Boolean.md rename to samples/openapi3/client/petstore/python/docs/components/schema/boolean.Boolean.md index f16da18879c..b9577c04e2f 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/Boolean.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/boolean.Boolean.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.boolean.Boolean ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/BooleanEnum.md b/samples/openapi3/client/petstore/python/docs/components/schema/boolean_enum.BooleanEnum.md similarity index 94% rename from samples/openapi3/client/petstore/python/docs/components/schema/BooleanEnum.md rename to samples/openapi3/client/petstore/python/docs/components/schema/boolean_enum.BooleanEnum.md index 1508a34c557..5dd18d57b5b 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/BooleanEnum.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/boolean_enum.BooleanEnum.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.boolean_enum.BooleanEnum ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/Capitalization.md b/samples/openapi3/client/petstore/python/docs/components/schema/capitalization.Capitalization.md similarity index 97% rename from samples/openapi3/client/petstore/python/docs/components/schema/Capitalization.md rename to samples/openapi3/client/petstore/python/docs/components/schema/capitalization.Capitalization.md index 5de9a73c726..3647fdb1369 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/Capitalization.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/capitalization.Capitalization.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.capitalization.Capitalization ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/Cat.md b/samples/openapi3/client/petstore/python/docs/components/schema/cat.Cat.md similarity index 93% rename from samples/openapi3/client/petstore/python/docs/components/schema/Cat.md rename to samples/openapi3/client/petstore/python/docs/components/schema/cat.Cat.md index 5bab8483850..28603f5d605 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/Cat.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/cat.Cat.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.cat.Cat ## Model Type Info @@ -9,7 +10,7 @@ dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal #### allOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[Animal](Animal.md) | [**Animal**](Animal.md) | [**Animal**](Animal.md) | | +[**Animal**](animal.Animal.md) | [**Animal**](animal.Animal.md) | [**Animal**](animal.Animal.md) | | [all_of_1](#all_of_1) | dict, frozendict.frozendict, | frozendict.frozendict, | | # all_of_1 diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/Category.md b/samples/openapi3/client/petstore/python/docs/components/schema/category.Category.md similarity index 98% rename from samples/openapi3/client/petstore/python/docs/components/schema/Category.md rename to samples/openapi3/client/petstore/python/docs/components/schema/category.Category.md index 0ddf27faf74..040fa43e9bf 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/Category.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/category.Category.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.category.Category ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/ChildCat.md b/samples/openapi3/client/petstore/python/docs/components/schema/child_cat.ChildCat.md similarity index 91% rename from samples/openapi3/client/petstore/python/docs/components/schema/ChildCat.md rename to samples/openapi3/client/petstore/python/docs/components/schema/child_cat.ChildCat.md index 62eb8ab4cbe..7cbaec55ce8 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/ChildCat.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/child_cat.ChildCat.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.child_cat.ChildCat ## Model Type Info @@ -9,7 +10,7 @@ dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal #### allOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[ParentPet](ParentPet.md) | [**ParentPet**](ParentPet.md) | [**ParentPet**](ParentPet.md) | | +[**ParentPet**](parent_pet.ParentPet.md) | [**ParentPet**](parent_pet.ParentPet.md) | [**ParentPet**](parent_pet.ParentPet.md) | | [all_of_1](#all_of_1) | dict, frozendict.frozendict, | frozendict.frozendict, | | # all_of_1 diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/ClassModel.md b/samples/openapi3/client/petstore/python/docs/components/schema/class_model.ClassModel.md similarity index 98% rename from samples/openapi3/client/petstore/python/docs/components/schema/ClassModel.md rename to samples/openapi3/client/petstore/python/docs/components/schema/class_model.ClassModel.md index 022789eb200..eaf3b894936 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/ClassModel.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/class_model.ClassModel.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.class_model.ClassModel Model for testing model with \"_class\" property diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/Client.md b/samples/openapi3/client/petstore/python/docs/components/schema/client.Client.md similarity index 97% rename from samples/openapi3/client/petstore/python/docs/components/schema/Client.md rename to samples/openapi3/client/petstore/python/docs/components/schema/client.Client.md index 426e8d178e4..3f76af87884 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/Client.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/client.Client.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.client.Client ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/ComplexQuadrilateral.md b/samples/openapi3/client/petstore/python/docs/components/schema/complex_quadrilateral.ComplexQuadrilateral.md similarity index 85% rename from samples/openapi3/client/petstore/python/docs/components/schema/ComplexQuadrilateral.md rename to samples/openapi3/client/petstore/python/docs/components/schema/complex_quadrilateral.ComplexQuadrilateral.md index 2339b3abe8e..6f345733b08 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/ComplexQuadrilateral.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/complex_quadrilateral.ComplexQuadrilateral.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.complex_quadrilateral.ComplexQuadrilateral ## Model Type Info @@ -9,7 +10,7 @@ dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal #### allOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[QuadrilateralInterface](QuadrilateralInterface.md) | [**QuadrilateralInterface**](QuadrilateralInterface.md) | [**QuadrilateralInterface**](QuadrilateralInterface.md) | | +[**QuadrilateralInterface**](quadrilateral_interface.QuadrilateralInterface.md) | [**QuadrilateralInterface**](quadrilateral_interface.QuadrilateralInterface.md) | [**QuadrilateralInterface**](quadrilateral_interface.QuadrilateralInterface.md) | | [all_of_1](#all_of_1) | dict, frozendict.frozendict, | frozendict.frozendict, | | # all_of_1 diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/ComposedAnyOfDifferentTypesNoValidations.md b/samples/openapi3/client/petstore/python/docs/components/schema/composed_any_of_different_types_no_validations.ComposedAnyOfDifferentTypesNoValidations.md similarity index 99% rename from samples/openapi3/client/petstore/python/docs/components/schema/ComposedAnyOfDifferentTypesNoValidations.md rename to samples/openapi3/client/petstore/python/docs/components/schema/composed_any_of_different_types_no_validations.ComposedAnyOfDifferentTypesNoValidations.md index 508cc049d99..78f9dd94727 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/ComposedAnyOfDifferentTypesNoValidations.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/composed_any_of_different_types_no_validations.ComposedAnyOfDifferentTypesNoValidations.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.composed_any_of_different_types_no_validations.ComposedAnyOfDifferentTypesNoValidations ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/ComposedArray.md b/samples/openapi3/client/petstore/python/docs/components/schema/composed_array.ComposedArray.md similarity index 96% rename from samples/openapi3/client/petstore/python/docs/components/schema/ComposedArray.md rename to samples/openapi3/client/petstore/python/docs/components/schema/composed_array.ComposedArray.md index 6f107e52c1e..ec6d76fdcaa 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/ComposedArray.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/composed_array.ComposedArray.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.composed_array.ComposedArray ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/ComposedBool.md b/samples/openapi3/client/petstore/python/docs/components/schema/composed_bool.ComposedBool.md similarity index 97% rename from samples/openapi3/client/petstore/python/docs/components/schema/ComposedBool.md rename to samples/openapi3/client/petstore/python/docs/components/schema/composed_bool.ComposedBool.md index 4335d9198a0..5e941f1fc95 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/ComposedBool.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/composed_bool.ComposedBool.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.composed_bool.ComposedBool ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/ComposedNone.md b/samples/openapi3/client/petstore/python/docs/components/schema/composed_none.ComposedNone.md similarity index 97% rename from samples/openapi3/client/petstore/python/docs/components/schema/ComposedNone.md rename to samples/openapi3/client/petstore/python/docs/components/schema/composed_none.ComposedNone.md index 49449f6039e..127468a07e2 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/ComposedNone.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/composed_none.ComposedNone.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.composed_none.ComposedNone ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/ComposedNumber.md b/samples/openapi3/client/petstore/python/docs/components/schema/composed_number.ComposedNumber.md similarity index 97% rename from samples/openapi3/client/petstore/python/docs/components/schema/ComposedNumber.md rename to samples/openapi3/client/petstore/python/docs/components/schema/composed_number.ComposedNumber.md index c967dddb1d7..5ac3ed9bbbf 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/ComposedNumber.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/composed_number.ComposedNumber.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.composed_number.ComposedNumber ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/ComposedObject.md b/samples/openapi3/client/petstore/python/docs/components/schema/composed_object.ComposedObject.md similarity index 97% rename from samples/openapi3/client/petstore/python/docs/components/schema/ComposedObject.md rename to samples/openapi3/client/petstore/python/docs/components/schema/composed_object.ComposedObject.md index b16f75df0ce..0253eb326d8 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/ComposedObject.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/composed_object.ComposedObject.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.composed_object.ComposedObject ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/ComposedOneOfDifferentTypes.md b/samples/openapi3/client/petstore/python/docs/components/schema/composed_one_of_different_types.ComposedOneOfDifferentTypes.md similarity index 87% rename from samples/openapi3/client/petstore/python/docs/components/schema/ComposedOneOfDifferentTypes.md rename to samples/openapi3/client/petstore/python/docs/components/schema/composed_one_of_different_types.ComposedOneOfDifferentTypes.md index 1001d53880d..5746907f57e 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/ComposedOneOfDifferentTypes.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/composed_one_of_different_types.ComposedOneOfDifferentTypes.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.composed_one_of_different_types.ComposedOneOfDifferentTypes this is a model that allows payloads of type object or number @@ -11,8 +12,8 @@ dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal #### oneOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[NumberWithValidations](NumberWithValidations.md) | [**NumberWithValidations**](NumberWithValidations.md) | [**NumberWithValidations**](NumberWithValidations.md) | | -[Animal](Animal.md) | [**Animal**](Animal.md) | [**Animal**](Animal.md) | | +[**NumberWithValidations**](number_with_validations.NumberWithValidations.md) | [**NumberWithValidations**](number_with_validations.NumberWithValidations.md) | [**NumberWithValidations**](number_with_validations.NumberWithValidations.md) | | +[**Animal**](animal.Animal.md) | [**Animal**](animal.Animal.md) | [**Animal**](animal.Animal.md) | | [one_of_2](#one_of_2) | None, | NoneClass, | | [one_of_3](#one_of_3) | str, date, | str, | | value must conform to RFC-3339 full-date YYYY-MM-DD [one_of_4](#one_of_4) | dict, frozendict.frozendict, | frozendict.frozendict, | | diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/ComposedString.md b/samples/openapi3/client/petstore/python/docs/components/schema/composed_string.ComposedString.md similarity index 97% rename from samples/openapi3/client/petstore/python/docs/components/schema/ComposedString.md rename to samples/openapi3/client/petstore/python/docs/components/schema/composed_string.ComposedString.md index 23ff3074d1b..69203f721fa 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/ComposedString.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/composed_string.ComposedString.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.composed_string.ComposedString ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/Currency.md b/samples/openapi3/client/petstore/python/docs/components/schema/currency.Currency.md similarity index 94% rename from samples/openapi3/client/petstore/python/docs/components/schema/Currency.md rename to samples/openapi3/client/petstore/python/docs/components/schema/currency.Currency.md index 5db0680b39b..fee63c088c0 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/Currency.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/currency.Currency.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.currency.Currency ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/DanishPig.md b/samples/openapi3/client/petstore/python/docs/components/schema/danish_pig.DanishPig.md similarity index 97% rename from samples/openapi3/client/petstore/python/docs/components/schema/DanishPig.md rename to samples/openapi3/client/petstore/python/docs/components/schema/danish_pig.DanishPig.md index b0f6d120144..a085e4b2303 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/DanishPig.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/danish_pig.DanishPig.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.danish_pig.DanishPig ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/DateTimeTest.md b/samples/openapi3/client/petstore/python/docs/components/schema/date_time_test.DateTimeTest.md similarity index 95% rename from samples/openapi3/client/petstore/python/docs/components/schema/DateTimeTest.md rename to samples/openapi3/client/petstore/python/docs/components/schema/date_time_test.DateTimeTest.md index aa619e3e5dc..63bb9f9480e 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/DateTimeTest.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/date_time_test.DateTimeTest.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.date_time_test.DateTimeTest ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/DateTimeWithValidations.md b/samples/openapi3/client/petstore/python/docs/components/schema/date_time_with_validations.DateTimeWithValidations.md similarity index 92% rename from samples/openapi3/client/petstore/python/docs/components/schema/DateTimeWithValidations.md rename to samples/openapi3/client/petstore/python/docs/components/schema/date_time_with_validations.DateTimeWithValidations.md index b3aa92e4f2c..e2146bf8453 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/DateTimeWithValidations.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/date_time_with_validations.DateTimeWithValidations.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.date_time_with_validations.DateTimeWithValidations ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/DateWithValidations.md b/samples/openapi3/client/petstore/python/docs/components/schema/date_with_validations.DateWithValidations.md similarity index 93% rename from samples/openapi3/client/petstore/python/docs/components/schema/DateWithValidations.md rename to samples/openapi3/client/petstore/python/docs/components/schema/date_with_validations.DateWithValidations.md index 171c7bb7310..922f3d688e0 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/DateWithValidations.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/date_with_validations.DateWithValidations.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.date_with_validations.DateWithValidations ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/DecimalPayload.md b/samples/openapi3/client/petstore/python/docs/components/schema/decimal_payload.DecimalPayload.md similarity index 94% rename from samples/openapi3/client/petstore/python/docs/components/schema/DecimalPayload.md rename to samples/openapi3/client/petstore/python/docs/components/schema/decimal_payload.DecimalPayload.md index 4bae4553619..1e0d2e6c438 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/DecimalPayload.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/decimal_payload.DecimalPayload.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.decimal_payload.DecimalPayload ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/Dog.md b/samples/openapi3/client/petstore/python/docs/components/schema/dog.Dog.md similarity index 93% rename from samples/openapi3/client/petstore/python/docs/components/schema/Dog.md rename to samples/openapi3/client/petstore/python/docs/components/schema/dog.Dog.md index aa9d229416b..84c7b8e91ba 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/Dog.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/dog.Dog.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.dog.Dog ## Model Type Info @@ -9,7 +10,7 @@ dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal #### allOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[Animal](Animal.md) | [**Animal**](Animal.md) | [**Animal**](Animal.md) | | +[**Animal**](animal.Animal.md) | [**Animal**](animal.Animal.md) | [**Animal**](animal.Animal.md) | | [all_of_1](#all_of_1) | dict, frozendict.frozendict, | frozendict.frozendict, | | # all_of_1 diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/Drawing.md b/samples/openapi3/client/petstore/python/docs/components/schema/drawing.Drawing.md similarity index 59% rename from samples/openapi3/client/petstore/python/docs/components/schema/Drawing.md rename to samples/openapi3/client/petstore/python/docs/components/schema/drawing.Drawing.md index 2d05a7e046f..e740e74dcce 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/Drawing.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/drawing.Drawing.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.drawing.Drawing ## Model Type Info @@ -8,11 +9,11 @@ dict, frozendict.frozendict, | frozendict.frozendict, | | ### Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**mainShape** | [**Shape**](Shape.md) | [**Shape**](Shape.md) | | [optional] -**shapeOrNull** | [**ShapeOrNull**](ShapeOrNull.md) | [**ShapeOrNull**](ShapeOrNull.md) | | [optional] -**nullableShape** | [**NullableShape**](NullableShape.md) | [**NullableShape**](NullableShape.md) | | [optional] +**mainShape** | [**Shape**](shape.Shape.md) | [**Shape**](shape.Shape.md) | | [optional] +**shapeOrNull** | [**ShapeOrNull**](shape_or_null.ShapeOrNull.md) | [**ShapeOrNull**](shape_or_null.ShapeOrNull.md) | | [optional] +**nullableShape** | [**NullableShape**](nullable_shape.NullableShape.md) | [**NullableShape**](nullable_shape.NullableShape.md) | | [optional] **[shapes](#shapes)** | list, tuple, | tuple, | | [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] +**any_string_name** | [**Fruit**](fruit.Fruit.md) | [**Fruit**](fruit.Fruit.md) | any string name can be used but the value must be the correct type | [optional] # shapes @@ -24,7 +25,7 @@ list, tuple, | tuple, | | ### Tuple Items Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[**Shape**](Shape.md) | [**Shape**](Shape.md) | [**Shape**](Shape.md) | | +[**Shape**](shape.Shape.md) | [**Shape**](shape.Shape.md) | [**Shape**](shape.Shape.md) | | [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/EnumArrays.md b/samples/openapi3/client/petstore/python/docs/components/schema/enum_arrays.EnumArrays.md similarity index 98% rename from samples/openapi3/client/petstore/python/docs/components/schema/EnumArrays.md rename to samples/openapi3/client/petstore/python/docs/components/schema/enum_arrays.EnumArrays.md index 1e4f78dde56..a5e96f94631 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/EnumArrays.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/enum_arrays.EnumArrays.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.enum_arrays.EnumArrays ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/EnumClass.md b/samples/openapi3/client/petstore/python/docs/components/schema/enum_class.EnumClass.md similarity index 95% rename from samples/openapi3/client/petstore/python/docs/components/schema/EnumClass.md rename to samples/openapi3/client/petstore/python/docs/components/schema/enum_class.EnumClass.md index 00947844f36..e7294bd0320 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/EnumClass.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/enum_class.EnumClass.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.enum_class.EnumClass ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/EnumTest.md b/samples/openapi3/client/petstore/python/docs/components/schema/enum_test.EnumTest.md similarity index 64% rename from samples/openapi3/client/petstore/python/docs/components/schema/EnumTest.md rename to samples/openapi3/client/petstore/python/docs/components/schema/enum_test.EnumTest.md index 0b107170e3d..3a5a2d6d207 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/EnumTest.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/enum_test.EnumTest.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.enum_test.EnumTest ## Model Type Info @@ -12,11 +13,11 @@ Key | Input Type | Accessed Type | Description | Notes **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**](StringEnum.md) | [**StringEnum**](StringEnum.md) | | [optional] -**IntegerEnum** | [**IntegerEnum**](IntegerEnum.md) | [**IntegerEnum**](IntegerEnum.md) | | [optional] -**StringEnumWithDefaultValue** | [**StringEnumWithDefaultValue**](StringEnumWithDefaultValue.md) | [**StringEnumWithDefaultValue**](StringEnumWithDefaultValue.md) | | [optional] -**IntegerEnumWithDefaultValue** | [**IntegerEnumWithDefaultValue**](IntegerEnumWithDefaultValue.md) | [**IntegerEnumWithDefaultValue**](IntegerEnumWithDefaultValue.md) | | [optional] -**IntegerEnumOneValue** | [**IntegerEnumOneValue**](IntegerEnumOneValue.md) | [**IntegerEnumOneValue**](IntegerEnumOneValue.md) | | [optional] +**stringEnum** | [**StringEnum**](string_enum.StringEnum.md) | [**StringEnum**](string_enum.StringEnum.md) | | [optional] +**IntegerEnum** | [**IntegerEnum**](integer_enum.IntegerEnum.md) | [**IntegerEnum**](integer_enum.IntegerEnum.md) | | [optional] +**StringEnumWithDefaultValue** | [**StringEnumWithDefaultValue**](string_enum_with_default_value.StringEnumWithDefaultValue.md) | [**StringEnumWithDefaultValue**](string_enum_with_default_value.StringEnumWithDefaultValue.md) | | [optional] +**IntegerEnumWithDefaultValue** | [**IntegerEnumWithDefaultValue**](integer_enum_with_default_value.IntegerEnumWithDefaultValue.md) | [**IntegerEnumWithDefaultValue**](integer_enum_with_default_value.IntegerEnumWithDefaultValue.md) | | [optional] +**IntegerEnumOneValue** | [**IntegerEnumOneValue**](integer_enum_one_value.IntegerEnumOneValue.md) | [**IntegerEnumOneValue**](integer_enum_one_value.IntegerEnumOneValue.md) | | [optional] **any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/EquilateralTriangle.md b/samples/openapi3/client/petstore/python/docs/components/schema/equilateral_triangle.EquilateralTriangle.md similarity index 87% rename from samples/openapi3/client/petstore/python/docs/components/schema/EquilateralTriangle.md rename to samples/openapi3/client/petstore/python/docs/components/schema/equilateral_triangle.EquilateralTriangle.md index f5282cfa240..2bb10ce6175 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/EquilateralTriangle.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/equilateral_triangle.EquilateralTriangle.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.equilateral_triangle.EquilateralTriangle ## Model Type Info @@ -9,7 +10,7 @@ dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal #### allOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[TriangleInterface](TriangleInterface.md) | [**TriangleInterface**](TriangleInterface.md) | [**TriangleInterface**](TriangleInterface.md) | | +[**TriangleInterface**](triangle_interface.TriangleInterface.md) | [**TriangleInterface**](triangle_interface.TriangleInterface.md) | [**TriangleInterface**](triangle_interface.TriangleInterface.md) | | [all_of_1](#all_of_1) | dict, frozendict.frozendict, | frozendict.frozendict, | | # all_of_1 diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/File.md b/samples/openapi3/client/petstore/python/docs/components/schema/file.File.md similarity index 98% rename from samples/openapi3/client/petstore/python/docs/components/schema/File.md rename to samples/openapi3/client/petstore/python/docs/components/schema/file.File.md index e090b01f25b..8c38879eed8 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/File.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/file.File.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.file.File Must be named `File` for test. diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/FileSchemaTestClass.md b/samples/openapi3/client/petstore/python/docs/components/schema/file_schema_test_class.FileSchemaTestClass.md similarity index 87% rename from samples/openapi3/client/petstore/python/docs/components/schema/FileSchemaTestClass.md rename to samples/openapi3/client/petstore/python/docs/components/schema/file_schema_test_class.FileSchemaTestClass.md index 9d1688a8b64..652dab7210c 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/FileSchemaTestClass.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/file_schema_test_class.FileSchemaTestClass.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.file_schema_test_class.FileSchemaTestClass ## Model Type Info @@ -8,7 +9,7 @@ dict, frozendict.frozendict, | frozendict.frozendict, | | ### Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**file** | [**File**](File.md) | [**File**](File.md) | | [optional] +**file** | [**File**](file.File.md) | [**File**](file.File.md) | | [optional] **[files](#files)** | list, tuple, | tuple, | | [optional] **any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] @@ -22,7 +23,7 @@ list, tuple, | tuple, | | ### Tuple Items Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[**File**](File.md) | [**File**](File.md) | [**File**](File.md) | | +[**File**](file.File.md) | [**File**](file.File.md) | [**File**](file.File.md) | | [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/Foo.md b/samples/openapi3/client/petstore/python/docs/components/schema/foo.Foo.md similarity index 90% rename from samples/openapi3/client/petstore/python/docs/components/schema/Foo.md rename to samples/openapi3/client/petstore/python/docs/components/schema/foo.Foo.md index 9dc36b516f7..d4afd48281e 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/Foo.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/foo.Foo.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.foo.Foo ## Model Type Info @@ -8,7 +9,7 @@ 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.Bar.md) | [**Bar**](bar.Bar.md) | | [optional] **any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/FormatTest.md b/samples/openapi3/client/petstore/python/docs/components/schema/format_test.FormatTest.md similarity index 99% rename from samples/openapi3/client/petstore/python/docs/components/schema/FormatTest.md rename to samples/openapi3/client/petstore/python/docs/components/schema/format_test.FormatTest.md index bbbc7f93c6f..03f6912f027 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/FormatTest.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/format_test.FormatTest.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.format_test.FormatTest ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/FromSchema.md b/samples/openapi3/client/petstore/python/docs/components/schema/from_schema.FromSchema.md similarity index 97% rename from samples/openapi3/client/petstore/python/docs/components/schema/FromSchema.md rename to samples/openapi3/client/petstore/python/docs/components/schema/from_schema.FromSchema.md index 128a459ed7a..ac56c9c6260 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/FromSchema.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/from_schema.FromSchema.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.from_schema.FromSchema ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/Fruit.md b/samples/openapi3/client/petstore/python/docs/components/schema/fruit.Fruit.md similarity index 86% rename from samples/openapi3/client/petstore/python/docs/components/schema/Fruit.md rename to samples/openapi3/client/petstore/python/docs/components/schema/fruit.Fruit.md index 2362f653149..bc6cd090f8b 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/Fruit.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/fruit.Fruit.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.fruit.Fruit ## Model Type Info @@ -15,8 +16,8 @@ Key | Input Type | Accessed Type | Description | Notes #### oneOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[Apple](Apple.md) | [**Apple**](Apple.md) | [**Apple**](Apple.md) | | -[Banana](Banana.md) | [**Banana**](Banana.md) | [**Banana**](Banana.md) | | +[**Apple**](apple.Apple.md) | [**Apple**](apple.Apple.md) | [**Apple**](apple.Apple.md) | | +[**Banana**](banana.Banana.md) | [**Banana**](banana.Banana.md) | [**Banana**](banana.Banana.md) | | [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/FruitReq.md b/samples/openapi3/client/petstore/python/docs/components/schema/fruit_req.FruitReq.md similarity index 78% rename from samples/openapi3/client/petstore/python/docs/components/schema/FruitReq.md rename to samples/openapi3/client/petstore/python/docs/components/schema/fruit_req.FruitReq.md index 01522740311..340e13a6679 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/FruitReq.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/fruit_req.FruitReq.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.fruit_req.FruitReq ## Model Type Info @@ -10,8 +11,8 @@ dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- [one_of_0](#one_of_0) | None, | NoneClass, | | -[AppleReq](AppleReq.md) | [**AppleReq**](AppleReq.md) | [**AppleReq**](AppleReq.md) | | -[BananaReq](BananaReq.md) | [**BananaReq**](BananaReq.md) | [**BananaReq**](BananaReq.md) | | +[**AppleReq**](apple_req.AppleReq.md) | [**AppleReq**](apple_req.AppleReq.md) | [**AppleReq**](apple_req.AppleReq.md) | | +[**BananaReq**](banana_req.BananaReq.md) | [**BananaReq**](banana_req.BananaReq.md) | [**BananaReq**](banana_req.BananaReq.md) | | # one_of_0 diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/GmFruit.md b/samples/openapi3/client/petstore/python/docs/components/schema/gm_fruit.GmFruit.md similarity index 85% rename from samples/openapi3/client/petstore/python/docs/components/schema/GmFruit.md rename to samples/openapi3/client/petstore/python/docs/components/schema/gm_fruit.GmFruit.md index 16c5958adb9..6ebbed31a06 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/GmFruit.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/gm_fruit.GmFruit.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.gm_fruit.GmFruit ## Model Type Info @@ -15,8 +16,8 @@ Key | Input Type | Accessed Type | Description | Notes #### anyOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[Apple](Apple.md) | [**Apple**](Apple.md) | [**Apple**](Apple.md) | | -[Banana](Banana.md) | [**Banana**](Banana.md) | [**Banana**](Banana.md) | | +[**Apple**](apple.Apple.md) | [**Apple**](apple.Apple.md) | [**Apple**](apple.Apple.md) | | +[**Banana**](banana.Banana.md) | [**Banana**](banana.Banana.md) | [**Banana**](banana.Banana.md) | | [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/GrandparentAnimal.md b/samples/openapi3/client/petstore/python/docs/components/schema/grandparent_animal.GrandparentAnimal.md similarity index 96% rename from samples/openapi3/client/petstore/python/docs/components/schema/GrandparentAnimal.md rename to samples/openapi3/client/petstore/python/docs/components/schema/grandparent_animal.GrandparentAnimal.md index be80f7525f5..822b1216a26 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/GrandparentAnimal.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/grandparent_animal.GrandparentAnimal.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.grandparent_animal.GrandparentAnimal ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/HasOnlyReadOnly.md b/samples/openapi3/client/petstore/python/docs/components/schema/has_only_read_only.HasOnlyReadOnly.md similarity index 97% rename from samples/openapi3/client/petstore/python/docs/components/schema/HasOnlyReadOnly.md rename to samples/openapi3/client/petstore/python/docs/components/schema/has_only_read_only.HasOnlyReadOnly.md index 43e235c0dab..b2c438e8a66 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/HasOnlyReadOnly.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/has_only_read_only.HasOnlyReadOnly.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.has_only_read_only.HasOnlyReadOnly ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/HealthCheckResult.md b/samples/openapi3/client/petstore/python/docs/components/schema/health_check_result.HealthCheckResult.md similarity index 97% rename from samples/openapi3/client/petstore/python/docs/components/schema/HealthCheckResult.md rename to samples/openapi3/client/petstore/python/docs/components/schema/health_check_result.HealthCheckResult.md index 9125a98114e..cb96186778f 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/HealthCheckResult.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/health_check_result.HealthCheckResult.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.health_check_result.HealthCheckResult Just a string to inform instance is up and running. Make it nullable in hope to get it as pointer in generated model. diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/IntegerEnum.md b/samples/openapi3/client/petstore/python/docs/components/schema/integer_enum.IntegerEnum.md similarity index 94% rename from samples/openapi3/client/petstore/python/docs/components/schema/IntegerEnum.md rename to samples/openapi3/client/petstore/python/docs/components/schema/integer_enum.IntegerEnum.md index 6e7d0d4d8b5..aee54a6661e 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/IntegerEnum.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/integer_enum.IntegerEnum.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.integer_enum.IntegerEnum ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/IntegerEnumBig.md b/samples/openapi3/client/petstore/python/docs/components/schema/integer_enum_big.IntegerEnumBig.md similarity index 94% rename from samples/openapi3/client/petstore/python/docs/components/schema/IntegerEnumBig.md rename to samples/openapi3/client/petstore/python/docs/components/schema/integer_enum_big.IntegerEnumBig.md index d789c42cc8e..90928c17086 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/IntegerEnumBig.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/integer_enum_big.IntegerEnumBig.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.integer_enum_big.IntegerEnumBig ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/IntegerEnumOneValue.md b/samples/openapi3/client/petstore/python/docs/components/schema/integer_enum_one_value.IntegerEnumOneValue.md similarity index 93% rename from samples/openapi3/client/petstore/python/docs/components/schema/IntegerEnumOneValue.md rename to samples/openapi3/client/petstore/python/docs/components/schema/integer_enum_one_value.IntegerEnumOneValue.md index aa93644ea0a..a2207e06c0b 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/IntegerEnumOneValue.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/integer_enum_one_value.IntegerEnumOneValue.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.integer_enum_one_value.IntegerEnumOneValue ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/IntegerEnumWithDefaultValue.md b/samples/openapi3/client/petstore/python/docs/components/schema/integer_enum_with_default_value.IntegerEnumWithDefaultValue.md similarity index 92% rename from samples/openapi3/client/petstore/python/docs/components/schema/IntegerEnumWithDefaultValue.md rename to samples/openapi3/client/petstore/python/docs/components/schema/integer_enum_with_default_value.IntegerEnumWithDefaultValue.md index aad73d3158c..30a28a943e9 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/IntegerEnumWithDefaultValue.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/integer_enum_with_default_value.IntegerEnumWithDefaultValue.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.integer_enum_with_default_value.IntegerEnumWithDefaultValue ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/IntegerMax10.md b/samples/openapi3/client/petstore/python/docs/components/schema/integer_max10.IntegerMax10.md similarity index 94% rename from samples/openapi3/client/petstore/python/docs/components/schema/IntegerMax10.md rename to samples/openapi3/client/petstore/python/docs/components/schema/integer_max10.IntegerMax10.md index b35c091f6e6..1e4cffb88de 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/IntegerMax10.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/integer_max10.IntegerMax10.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.integer_max10.IntegerMax10 ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/IntegerMin15.md b/samples/openapi3/client/petstore/python/docs/components/schema/integer_min15.IntegerMin15.md similarity index 94% rename from samples/openapi3/client/petstore/python/docs/components/schema/IntegerMin15.md rename to samples/openapi3/client/petstore/python/docs/components/schema/integer_min15.IntegerMin15.md index 936a27e2e2b..c7c348f9832 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/IntegerMin15.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/integer_min15.IntegerMin15.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.integer_min15.IntegerMin15 ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/IsoscelesTriangle.md b/samples/openapi3/client/petstore/python/docs/components/schema/isosceles_triangle.IsoscelesTriangle.md similarity index 87% rename from samples/openapi3/client/petstore/python/docs/components/schema/IsoscelesTriangle.md rename to samples/openapi3/client/petstore/python/docs/components/schema/isosceles_triangle.IsoscelesTriangle.md index a0de41e76d3..629d45721a8 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/IsoscelesTriangle.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/isosceles_triangle.IsoscelesTriangle.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.isosceles_triangle.IsoscelesTriangle ## Model Type Info @@ -9,7 +10,7 @@ dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal #### allOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[TriangleInterface](TriangleInterface.md) | [**TriangleInterface**](TriangleInterface.md) | [**TriangleInterface**](TriangleInterface.md) | | +[**TriangleInterface**](triangle_interface.TriangleInterface.md) | [**TriangleInterface**](triangle_interface.TriangleInterface.md) | [**TriangleInterface**](triangle_interface.TriangleInterface.md) | | [all_of_1](#all_of_1) | dict, frozendict.frozendict, | frozendict.frozendict, | | # all_of_1 diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/JSONPatchRequest.md b/samples/openapi3/client/petstore/python/docs/components/schema/json_patch_request.JSONPatchRequest.md similarity index 61% rename from samples/openapi3/client/petstore/python/docs/components/schema/JSONPatchRequest.md rename to samples/openapi3/client/petstore/python/docs/components/schema/json_patch_request.JSONPatchRequest.md index dcb8b99656c..f662ceb6f58 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/JSONPatchRequest.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/json_patch_request.JSONPatchRequest.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.json_patch_request.JSONPatchRequest ## Model Type Info @@ -21,9 +22,9 @@ dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal #### oneOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[JSONPatchRequestAddReplaceTest](JSONPatchRequestAddReplaceTest.md) | [**JSONPatchRequestAddReplaceTest**](JSONPatchRequestAddReplaceTest.md) | [**JSONPatchRequestAddReplaceTest**](JSONPatchRequestAddReplaceTest.md) | | -[JSONPatchRequestRemove](JSONPatchRequestRemove.md) | [**JSONPatchRequestRemove**](JSONPatchRequestRemove.md) | [**JSONPatchRequestRemove**](JSONPatchRequestRemove.md) | | -[JSONPatchRequestMoveCopy](JSONPatchRequestMoveCopy.md) | [**JSONPatchRequestMoveCopy**](JSONPatchRequestMoveCopy.md) | [**JSONPatchRequestMoveCopy**](JSONPatchRequestMoveCopy.md) | | +[**JSONPatchRequestAddReplaceTest**](json_patch_request_add_replace_test.JSONPatchRequestAddReplaceTest.md) | [**JSONPatchRequestAddReplaceTest**](json_patch_request_add_replace_test.JSONPatchRequestAddReplaceTest.md) | [**JSONPatchRequestAddReplaceTest**](json_patch_request_add_replace_test.JSONPatchRequestAddReplaceTest.md) | | +[**JSONPatchRequestRemove**](json_patch_request_remove.JSONPatchRequestRemove.md) | [**JSONPatchRequestRemove**](json_patch_request_remove.JSONPatchRequestRemove.md) | [**JSONPatchRequestRemove**](json_patch_request_remove.JSONPatchRequestRemove.md) | | +[**JSONPatchRequestMoveCopy**](json_patch_request_move_copy.JSONPatchRequestMoveCopy.md) | [**JSONPatchRequestMoveCopy**](json_patch_request_move_copy.JSONPatchRequestMoveCopy.md) | [**JSONPatchRequestMoveCopy**](json_patch_request_move_copy.JSONPatchRequestMoveCopy.md) | | [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/JSONPatchRequestAddReplaceTest.md b/samples/openapi3/client/petstore/python/docs/components/schema/json_patch_request_add_replace_test.JSONPatchRequestAddReplaceTest.md similarity index 96% rename from samples/openapi3/client/petstore/python/docs/components/schema/JSONPatchRequestAddReplaceTest.md rename to samples/openapi3/client/petstore/python/docs/components/schema/json_patch_request_add_replace_test.JSONPatchRequestAddReplaceTest.md index 398728421d9..c0b3440c747 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/JSONPatchRequestAddReplaceTest.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/json_patch_request_add_replace_test.JSONPatchRequestAddReplaceTest.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.json_patch_request_add_replace_test.JSONPatchRequestAddReplaceTest ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/JSONPatchRequestMoveCopy.md b/samples/openapi3/client/petstore/python/docs/components/schema/json_patch_request_move_copy.JSONPatchRequestMoveCopy.md similarity index 95% rename from samples/openapi3/client/petstore/python/docs/components/schema/JSONPatchRequestMoveCopy.md rename to samples/openapi3/client/petstore/python/docs/components/schema/json_patch_request_move_copy.JSONPatchRequestMoveCopy.md index d96ac2b8ef9..5dc169f3535 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/JSONPatchRequestMoveCopy.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/json_patch_request_move_copy.JSONPatchRequestMoveCopy.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.json_patch_request_move_copy.JSONPatchRequestMoveCopy ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/JSONPatchRequestRemove.md b/samples/openapi3/client/petstore/python/docs/components/schema/json_patch_request_remove.JSONPatchRequestRemove.md similarity index 95% rename from samples/openapi3/client/petstore/python/docs/components/schema/JSONPatchRequestRemove.md rename to samples/openapi3/client/petstore/python/docs/components/schema/json_patch_request_remove.JSONPatchRequestRemove.md index d96fe20420f..6ee37a5e41a 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/JSONPatchRequestRemove.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/json_patch_request_remove.JSONPatchRequestRemove.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.json_patch_request_remove.JSONPatchRequestRemove ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/Mammal.md b/samples/openapi3/client/petstore/python/docs/components/schema/mammal.Mammal.md similarity index 73% rename from samples/openapi3/client/petstore/python/docs/components/schema/Mammal.md rename to samples/openapi3/client/petstore/python/docs/components/schema/mammal.Mammal.md index 5e3c786455e..33e7844f834 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/Mammal.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/mammal.Mammal.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.mammal.Mammal ## Model Type Info @@ -9,9 +10,9 @@ dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal #### oneOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[Whale](Whale.md) | [**Whale**](Whale.md) | [**Whale**](Whale.md) | | -[Zebra](Zebra.md) | [**Zebra**](Zebra.md) | [**Zebra**](Zebra.md) | | -[Pig](Pig.md) | [**Pig**](Pig.md) | [**Pig**](Pig.md) | | +[**Whale**](whale.Whale.md) | [**Whale**](whale.Whale.md) | [**Whale**](whale.Whale.md) | | +[**Zebra**](zebra.Zebra.md) | [**Zebra**](zebra.Zebra.md) | [**Zebra**](zebra.Zebra.md) | | +[**Pig**](pig.Pig.md) | [**Pig**](pig.Pig.md) | [**Pig**](pig.Pig.md) | | [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/MapTest.md b/samples/openapi3/client/petstore/python/docs/components/schema/map_test.MapTest.md similarity index 94% rename from samples/openapi3/client/petstore/python/docs/components/schema/MapTest.md rename to samples/openapi3/client/petstore/python/docs/components/schema/map_test.MapTest.md index ce5d7c54f17..54986056d29 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/MapTest.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/map_test.MapTest.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.map_test.MapTest ## Model Type Info @@ -11,7 +12,7 @@ Key | Input Type | Accessed Type | Description | Notes **[map_map_of_string](#map_map_of_string)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] **[map_of_enum_string](#map_of_enum_string)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] **[direct_map](#direct_map)** | dict, frozendict.frozendict, | frozendict.frozendict, | | [optional] -**indirect_map** | [**StringBooleanMap**](StringBooleanMap.md) | [**StringBooleanMap**](StringBooleanMap.md) | | [optional] +**indirect_map** | [**StringBooleanMap**](string_boolean_map.StringBooleanMap.md) | [**StringBooleanMap**](string_boolean_map.StringBooleanMap.md) | | [optional] **any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] # map_map_of_string diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/MixedPropertiesAndAdditionalPropertiesClass.md b/samples/openapi3/client/petstore/python/docs/components/schema/mixed_properties_and_additional_properties_class.MixedPropertiesAndAdditionalPropertiesClass.md similarity index 87% rename from samples/openapi3/client/petstore/python/docs/components/schema/MixedPropertiesAndAdditionalPropertiesClass.md rename to samples/openapi3/client/petstore/python/docs/components/schema/mixed_properties_and_additional_properties_class.MixedPropertiesAndAdditionalPropertiesClass.md index b6795682546..eb2784242f1 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/MixedPropertiesAndAdditionalPropertiesClass.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/mixed_properties_and_additional_properties_class.MixedPropertiesAndAdditionalPropertiesClass.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.mixed_properties_and_additional_properties_class.MixedPropertiesAndAdditionalPropertiesClass ## Model Type Info @@ -23,7 +24,7 @@ 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.Animal.md) | [**Animal**](animal.Animal.md) | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/Model200Response.md b/samples/openapi3/client/petstore/python/docs/components/schema/model200_response.Model200Response.md similarity index 97% rename from samples/openapi3/client/petstore/python/docs/components/schema/Model200Response.md rename to samples/openapi3/client/petstore/python/docs/components/schema/model200_response.Model200Response.md index 40d1c5743ef..ef20d589ba8 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/Model200Response.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/model200_response.Model200Response.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.model200_response.Model200Response model with an invalid class name for python, starts with a number diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/ModelReturn.md b/samples/openapi3/client/petstore/python/docs/components/schema/model_return.ModelReturn.md similarity index 98% rename from samples/openapi3/client/petstore/python/docs/components/schema/ModelReturn.md rename to samples/openapi3/client/petstore/python/docs/components/schema/model_return.ModelReturn.md index 7771fc9f72f..81f0ed499d8 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/ModelReturn.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/model_return.ModelReturn.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.model_return.ModelReturn Model for testing reserved words diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/Money.md b/samples/openapi3/client/petstore/python/docs/components/schema/money.Money.md similarity index 89% rename from samples/openapi3/client/petstore/python/docs/components/schema/Money.md rename to samples/openapi3/client/petstore/python/docs/components/schema/money.Money.md index 72c8d4b6e7a..ad5577a28ed 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/Money.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/money.Money.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.money.Money ## Model Type Info @@ -9,7 +10,7 @@ dict, frozendict.frozendict, | frozendict.frozendict, | | 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) | | +**currency** | [**Currency**](currency.Currency.md) | [**Currency**](currency.Currency.md) | | **any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/Name.md b/samples/openapi3/client/petstore/python/docs/components/schema/name.Name.md similarity index 98% rename from samples/openapi3/client/petstore/python/docs/components/schema/Name.md rename to samples/openapi3/client/petstore/python/docs/components/schema/name.Name.md index 20b8724b3c6..dd72eaf95de 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/Name.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/name.Name.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.name.Name Model for testing model name same as property name diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/NoAdditionalProperties.md b/samples/openapi3/client/petstore/python/docs/components/schema/no_additional_properties.NoAdditionalProperties.md similarity index 95% rename from samples/openapi3/client/petstore/python/docs/components/schema/NoAdditionalProperties.md rename to samples/openapi3/client/petstore/python/docs/components/schema/no_additional_properties.NoAdditionalProperties.md index a990ea8cb47..7e555e36479 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/NoAdditionalProperties.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/no_additional_properties.NoAdditionalProperties.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.no_additional_properties.NoAdditionalProperties ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/NullableClass.md b/samples/openapi3/client/petstore/python/docs/components/schema/nullable_class.NullableClass.md similarity index 99% rename from samples/openapi3/client/petstore/python/docs/components/schema/NullableClass.md rename to samples/openapi3/client/petstore/python/docs/components/schema/nullable_class.NullableClass.md index 076c411f5bb..6b9c32dc700 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/NullableClass.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/nullable_class.NullableClass.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.nullable_class.NullableClass ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/NullableShape.md b/samples/openapi3/client/petstore/python/docs/components/schema/nullable_shape.NullableShape.md similarity index 82% rename from samples/openapi3/client/petstore/python/docs/components/schema/NullableShape.md rename to samples/openapi3/client/petstore/python/docs/components/schema/nullable_shape.NullableShape.md index cc4c79ec7b2..51f63f1d3c2 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/NullableShape.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/nullable_shape.NullableShape.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.nullable_shape.NullableShape 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) @@ -11,8 +12,8 @@ dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal #### oneOf 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) | | +[**Triangle**](triangle.Triangle.md) | [**Triangle**](triangle.Triangle.md) | [**Triangle**](triangle.Triangle.md) | | +[**Quadrilateral**](quadrilateral.Quadrilateral.md) | [**Quadrilateral**](quadrilateral.Quadrilateral.md) | [**Quadrilateral**](quadrilateral.Quadrilateral.md) | | [one_of_2](#one_of_2) | None, | NoneClass, | | # one_of_2 diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/NullableString.md b/samples/openapi3/client/petstore/python/docs/components/schema/nullable_string.NullableString.md similarity index 93% rename from samples/openapi3/client/petstore/python/docs/components/schema/NullableString.md rename to samples/openapi3/client/petstore/python/docs/components/schema/nullable_string.NullableString.md index 907ea98a02e..29ada8e110c 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/NullableString.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/nullable_string.NullableString.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.nullable_string.NullableString ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/Number.md b/samples/openapi3/client/petstore/python/docs/components/schema/number.Number.md similarity index 95% rename from samples/openapi3/client/petstore/python/docs/components/schema/Number.md rename to samples/openapi3/client/petstore/python/docs/components/schema/number.Number.md index 3bcdd6a356f..d3396615fb3 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/Number.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/number.Number.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.number.Number ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/NumberOnly.md b/samples/openapi3/client/petstore/python/docs/components/schema/number_only.NumberOnly.md similarity index 97% rename from samples/openapi3/client/petstore/python/docs/components/schema/NumberOnly.md rename to samples/openapi3/client/petstore/python/docs/components/schema/number_only.NumberOnly.md index 6013aad72b5..787d6a79b5a 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/NumberOnly.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/number_only.NumberOnly.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.number_only.NumberOnly ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/NumberWithValidations.md b/samples/openapi3/client/petstore/python/docs/components/schema/number_with_validations.NumberWithValidations.md similarity index 92% rename from samples/openapi3/client/petstore/python/docs/components/schema/NumberWithValidations.md rename to samples/openapi3/client/petstore/python/docs/components/schema/number_with_validations.NumberWithValidations.md index 4aeef70157d..96a127e36a8 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/NumberWithValidations.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/number_with_validations.NumberWithValidations.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.number_with_validations.NumberWithValidations ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/ObjectInterface.md b/samples/openapi3/client/petstore/python/docs/components/schema/object_interface.ObjectInterface.md similarity index 93% rename from samples/openapi3/client/petstore/python/docs/components/schema/ObjectInterface.md rename to samples/openapi3/client/petstore/python/docs/components/schema/object_interface.ObjectInterface.md index 84030d18534..17d03bfe01b 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/ObjectInterface.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/object_interface.ObjectInterface.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.object_interface.ObjectInterface ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/ObjectModelWithRefProps.md b/samples/openapi3/client/petstore/python/docs/components/schema/object_model_with_ref_props.ObjectModelWithRefProps.md similarity index 74% rename from samples/openapi3/client/petstore/python/docs/components/schema/ObjectModelWithRefProps.md rename to samples/openapi3/client/petstore/python/docs/components/schema/object_model_with_ref_props.ObjectModelWithRefProps.md index a6aed6086b4..31161e4d56d 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/ObjectModelWithRefProps.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/object_model_with_ref_props.ObjectModelWithRefProps.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.object_model_with_ref_props.ObjectModelWithRefProps a model that includes properties which should stay primitive (String + Boolean) and one which is defined as a class, NumberWithValidations @@ -10,9 +11,9 @@ dict, frozendict.frozendict, | frozendict.frozendict, | a model that includes ### Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**myNumber** | [**NumberWithValidations**](NumberWithValidations.md) | [**NumberWithValidations**](NumberWithValidations.md) | | [optional] -**myString** | [**String**](String.md) | [**String**](String.md) | | [optional] -**myBoolean** | [**Boolean**](Boolean.md) | [**Boolean**](Boolean.md) | | [optional] +**myNumber** | [**NumberWithValidations**](number_with_validations.NumberWithValidations.md) | [**NumberWithValidations**](number_with_validations.NumberWithValidations.md) | | [optional] +**myString** | [**String**](string.String.md) | [**String**](string.String.md) | | [optional] +**myBoolean** | [**Boolean**](boolean.Boolean.md) | [**Boolean**](boolean.Boolean.md) | | [optional] **any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/ObjectWithAllOfWithReqTestPropFromUnsetAddProp.md b/samples/openapi3/client/petstore/python/docs/components/schema/object_with_all_of_with_req_test_prop_from_unset_add_prop.ObjectWithAllOfWithReqTestPropFromUnsetAddProp.md similarity index 84% rename from samples/openapi3/client/petstore/python/docs/components/schema/ObjectWithAllOfWithReqTestPropFromUnsetAddProp.md rename to samples/openapi3/client/petstore/python/docs/components/schema/object_with_all_of_with_req_test_prop_from_unset_add_prop.ObjectWithAllOfWithReqTestPropFromUnsetAddProp.md index 0bc7bdc91a9..959da66ed9c 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/ObjectWithAllOfWithReqTestPropFromUnsetAddProp.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/object_with_all_of_with_req_test_prop_from_unset_add_prop.ObjectWithAllOfWithReqTestPropFromUnsetAddProp.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.object_with_all_of_with_req_test_prop_from_unset_add_prop.ObjectWithAllOfWithReqTestPropFromUnsetAddProp ## Model Type Info @@ -9,7 +10,7 @@ dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal #### allOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[ObjectWithOptionalTestProp](ObjectWithOptionalTestProp.md) | [**ObjectWithOptionalTestProp**](ObjectWithOptionalTestProp.md) | [**ObjectWithOptionalTestProp**](ObjectWithOptionalTestProp.md) | | +[**ObjectWithOptionalTestProp**](object_with_optional_test_prop.ObjectWithOptionalTestProp.md) | [**ObjectWithOptionalTestProp**](object_with_optional_test_prop.ObjectWithOptionalTestProp.md) | [**ObjectWithOptionalTestProp**](object_with_optional_test_prop.ObjectWithOptionalTestProp.md) | | [all_of_1](#all_of_1) | dict, frozendict.frozendict, | frozendict.frozendict, | | # all_of_1 diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/ObjectWithDecimalProperties.md b/samples/openapi3/client/petstore/python/docs/components/schema/object_with_decimal_properties.ObjectWithDecimalProperties.md similarity index 79% rename from samples/openapi3/client/petstore/python/docs/components/schema/ObjectWithDecimalProperties.md rename to samples/openapi3/client/petstore/python/docs/components/schema/object_with_decimal_properties.ObjectWithDecimalProperties.md index 5cea4c194df..33a21467965 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/ObjectWithDecimalProperties.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/object_with_decimal_properties.ObjectWithDecimalProperties.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.object_with_decimal_properties.ObjectWithDecimalProperties ## Model Type Info @@ -8,9 +9,9 @@ dict, frozendict.frozendict, | frozendict.frozendict, | | ### Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**length** | [**DecimalPayload**](DecimalPayload.md) | [**DecimalPayload**](DecimalPayload.md) | | [optional] +**length** | [**DecimalPayload**](decimal_payload.DecimalPayload.md) | [**DecimalPayload**](decimal_payload.DecimalPayload.md) | | [optional] **width** | str, | str, | | [optional] value must be numeric and storable in decimal.Decimal -**cost** | [**Money**](Money.md) | [**Money**](Money.md) | | [optional] +**cost** | [**Money**](money.Money.md) | [**Money**](money.Money.md) | | [optional] **any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/ObjectWithDifficultlyNamedProps.md b/samples/openapi3/client/petstore/python/docs/components/schema/object_with_difficultly_named_props.ObjectWithDifficultlyNamedProps.md similarity index 96% rename from samples/openapi3/client/petstore/python/docs/components/schema/ObjectWithDifficultlyNamedProps.md rename to samples/openapi3/client/petstore/python/docs/components/schema/object_with_difficultly_named_props.ObjectWithDifficultlyNamedProps.md index bde5660e4f5..dffa7e28d3e 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/ObjectWithDifficultlyNamedProps.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/object_with_difficultly_named_props.ObjectWithDifficultlyNamedProps.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.object_with_difficultly_named_props.ObjectWithDifficultlyNamedProps model with properties that have invalid names for python diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/ObjectWithInlineCompositionProperty.md b/samples/openapi3/client/petstore/python/docs/components/schema/object_with_inline_composition_property.ObjectWithInlineCompositionProperty.md similarity index 97% rename from samples/openapi3/client/petstore/python/docs/components/schema/ObjectWithInlineCompositionProperty.md rename to samples/openapi3/client/petstore/python/docs/components/schema/object_with_inline_composition_property.ObjectWithInlineCompositionProperty.md index 0ca05ed56b8..3178e57de97 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/ObjectWithInlineCompositionProperty.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/object_with_inline_composition_property.ObjectWithInlineCompositionProperty.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.object_with_inline_composition_property.ObjectWithInlineCompositionProperty ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/ObjectWithInvalidNamedRefedProperties.md b/samples/openapi3/client/petstore/python/docs/components/schema/object_with_invalid_named_refed_properties.ObjectWithInvalidNamedRefedProperties.md similarity index 74% rename from samples/openapi3/client/petstore/python/docs/components/schema/ObjectWithInvalidNamedRefedProperties.md rename to samples/openapi3/client/petstore/python/docs/components/schema/object_with_invalid_named_refed_properties.ObjectWithInvalidNamedRefedProperties.md index 68e796671de..d246859b3ca 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/ObjectWithInvalidNamedRefedProperties.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/object_with_invalid_named_refed_properties.ObjectWithInvalidNamedRefedProperties.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.object_with_invalid_named_refed_properties.ObjectWithInvalidNamedRefedProperties ## Model Type Info @@ -8,8 +9,8 @@ dict, frozendict.frozendict, | frozendict.frozendict, | | ### Dictionary Keys Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- -**!reference** | [**ArrayWithValidationsInItems**](ArrayWithValidationsInItems.md) | [**ArrayWithValidationsInItems**](ArrayWithValidationsInItems.md) | | -**from** | [**FromSchema**](FromSchema.md) | [**FromSchema**](FromSchema.md) | | +**!reference** | [**ArrayWithValidationsInItems**](array_with_validations_in_items.ArrayWithValidationsInItems.md) | [**ArrayWithValidationsInItems**](array_with_validations_in_items.ArrayWithValidationsInItems.md) | | +**from** | [**FromSchema**](from_schema.FromSchema.md) | [**FromSchema**](from_schema.FromSchema.md) | | **any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/ObjectWithOptionalTestProp.md b/samples/openapi3/client/petstore/python/docs/components/schema/object_with_optional_test_prop.ObjectWithOptionalTestProp.md similarity index 96% rename from samples/openapi3/client/petstore/python/docs/components/schema/ObjectWithOptionalTestProp.md rename to samples/openapi3/client/petstore/python/docs/components/schema/object_with_optional_test_prop.ObjectWithOptionalTestProp.md index 210633c0777..d47a95c9018 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/ObjectWithOptionalTestProp.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/object_with_optional_test_prop.ObjectWithOptionalTestProp.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.object_with_optional_test_prop.ObjectWithOptionalTestProp ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/ObjectWithValidations.md b/samples/openapi3/client/petstore/python/docs/components/schema/object_with_validations.ObjectWithValidations.md similarity index 92% rename from samples/openapi3/client/petstore/python/docs/components/schema/ObjectWithValidations.md rename to samples/openapi3/client/petstore/python/docs/components/schema/object_with_validations.ObjectWithValidations.md index 539be2ad1fc..216130fc76b 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/ObjectWithValidations.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/object_with_validations.ObjectWithValidations.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.object_with_validations.ObjectWithValidations ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/Order.md b/samples/openapi3/client/petstore/python/docs/components/schema/order.Order.md similarity index 98% rename from samples/openapi3/client/petstore/python/docs/components/schema/Order.md rename to samples/openapi3/client/petstore/python/docs/components/schema/order.Order.md index 12cbc162339..4c2370e95b2 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/Order.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/order.Order.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.order.Order ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/ParentPet.md b/samples/openapi3/client/petstore/python/docs/components/schema/parent_pet.ParentPet.md similarity index 73% rename from samples/openapi3/client/petstore/python/docs/components/schema/ParentPet.md rename to samples/openapi3/client/petstore/python/docs/components/schema/parent_pet.ParentPet.md index 473416ed6a7..c51e4a91426 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/ParentPet.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/parent_pet.ParentPet.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.parent_pet.ParentPet ## Model Type Info @@ -9,7 +10,7 @@ dict, frozendict.frozendict, | frozendict.frozendict, | | #### allOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[GrandparentAnimal](GrandparentAnimal.md) | [**GrandparentAnimal**](GrandparentAnimal.md) | [**GrandparentAnimal**](GrandparentAnimal.md) | | +[**GrandparentAnimal**](grandparent_animal.GrandparentAnimal.md) | [**GrandparentAnimal**](grandparent_animal.GrandparentAnimal.md) | [**GrandparentAnimal**](grandparent_animal.GrandparentAnimal.md) | | [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/Pet.md b/samples/openapi3/client/petstore/python/docs/components/schema/pet.Pet.md similarity index 91% rename from samples/openapi3/client/petstore/python/docs/components/schema/Pet.md rename to samples/openapi3/client/petstore/python/docs/components/schema/pet.Pet.md index e238c27eaab..1b1c829dd5f 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/Pet.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/pet.Pet.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.pet.Pet Pet object that needs to be added to the store @@ -13,7 +14,7 @@ Key | Input Type | Accessed Type | Description | Notes **[photoUrls](#photoUrls)** | list, tuple, | tuple, | | **name** | str, | str, | | **id** | decimal.Decimal, int, | decimal.Decimal, | | [optional] value must be a 64 bit integer -**category** | [**Category**](Category.md) | [**Category**](Category.md) | | [optional] +**category** | [**Category**](category.Category.md) | [**Category**](category.Category.md) | | [optional] **[tags](#tags)** | list, tuple, | tuple, | | [optional] **status** | str, | str, | pet status in the store | [optional] must be one of ["available", "pending", "sold", ] **any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] @@ -40,7 +41,7 @@ list, tuple, | tuple, | | ### Tuple Items Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[**Tag**](Tag.md) | [**Tag**](Tag.md) | [**Tag**](Tag.md) | | +[**Tag**](tag.Tag.md) | [**Tag**](tag.Tag.md) | [**Tag**](tag.Tag.md) | | [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/Pig.md b/samples/openapi3/client/petstore/python/docs/components/schema/pig.Pig.md similarity index 73% rename from samples/openapi3/client/petstore/python/docs/components/schema/Pig.md rename to samples/openapi3/client/petstore/python/docs/components/schema/pig.Pig.md index 8b78add082a..b48d269c0d5 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/Pig.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/pig.Pig.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.pig.Pig ## Model Type Info @@ -9,8 +10,8 @@ dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal #### oneOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[BasquePig](BasquePig.md) | [**BasquePig**](BasquePig.md) | [**BasquePig**](BasquePig.md) | | -[DanishPig](DanishPig.md) | [**DanishPig**](DanishPig.md) | [**DanishPig**](DanishPig.md) | | +[**BasquePig**](basque_pig.BasquePig.md) | [**BasquePig**](basque_pig.BasquePig.md) | [**BasquePig**](basque_pig.BasquePig.md) | | +[**DanishPig**](danish_pig.DanishPig.md) | [**DanishPig**](danish_pig.DanishPig.md) | [**DanishPig**](danish_pig.DanishPig.md) | | [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/Player.md b/samples/openapi3/client/petstore/python/docs/components/schema/player.Player.md similarity index 92% rename from samples/openapi3/client/petstore/python/docs/components/schema/Player.md rename to samples/openapi3/client/petstore/python/docs/components/schema/player.Player.md index d8cbd34f16d..d6c9bfee82c 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/Player.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/player.Player.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.player.Player 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 @@ -11,7 +12,7 @@ dict, frozendict.frozendict, | frozendict.frozendict, | a model that includes Key | Input Type | Accessed Type | Description | Notes ------------ | ------------- | ------------- | ------------- | ------------- **name** | str, | str, | | [optional] -**enemyPlayer** | [**Player**](Player.md) | [**Player**](Player.md) | | [optional] +**enemyPlayer** | [**Player**](#Player) | [**Player**](#Player) | | [optional] **any_string_name** | dict, frozendict.frozendict, str, date, datetime, int, float, bool, decimal.Decimal, None, list, tuple, bytes, io.FileIO, io.BufferedReader | frozendict.frozendict, str, BoolClass, decimal.Decimal, NoneClass, tuple, bytes, FileIO | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/Quadrilateral.md b/samples/openapi3/client/petstore/python/docs/components/schema/quadrilateral.Quadrilateral.md similarity index 62% rename from samples/openapi3/client/petstore/python/docs/components/schema/Quadrilateral.md rename to samples/openapi3/client/petstore/python/docs/components/schema/quadrilateral.Quadrilateral.md index ca3ceb351e1..e026392c4ca 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/Quadrilateral.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/quadrilateral.Quadrilateral.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.quadrilateral.Quadrilateral ## Model Type Info @@ -9,8 +10,8 @@ dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal #### oneOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[SimpleQuadrilateral](SimpleQuadrilateral.md) | [**SimpleQuadrilateral**](SimpleQuadrilateral.md) | [**SimpleQuadrilateral**](SimpleQuadrilateral.md) | | -[ComplexQuadrilateral](ComplexQuadrilateral.md) | [**ComplexQuadrilateral**](ComplexQuadrilateral.md) | [**ComplexQuadrilateral**](ComplexQuadrilateral.md) | | +[**SimpleQuadrilateral**](simple_quadrilateral.SimpleQuadrilateral.md) | [**SimpleQuadrilateral**](simple_quadrilateral.SimpleQuadrilateral.md) | [**SimpleQuadrilateral**](simple_quadrilateral.SimpleQuadrilateral.md) | | +[**ComplexQuadrilateral**](complex_quadrilateral.ComplexQuadrilateral.md) | [**ComplexQuadrilateral**](complex_quadrilateral.ComplexQuadrilateral.md) | [**ComplexQuadrilateral**](complex_quadrilateral.ComplexQuadrilateral.md) | | [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/QuadrilateralInterface.md b/samples/openapi3/client/petstore/python/docs/components/schema/quadrilateral_interface.QuadrilateralInterface.md similarity index 97% rename from samples/openapi3/client/petstore/python/docs/components/schema/QuadrilateralInterface.md rename to samples/openapi3/client/petstore/python/docs/components/schema/quadrilateral_interface.QuadrilateralInterface.md index fec8652404b..64180c23919 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/QuadrilateralInterface.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/quadrilateral_interface.QuadrilateralInterface.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.quadrilateral_interface.QuadrilateralInterface ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/ReadOnlyFirst.md b/samples/openapi3/client/petstore/python/docs/components/schema/read_only_first.ReadOnlyFirst.md similarity index 97% rename from samples/openapi3/client/petstore/python/docs/components/schema/ReadOnlyFirst.md rename to samples/openapi3/client/petstore/python/docs/components/schema/read_only_first.ReadOnlyFirst.md index 2a94f1a7674..b07954b4e58 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/ReadOnlyFirst.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/read_only_first.ReadOnlyFirst.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.read_only_first.ReadOnlyFirst ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/ScaleneTriangle.md b/samples/openapi3/client/petstore/python/docs/components/schema/scalene_triangle.ScaleneTriangle.md similarity index 87% rename from samples/openapi3/client/petstore/python/docs/components/schema/ScaleneTriangle.md rename to samples/openapi3/client/petstore/python/docs/components/schema/scalene_triangle.ScaleneTriangle.md index 23b904e8d99..46d4938849d 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/ScaleneTriangle.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/scalene_triangle.ScaleneTriangle.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.scalene_triangle.ScaleneTriangle ## Model Type Info @@ -9,7 +10,7 @@ dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal #### allOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[TriangleInterface](TriangleInterface.md) | [**TriangleInterface**](TriangleInterface.md) | [**TriangleInterface**](TriangleInterface.md) | | +[**TriangleInterface**](triangle_interface.TriangleInterface.md) | [**TriangleInterface**](triangle_interface.TriangleInterface.md) | [**TriangleInterface**](triangle_interface.TriangleInterface.md) | | [all_of_1](#all_of_1) | dict, frozendict.frozendict, | frozendict.frozendict, | | # all_of_1 diff --git a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/RefInItems.md b/samples/openapi3/client/petstore/python/docs/components/schema/self_referencing_array_model.SelfReferencingArrayModel.md similarity index 61% rename from samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/RefInItems.md rename to samples/openapi3/client/petstore/python/docs/components/schema/self_referencing_array_model.SelfReferencingArrayModel.md index 7d2cb3bb83e..be143e4ba94 100644 --- a/samples/openapi3/client/3_0_3_unit_test/python/docs/components/schema/RefInItems.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/self_referencing_array_model.SelfReferencingArrayModel.md @@ -1,4 +1,5 @@ -# unit_test_api.components.schema.ref_in_items.RefInItems + +# petstore_api.components.schema.self_referencing_array_model.SelfReferencingArrayModel ## Model Type Info Input Type | Accessed Type | Description | Notes @@ -8,7 +9,7 @@ list, tuple, | tuple, | | ### Tuple Items Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[**PropertyNamedRefThatIsNotAReference**](PropertyNamedRefThatIsNotAReference.md) | [**PropertyNamedRefThatIsNotAReference**](PropertyNamedRefThatIsNotAReference.md) | [**PropertyNamedRefThatIsNotAReference**](PropertyNamedRefThatIsNotAReference.md) | | +[**SelfReferencingArrayModel**](#SelfReferencingArrayModel) | [**SelfReferencingArrayModel**](#SelfReferencingArrayModel) | [**SelfReferencingArrayModel**](#SelfReferencingArrayModel) | | [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/self_referencing_object_model.SelfReferencingObjectModel.md b/samples/openapi3/client/petstore/python/docs/components/schema/self_referencing_object_model.SelfReferencingObjectModel.md new file mode 100644 index 00000000000..8d82a85e32f --- /dev/null +++ b/samples/openapi3/client/petstore/python/docs/components/schema/self_referencing_object_model.SelfReferencingObjectModel.md @@ -0,0 +1,16 @@ + +# petstore_api.components.schema.self_referencing_object_model.SelfReferencingObjectModel + +## Model Type Info +Input Type | Accessed Type | Description | Notes +------------ | ------------- | ------------- | ------------- +dict, frozendict.frozendict, | frozendict.frozendict, | | + +### Dictionary Keys +Key | Input Type | Accessed Type | Description | Notes +------------ | ------------- | ------------- | ------------- | ------------- +**selfRef** | [**SelfReferencingObjectModel**](#SelfReferencingObjectModel) | [**SelfReferencingObjectModel**](#SelfReferencingObjectModel) | | [optional] +**any_string_name** | [**SelfReferencingObjectModel**](#SelfReferencingObjectModel) | [**SelfReferencingObjectModel**](#SelfReferencingObjectModel) | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../../../README.md#documentation-for-models) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../README.md) + diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/Shape.md b/samples/openapi3/client/petstore/python/docs/components/schema/shape.Shape.md similarity index 72% rename from samples/openapi3/client/petstore/python/docs/components/schema/Shape.md rename to samples/openapi3/client/petstore/python/docs/components/schema/shape.Shape.md index 5f8d5d853e5..72837b266ba 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/Shape.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/shape.Shape.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.shape.Shape ## Model Type Info @@ -9,8 +10,8 @@ dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal #### oneOf 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) | | +[**Triangle**](triangle.Triangle.md) | [**Triangle**](triangle.Triangle.md) | [**Triangle**](triangle.Triangle.md) | | +[**Quadrilateral**](quadrilateral.Quadrilateral.md) | [**Quadrilateral**](quadrilateral.Quadrilateral.md) | [**Quadrilateral**](quadrilateral.Quadrilateral.md) | | [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/ShapeOrNull.md b/samples/openapi3/client/petstore/python/docs/components/schema/shape_or_null.ShapeOrNull.md similarity index 79% rename from samples/openapi3/client/petstore/python/docs/components/schema/ShapeOrNull.md rename to samples/openapi3/client/petstore/python/docs/components/schema/shape_or_null.ShapeOrNull.md index 27c1652cda5..1ea4c82de28 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/ShapeOrNull.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/shape_or_null.ShapeOrNull.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.shape_or_null.ShapeOrNull The value may be a shape or the 'null' value. This is introduced in OAS schema >= 3.1. @@ -12,8 +13,8 @@ dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- [one_of_0](#one_of_0) | None, | NoneClass, | | -[Triangle](Triangle.md) | [**Triangle**](Triangle.md) | [**Triangle**](Triangle.md) | | -[Quadrilateral](Quadrilateral.md) | [**Quadrilateral**](Quadrilateral.md) | [**Quadrilateral**](Quadrilateral.md) | | +[**Triangle**](triangle.Triangle.md) | [**Triangle**](triangle.Triangle.md) | [**Triangle**](triangle.Triangle.md) | | +[**Quadrilateral**](quadrilateral.Quadrilateral.md) | [**Quadrilateral**](quadrilateral.Quadrilateral.md) | [**Quadrilateral**](quadrilateral.Quadrilateral.md) | | # one_of_0 diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/SimpleQuadrilateral.md b/samples/openapi3/client/petstore/python/docs/components/schema/simple_quadrilateral.SimpleQuadrilateral.md similarity index 85% rename from samples/openapi3/client/petstore/python/docs/components/schema/SimpleQuadrilateral.md rename to samples/openapi3/client/petstore/python/docs/components/schema/simple_quadrilateral.SimpleQuadrilateral.md index 2cc1f17ba45..d07b7660fb7 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/SimpleQuadrilateral.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/simple_quadrilateral.SimpleQuadrilateral.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.simple_quadrilateral.SimpleQuadrilateral ## Model Type Info @@ -9,7 +10,7 @@ dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal #### allOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[QuadrilateralInterface](QuadrilateralInterface.md) | [**QuadrilateralInterface**](QuadrilateralInterface.md) | [**QuadrilateralInterface**](QuadrilateralInterface.md) | | +[**QuadrilateralInterface**](quadrilateral_interface.QuadrilateralInterface.md) | [**QuadrilateralInterface**](quadrilateral_interface.QuadrilateralInterface.md) | [**QuadrilateralInterface**](quadrilateral_interface.QuadrilateralInterface.md) | | [all_of_1](#all_of_1) | dict, frozendict.frozendict, | frozendict.frozendict, | | # all_of_1 diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/SomeObject.md b/samples/openapi3/client/petstore/python/docs/components/schema/some_object.SomeObject.md similarity index 79% rename from samples/openapi3/client/petstore/python/docs/components/schema/SomeObject.md rename to samples/openapi3/client/petstore/python/docs/components/schema/some_object.SomeObject.md index ddfdff88f58..2861bc0c29e 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/SomeObject.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/some_object.SomeObject.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.some_object.SomeObject ## Model Type Info @@ -9,7 +10,7 @@ dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal #### allOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[ObjectInterface](ObjectInterface.md) | [**ObjectInterface**](ObjectInterface.md) | [**ObjectInterface**](ObjectInterface.md) | | +[**ObjectInterface**](object_interface.ObjectInterface.md) | [**ObjectInterface**](object_interface.ObjectInterface.md) | [**ObjectInterface**](object_interface.ObjectInterface.md) | | [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/SpecialModelName.md b/samples/openapi3/client/petstore/python/docs/components/schema/special_model_name.SpecialModelName.md similarity index 97% rename from samples/openapi3/client/petstore/python/docs/components/schema/SpecialModelName.md rename to samples/openapi3/client/petstore/python/docs/components/schema/special_model_name.SpecialModelName.md index 8b2463f8a88..70bd86cb94e 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/SpecialModelName.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/special_model_name.SpecialModelName.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.special_model_name.SpecialModelName model with an invalid class name for python diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/String.md b/samples/openapi3/client/petstore/python/docs/components/schema/string.String.md similarity index 94% rename from samples/openapi3/client/petstore/python/docs/components/schema/String.md rename to samples/openapi3/client/petstore/python/docs/components/schema/string.String.md index a5d522d07b8..c21f4ceed06 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/String.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/string.String.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.string.String ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/StringBooleanMap.md b/samples/openapi3/client/petstore/python/docs/components/schema/string_boolean_map.StringBooleanMap.md similarity index 96% rename from samples/openapi3/client/petstore/python/docs/components/schema/StringBooleanMap.md rename to samples/openapi3/client/petstore/python/docs/components/schema/string_boolean_map.StringBooleanMap.md index e2062d7f64e..e6a7e2a1efd 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/StringBooleanMap.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/string_boolean_map.StringBooleanMap.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.string_boolean_map.StringBooleanMap ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/StringEnum.md b/samples/openapi3/client/petstore/python/docs/components/schema/string_enum.StringEnum.md similarity index 95% rename from samples/openapi3/client/petstore/python/docs/components/schema/StringEnum.md rename to samples/openapi3/client/petstore/python/docs/components/schema/string_enum.StringEnum.md index 546b38cca2b..b868db4b637 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/StringEnum.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/string_enum.StringEnum.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.string_enum.StringEnum ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/StringEnumWithDefaultValue.md b/samples/openapi3/client/petstore/python/docs/components/schema/string_enum_with_default_value.StringEnumWithDefaultValue.md similarity index 93% rename from samples/openapi3/client/petstore/python/docs/components/schema/StringEnumWithDefaultValue.md rename to samples/openapi3/client/petstore/python/docs/components/schema/string_enum_with_default_value.StringEnumWithDefaultValue.md index 1559c46968a..51dc3db85e2 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/StringEnumWithDefaultValue.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/string_enum_with_default_value.StringEnumWithDefaultValue.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.string_enum_with_default_value.StringEnumWithDefaultValue ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/StringWithValidation.md b/samples/openapi3/client/petstore/python/docs/components/schema/string_with_validation.StringWithValidation.md similarity index 92% rename from samples/openapi3/client/petstore/python/docs/components/schema/StringWithValidation.md rename to samples/openapi3/client/petstore/python/docs/components/schema/string_with_validation.StringWithValidation.md index 1d5c712df16..bc73c1c9a4e 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/StringWithValidation.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/string_with_validation.StringWithValidation.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.string_with_validation.StringWithValidation ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/Tag.md b/samples/openapi3/client/petstore/python/docs/components/schema/tag.Tag.md similarity index 98% rename from samples/openapi3/client/petstore/python/docs/components/schema/Tag.md rename to samples/openapi3/client/petstore/python/docs/components/schema/tag.Tag.md index 1e7534a61c2..8942af9ac2c 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/Tag.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/tag.Tag.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.tag.Tag ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/Triangle.md b/samples/openapi3/client/petstore/python/docs/components/schema/triangle.Triangle.md similarity index 55% rename from samples/openapi3/client/petstore/python/docs/components/schema/Triangle.md rename to samples/openapi3/client/petstore/python/docs/components/schema/triangle.Triangle.md index 0a278109d09..1ff6bc48413 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/Triangle.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/triangle.Triangle.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.triangle.Triangle ## Model Type Info @@ -9,9 +10,9 @@ dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal #### oneOf Class Name | Input Type | Accessed Type | Description | Notes ------------- | ------------- | ------------- | ------------- | ------------- -[EquilateralTriangle](EquilateralTriangle.md) | [**EquilateralTriangle**](EquilateralTriangle.md) | [**EquilateralTriangle**](EquilateralTriangle.md) | | -[IsoscelesTriangle](IsoscelesTriangle.md) | [**IsoscelesTriangle**](IsoscelesTriangle.md) | [**IsoscelesTriangle**](IsoscelesTriangle.md) | | -[ScaleneTriangle](ScaleneTriangle.md) | [**ScaleneTriangle**](ScaleneTriangle.md) | [**ScaleneTriangle**](ScaleneTriangle.md) | | +[**EquilateralTriangle**](equilateral_triangle.EquilateralTriangle.md) | [**EquilateralTriangle**](equilateral_triangle.EquilateralTriangle.md) | [**EquilateralTriangle**](equilateral_triangle.EquilateralTriangle.md) | | +[**IsoscelesTriangle**](isosceles_triangle.IsoscelesTriangle.md) | [**IsoscelesTriangle**](isosceles_triangle.IsoscelesTriangle.md) | [**IsoscelesTriangle**](isosceles_triangle.IsoscelesTriangle.md) | | +[**ScaleneTriangle**](scalene_triangle.ScaleneTriangle.md) | [**ScaleneTriangle**](scalene_triangle.ScaleneTriangle.md) | [**ScaleneTriangle**](scalene_triangle.ScaleneTriangle.md) | | [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to README]](../../../README.md) diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/TriangleInterface.md b/samples/openapi3/client/petstore/python/docs/components/schema/triangle_interface.TriangleInterface.md similarity index 97% rename from samples/openapi3/client/petstore/python/docs/components/schema/TriangleInterface.md rename to samples/openapi3/client/petstore/python/docs/components/schema/triangle_interface.TriangleInterface.md index 762f8a7ab5d..c21f9de71bb 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/TriangleInterface.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/triangle_interface.TriangleInterface.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.triangle_interface.TriangleInterface ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/User.md b/samples/openapi3/client/petstore/python/docs/components/schema/user.User.md similarity index 99% rename from samples/openapi3/client/petstore/python/docs/components/schema/User.md rename to samples/openapi3/client/petstore/python/docs/components/schema/user.User.md index 45a006b4fcc..dda7c74e4d7 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/User.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/user.User.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.user.User ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/UUIDString.md b/samples/openapi3/client/petstore/python/docs/components/schema/uuid_string.UUIDString.md similarity index 94% rename from samples/openapi3/client/petstore/python/docs/components/schema/UUIDString.md rename to samples/openapi3/client/petstore/python/docs/components/schema/uuid_string.UUIDString.md index f4187aeda3d..be887f7226d 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/UUIDString.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/uuid_string.UUIDString.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.uuid_string.UUIDString ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/Whale.md b/samples/openapi3/client/petstore/python/docs/components/schema/whale.Whale.md similarity index 98% rename from samples/openapi3/client/petstore/python/docs/components/schema/Whale.md rename to samples/openapi3/client/petstore/python/docs/components/schema/whale.Whale.md index 76c6f21d84d..fa3d01a4e75 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/Whale.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/whale.Whale.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.whale.Whale ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/docs/components/schema/Zebra.md b/samples/openapi3/client/petstore/python/docs/components/schema/zebra.Zebra.md similarity index 98% rename from samples/openapi3/client/petstore/python/docs/components/schema/Zebra.md rename to samples/openapi3/client/petstore/python/docs/components/schema/zebra.Zebra.md index 6eb11652560..87fac9db235 100644 --- a/samples/openapi3/client/petstore/python/docs/components/schema/Zebra.md +++ b/samples/openapi3/client/petstore/python/docs/components/schema/zebra.Zebra.md @@ -1,3 +1,4 @@ + # petstore_api.components.schema.zebra.Zebra ## Model Type Info diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/abstract_step_message.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/abstract_step_message.py index 2a7a8ac2b7e..f63712627e5 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/abstract_step_message.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/abstract_step_message.py @@ -115,5 +115,3 @@ def __new__( _configuration=_configuration, **kwargs, ) - -from petstore_api.components.schema.abstract_step_message import AbstractStepMessage diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/abstract_step_message.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/abstract_step_message.pyi index 2a7a8ac2b7e..f63712627e5 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/abstract_step_message.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/abstract_step_message.pyi @@ -115,5 +115,3 @@ class AbstractStepMessage( _configuration=_configuration, **kwargs, ) - -from petstore_api.components.schema.abstract_step_message import AbstractStepMessage diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_with_array_of_enums.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_with_array_of_enums.py index 2c722d8d748..dc7b52f3c6f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_with_array_of_enums.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_with_array_of_enums.py @@ -44,12 +44,12 @@ class additional_properties( class MetaOapg: @staticmethod - def items() -> typing.Type['EnumClass']: - return EnumClass + def items() -> typing.Type['enum_class.EnumClass']: + return enum_class.EnumClass def __new__( cls, - arg: typing.Union[typing.Tuple['EnumClass'], typing.List['EnumClass']], + arg: typing.Union[typing.Tuple['enum_class.EnumClass'], typing.List['enum_class.EnumClass']], _configuration: typing.Optional[schemas.Configuration] = None, ) -> 'additional_properties': return super().__new__( @@ -58,7 +58,7 @@ def __new__( _configuration=_configuration, ) - def __getitem__(self, i: int) -> 'EnumClass': + def __getitem__(self, i: int) -> 'enum_class.EnumClass': return super().__getitem__(i) def __getitem__(self, name: typing.Union[str, ]) -> MetaOapg.additional_properties: @@ -81,4 +81,4 @@ def __new__( **kwargs, ) -from petstore_api.components.schema.enum_class import EnumClass +from petstore_api.components.schema import enum_class diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_with_array_of_enums.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_with_array_of_enums.pyi index 2c722d8d748..dc7b52f3c6f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_with_array_of_enums.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/additional_properties_with_array_of_enums.pyi @@ -44,12 +44,12 @@ class AdditionalPropertiesWithArrayOfEnums( class MetaOapg: @staticmethod - def items() -> typing.Type['EnumClass']: - return EnumClass + def items() -> typing.Type['enum_class.EnumClass']: + return enum_class.EnumClass def __new__( cls, - arg: typing.Union[typing.Tuple['EnumClass'], typing.List['EnumClass']], + arg: typing.Union[typing.Tuple['enum_class.EnumClass'], typing.List['enum_class.EnumClass']], _configuration: typing.Optional[schemas.Configuration] = None, ) -> 'additional_properties': return super().__new__( @@ -58,7 +58,7 @@ class AdditionalPropertiesWithArrayOfEnums( _configuration=_configuration, ) - def __getitem__(self, i: int) -> 'EnumClass': + def __getitem__(self, i: int) -> 'enum_class.EnumClass': return super().__getitem__(i) def __getitem__(self, name: typing.Union[str, ]) -> MetaOapg.additional_properties: @@ -81,4 +81,4 @@ class AdditionalPropertiesWithArrayOfEnums( **kwargs, ) -from petstore_api.components.schema.enum_class import EnumClass +from petstore_api.components.schema import enum_class diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal.py index c780b7812ec..04d06596c1d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal.py @@ -42,8 +42,8 @@ class MetaOapg: def discriminator(): return { 'className': { - 'Cat': Cat, - 'Dog': Dog, + 'Cat': cat.Cat, + 'Dog': dog.Dog, } } @@ -101,5 +101,5 @@ def __new__( **kwargs, ) -from petstore_api.components.schema.cat import Cat -from petstore_api.components.schema.dog import Dog +from petstore_api.components.schema import cat +from petstore_api.components.schema import dog diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal.pyi index c780b7812ec..04d06596c1d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal.pyi @@ -42,8 +42,8 @@ class Animal( def discriminator(): return { 'className': { - 'Cat': Cat, - 'Dog': Dog, + 'Cat': cat.Cat, + 'Dog': dog.Dog, } } @@ -101,5 +101,5 @@ class Animal( **kwargs, ) -from petstore_api.components.schema.cat import Cat -from petstore_api.components.schema.dog import Dog +from petstore_api.components.schema import cat +from petstore_api.components.schema import dog diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal_farm.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal_farm.py index 6d84fab802f..c4c912e6acf 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal_farm.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal_farm.py @@ -36,12 +36,12 @@ class AnimalFarm( class MetaOapg: @staticmethod - def items() -> typing.Type['Animal']: - return Animal + def items() -> typing.Type['animal.Animal']: + return animal.Animal def __new__( cls, - arg: typing.Union[typing.Tuple['Animal'], typing.List['Animal']], + arg: typing.Union[typing.Tuple['animal.Animal'], typing.List['animal.Animal']], _configuration: typing.Optional[schemas.Configuration] = None, ) -> 'AnimalFarm': return super().__new__( @@ -50,7 +50,7 @@ def __new__( _configuration=_configuration, ) - def __getitem__(self, i: int) -> 'Animal': + def __getitem__(self, i: int) -> 'animal.Animal': return super().__getitem__(i) -from petstore_api.components.schema.animal import Animal +from petstore_api.components.schema import animal diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal_farm.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal_farm.pyi index 6d84fab802f..c4c912e6acf 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal_farm.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/animal_farm.pyi @@ -36,12 +36,12 @@ class AnimalFarm( class MetaOapg: @staticmethod - def items() -> typing.Type['Animal']: - return Animal + def items() -> typing.Type['animal.Animal']: + return animal.Animal def __new__( cls, - arg: typing.Union[typing.Tuple['Animal'], typing.List['Animal']], + arg: typing.Union[typing.Tuple['animal.Animal'], typing.List['animal.Animal']], _configuration: typing.Optional[schemas.Configuration] = None, ) -> 'AnimalFarm': return super().__new__( @@ -50,7 +50,7 @@ class AnimalFarm( _configuration=_configuration, ) - def __getitem__(self, i: int) -> 'Animal': + def __getitem__(self, i: int) -> 'animal.Animal': return super().__getitem__(i) -from petstore_api.components.schema.animal import Animal +from petstore_api.components.schema import animal diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_enums.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_enums.py index ea971e7c03a..0cee5805076 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_enums.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_enums.py @@ -36,12 +36,12 @@ class ArrayOfEnums( class MetaOapg: @staticmethod - def items() -> typing.Type['StringEnum']: - return StringEnum + def items() -> typing.Type['string_enum.StringEnum']: + return string_enum.StringEnum def __new__( cls, - arg: typing.Union[typing.Tuple['StringEnum'], typing.List['StringEnum']], + arg: typing.Union[typing.Tuple['string_enum.StringEnum'], typing.List['string_enum.StringEnum']], _configuration: typing.Optional[schemas.Configuration] = None, ) -> 'ArrayOfEnums': return super().__new__( @@ -50,7 +50,7 @@ def __new__( _configuration=_configuration, ) - def __getitem__(self, i: int) -> 'StringEnum': + def __getitem__(self, i: int) -> 'string_enum.StringEnum': return super().__getitem__(i) -from petstore_api.components.schema.string_enum import StringEnum +from petstore_api.components.schema import string_enum diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_enums.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_enums.pyi index ea971e7c03a..0cee5805076 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_enums.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_of_enums.pyi @@ -36,12 +36,12 @@ class ArrayOfEnums( class MetaOapg: @staticmethod - def items() -> typing.Type['StringEnum']: - return StringEnum + def items() -> typing.Type['string_enum.StringEnum']: + return string_enum.StringEnum def __new__( cls, - arg: typing.Union[typing.Tuple['StringEnum'], typing.List['StringEnum']], + arg: typing.Union[typing.Tuple['string_enum.StringEnum'], typing.List['string_enum.StringEnum']], _configuration: typing.Optional[schemas.Configuration] = None, ) -> 'ArrayOfEnums': return super().__new__( @@ -50,7 +50,7 @@ class ArrayOfEnums( _configuration=_configuration, ) - def __getitem__(self, i: int) -> 'StringEnum': + def __getitem__(self, i: int) -> 'string_enum.StringEnum': return super().__getitem__(i) -from petstore_api.components.schema.string_enum import StringEnum +from petstore_api.components.schema import string_enum diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_test.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_test.py index 7a3d10d4fb4..2c143b70948 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_test.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_test.py @@ -122,12 +122,12 @@ class items( class MetaOapg: @staticmethod - def items() -> typing.Type['ReadOnlyFirst']: - return ReadOnlyFirst + def items() -> typing.Type['read_only_first.ReadOnlyFirst']: + return read_only_first.ReadOnlyFirst def __new__( cls, - arg: typing.Union[typing.Tuple['ReadOnlyFirst'], typing.List['ReadOnlyFirst']], + arg: typing.Union[typing.Tuple['read_only_first.ReadOnlyFirst'], typing.List['read_only_first.ReadOnlyFirst']], _configuration: typing.Optional[schemas.Configuration] = None, ) -> 'items': return super().__new__( @@ -136,7 +136,7 @@ def __new__( _configuration=_configuration, ) - def __getitem__(self, i: int) -> 'ReadOnlyFirst': + def __getitem__(self, i: int) -> 'read_only_first.ReadOnlyFirst': return super().__getitem__(i) def __new__( @@ -210,4 +210,4 @@ def __new__( **kwargs, ) -from petstore_api.components.schema.read_only_first import ReadOnlyFirst +from petstore_api.components.schema import read_only_first diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_test.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_test.pyi index 7a3d10d4fb4..2c143b70948 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_test.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/array_test.pyi @@ -122,12 +122,12 @@ class ArrayTest( class MetaOapg: @staticmethod - def items() -> typing.Type['ReadOnlyFirst']: - return ReadOnlyFirst + def items() -> typing.Type['read_only_first.ReadOnlyFirst']: + return read_only_first.ReadOnlyFirst def __new__( cls, - arg: typing.Union[typing.Tuple['ReadOnlyFirst'], typing.List['ReadOnlyFirst']], + arg: typing.Union[typing.Tuple['read_only_first.ReadOnlyFirst'], typing.List['read_only_first.ReadOnlyFirst']], _configuration: typing.Optional[schemas.Configuration] = None, ) -> 'items': return super().__new__( @@ -136,7 +136,7 @@ class ArrayTest( _configuration=_configuration, ) - def __getitem__(self, i: int) -> 'ReadOnlyFirst': + def __getitem__(self, i: int) -> 'read_only_first.ReadOnlyFirst': return super().__getitem__(i) def __new__( @@ -210,4 +210,4 @@ class ArrayTest( **kwargs, ) -from petstore_api.components.schema.read_only_first import ReadOnlyFirst +from petstore_api.components.schema import read_only_first diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/cat.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/cat.py index 9a29025d13c..cdd00048a5c 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/cat.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/cat.py @@ -96,7 +96,7 @@ def all_of(cls): # classes don't exist yet because their module has not finished # loading return [ - Animal, + animal.Animal, cls.all_of_1, ] @@ -114,4 +114,4 @@ def __new__( **kwargs, ) -from petstore_api.components.schema.animal import Animal +from petstore_api.components.schema import animal diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/cat.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/cat.pyi index 9a29025d13c..cdd00048a5c 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/cat.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/cat.pyi @@ -96,7 +96,7 @@ class Cat( # classes don't exist yet because their module has not finished # loading return [ - Animal, + animal.Animal, cls.all_of_1, ] @@ -114,4 +114,4 @@ class Cat( **kwargs, ) -from petstore_api.components.schema.animal import Animal +from petstore_api.components.schema import animal diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/child_cat.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/child_cat.py index 979f25b9e46..358b80ebd2e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/child_cat.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/child_cat.py @@ -96,7 +96,7 @@ def all_of(cls): # classes don't exist yet because their module has not finished # loading return [ - ParentPet, + parent_pet.ParentPet, cls.all_of_1, ] @@ -114,4 +114,4 @@ def __new__( **kwargs, ) -from petstore_api.components.schema.parent_pet import ParentPet +from petstore_api.components.schema import parent_pet diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/child_cat.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/child_cat.pyi index 979f25b9e46..358b80ebd2e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/child_cat.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/child_cat.pyi @@ -96,7 +96,7 @@ class ChildCat( # classes don't exist yet because their module has not finished # loading return [ - ParentPet, + parent_pet.ParentPet, cls.all_of_1, ] @@ -114,4 +114,4 @@ class ChildCat( **kwargs, ) -from petstore_api.components.schema.parent_pet import ParentPet +from petstore_api.components.schema import parent_pet diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/complex_quadrilateral.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/complex_quadrilateral.py index 6a78019083a..58c3c0f1d5a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/complex_quadrilateral.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/complex_quadrilateral.py @@ -111,7 +111,7 @@ def all_of(cls): # classes don't exist yet because their module has not finished # loading return [ - QuadrilateralInterface, + quadrilateral_interface.QuadrilateralInterface, cls.all_of_1, ] @@ -129,4 +129,4 @@ def __new__( **kwargs, ) -from petstore_api.components.schema.quadrilateral_interface import QuadrilateralInterface +from petstore_api.components.schema import quadrilateral_interface diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/complex_quadrilateral.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/complex_quadrilateral.pyi index 4b15e83b8a9..03d415aa76b 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/complex_quadrilateral.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/complex_quadrilateral.pyi @@ -105,7 +105,7 @@ class ComplexQuadrilateral( # classes don't exist yet because their module has not finished # loading return [ - QuadrilateralInterface, + quadrilateral_interface.QuadrilateralInterface, cls.all_of_1, ] @@ -123,4 +123,4 @@ class ComplexQuadrilateral( **kwargs, ) -from petstore_api.components.schema.quadrilateral_interface import QuadrilateralInterface +from petstore_api.components.schema import quadrilateral_interface diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_one_of_different_types.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_one_of_different_types.py index 3c6d6fdb1bb..69b050dc193 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_one_of_different_types.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_one_of_different_types.py @@ -110,8 +110,8 @@ def one_of(cls): # classes don't exist yet because their module has not finished # loading return [ - NumberWithValidations, - Animal, + number_with_validations.NumberWithValidations, + animal.Animal, cls.one_of_2, cls.one_of_3, cls.one_of_4, @@ -133,5 +133,5 @@ def __new__( **kwargs, ) -from petstore_api.components.schema.animal import Animal -from petstore_api.components.schema.number_with_validations import NumberWithValidations +from petstore_api.components.schema import animal +from petstore_api.components.schema import number_with_validations diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_one_of_different_types.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_one_of_different_types.pyi index 5f4007ea502..1e214701a6c 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_one_of_different_types.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/composed_one_of_different_types.pyi @@ -97,8 +97,8 @@ class ComposedOneOfDifferentTypes( # classes don't exist yet because their module has not finished # loading return [ - NumberWithValidations, - Animal, + number_with_validations.NumberWithValidations, + animal.Animal, cls.one_of_2, cls.one_of_3, cls.one_of_4, @@ -120,5 +120,5 @@ class ComposedOneOfDifferentTypes( **kwargs, ) -from petstore_api.components.schema.animal import Animal -from petstore_api.components.schema.number_with_validations import NumberWithValidations +from petstore_api.components.schema import animal +from petstore_api.components.schema import number_with_validations diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/dog.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/dog.py index c26bb8b2d2a..50843c7dbd0 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/dog.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/dog.py @@ -96,7 +96,7 @@ def all_of(cls): # classes don't exist yet because their module has not finished # loading return [ - Animal, + animal.Animal, cls.all_of_1, ] @@ -114,4 +114,4 @@ def __new__( **kwargs, ) -from petstore_api.components.schema.animal import Animal +from petstore_api.components.schema import animal diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/dog.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/dog.pyi index c26bb8b2d2a..50843c7dbd0 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/dog.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/dog.pyi @@ -96,7 +96,7 @@ class Dog( # classes don't exist yet because their module has not finished # loading return [ - Animal, + animal.Animal, cls.all_of_1, ] @@ -114,4 +114,4 @@ class Dog( **kwargs, ) -from petstore_api.components.schema.animal import Animal +from petstore_api.components.schema import animal diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/drawing.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/drawing.py index 896cacf7124..f822e6ea41d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/drawing.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/drawing.py @@ -38,16 +38,16 @@ class MetaOapg: class properties: @staticmethod - def mainShape() -> typing.Type['Shape']: - return Shape + def mainShape() -> typing.Type['shape.Shape']: + return shape.Shape @staticmethod - def shapeOrNull() -> typing.Type['ShapeOrNull']: - return ShapeOrNull + def shapeOrNull() -> typing.Type['shape_or_null.ShapeOrNull']: + return shape_or_null.ShapeOrNull @staticmethod - def nullableShape() -> typing.Type['NullableShape']: - return NullableShape + def nullableShape() -> typing.Type['nullable_shape.NullableShape']: + return nullable_shape.NullableShape class shapes( @@ -58,12 +58,12 @@ class shapes( class MetaOapg: @staticmethod - def items() -> typing.Type['Shape']: - return Shape + def items() -> typing.Type['shape.Shape']: + return shape.Shape def __new__( cls, - arg: typing.Union[typing.Tuple['Shape'], typing.List['Shape']], + arg: typing.Union[typing.Tuple['shape.Shape'], typing.List['shape.Shape']], _configuration: typing.Optional[schemas.Configuration] = None, ) -> 'shapes': return super().__new__( @@ -72,7 +72,7 @@ def __new__( _configuration=_configuration, ) - def __getitem__(self, i: int) -> 'Shape': + def __getitem__(self, i: int) -> 'shape.Shape': return super().__getitem__(i) __annotations__ = { "mainShape": mainShape, @@ -82,42 +82,42 @@ def __getitem__(self, i: int) -> 'Shape': } @staticmethod - def additional_properties() -> typing.Type['Fruit']: - return Fruit + def additional_properties() -> typing.Type['fruit.Fruit']: + return fruit.Fruit @typing.overload - def __getitem__(self, name: typing_extensions.Literal["mainShape"]) -> 'Shape': ... + def __getitem__(self, name: typing_extensions.Literal["mainShape"]) -> 'shape.Shape': ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["shapeOrNull"]) -> 'ShapeOrNull': ... + def __getitem__(self, name: typing_extensions.Literal["shapeOrNull"]) -> 'shape_or_null.ShapeOrNull': ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["nullableShape"]) -> 'NullableShape': ... + def __getitem__(self, name: typing_extensions.Literal["nullableShape"]) -> 'nullable_shape.NullableShape': ... @typing.overload def __getitem__(self, name: typing_extensions.Literal["shapes"]) -> MetaOapg.properties.shapes: ... @typing.overload - def __getitem__(self, name: str) -> 'Fruit': ... + def __getitem__(self, name: str) -> 'fruit.Fruit': ... def __getitem__(self, name: typing.Union[typing_extensions.Literal["mainShape"], typing_extensions.Literal["shapeOrNull"], typing_extensions.Literal["nullableShape"], typing_extensions.Literal["shapes"], str, ]): # dict_instance[name] accessor return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["mainShape"]) -> typing.Union['Shape', schemas.Unset]: ... + def get_item_oapg(self, name: typing_extensions.Literal["mainShape"]) -> typing.Union['shape.Shape', schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["shapeOrNull"]) -> typing.Union['ShapeOrNull', schemas.Unset]: ... + def get_item_oapg(self, name: typing_extensions.Literal["shapeOrNull"]) -> typing.Union['shape_or_null.ShapeOrNull', schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["nullableShape"]) -> typing.Union['NullableShape', schemas.Unset]: ... + def get_item_oapg(self, name: typing_extensions.Literal["nullableShape"]) -> typing.Union['nullable_shape.NullableShape', schemas.Unset]: ... @typing.overload def get_item_oapg(self, name: typing_extensions.Literal["shapes"]) -> typing.Union[MetaOapg.properties.shapes, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union['Fruit', schemas.Unset]: ... + def get_item_oapg(self, name: str) -> typing.Union['fruit.Fruit', schemas.Unset]: ... def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["mainShape"], typing_extensions.Literal["shapeOrNull"], typing_extensions.Literal["nullableShape"], typing_extensions.Literal["shapes"], str, ]): return super().get_item_oapg(name) @@ -125,12 +125,12 @@ def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["mainShape" def __new__( cls, *args: typing.Union[dict, frozendict.frozendict, ], - mainShape: typing.Union['Shape', schemas.Unset] = schemas.unset, - shapeOrNull: typing.Union['ShapeOrNull', schemas.Unset] = schemas.unset, - nullableShape: typing.Union['NullableShape', schemas.Unset] = schemas.unset, + 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, shapes: typing.Union[MetaOapg.properties.shapes, list, tuple, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: 'Fruit', + **kwargs: 'fruit.Fruit', ) -> 'Drawing': return super().__new__( cls, @@ -143,7 +143,7 @@ def __new__( **kwargs, ) -from petstore_api.components.schema.fruit import Fruit -from petstore_api.components.schema.nullable_shape import NullableShape -from petstore_api.components.schema.shape import Shape -from petstore_api.components.schema.shape_or_null import ShapeOrNull +from petstore_api.components.schema import fruit +from petstore_api.components.schema import nullable_shape +from petstore_api.components.schema import shape +from petstore_api.components.schema import shape_or_null diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/drawing.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/drawing.pyi index 896cacf7124..f822e6ea41d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/drawing.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/drawing.pyi @@ -38,16 +38,16 @@ class Drawing( class properties: @staticmethod - def mainShape() -> typing.Type['Shape']: - return Shape + def mainShape() -> typing.Type['shape.Shape']: + return shape.Shape @staticmethod - def shapeOrNull() -> typing.Type['ShapeOrNull']: - return ShapeOrNull + def shapeOrNull() -> typing.Type['shape_or_null.ShapeOrNull']: + return shape_or_null.ShapeOrNull @staticmethod - def nullableShape() -> typing.Type['NullableShape']: - return NullableShape + def nullableShape() -> typing.Type['nullable_shape.NullableShape']: + return nullable_shape.NullableShape class shapes( @@ -58,12 +58,12 @@ class Drawing( class MetaOapg: @staticmethod - def items() -> typing.Type['Shape']: - return Shape + def items() -> typing.Type['shape.Shape']: + return shape.Shape def __new__( cls, - arg: typing.Union[typing.Tuple['Shape'], typing.List['Shape']], + arg: typing.Union[typing.Tuple['shape.Shape'], typing.List['shape.Shape']], _configuration: typing.Optional[schemas.Configuration] = None, ) -> 'shapes': return super().__new__( @@ -72,7 +72,7 @@ class Drawing( _configuration=_configuration, ) - def __getitem__(self, i: int) -> 'Shape': + def __getitem__(self, i: int) -> 'shape.Shape': return super().__getitem__(i) __annotations__ = { "mainShape": mainShape, @@ -82,42 +82,42 @@ class Drawing( } @staticmethod - def additional_properties() -> typing.Type['Fruit']: - return Fruit + def additional_properties() -> typing.Type['fruit.Fruit']: + return fruit.Fruit @typing.overload - def __getitem__(self, name: typing_extensions.Literal["mainShape"]) -> 'Shape': ... + def __getitem__(self, name: typing_extensions.Literal["mainShape"]) -> 'shape.Shape': ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["shapeOrNull"]) -> 'ShapeOrNull': ... + def __getitem__(self, name: typing_extensions.Literal["shapeOrNull"]) -> 'shape_or_null.ShapeOrNull': ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["nullableShape"]) -> 'NullableShape': ... + def __getitem__(self, name: typing_extensions.Literal["nullableShape"]) -> 'nullable_shape.NullableShape': ... @typing.overload def __getitem__(self, name: typing_extensions.Literal["shapes"]) -> MetaOapg.properties.shapes: ... @typing.overload - def __getitem__(self, name: str) -> 'Fruit': ... + def __getitem__(self, name: str) -> 'fruit.Fruit': ... def __getitem__(self, name: typing.Union[typing_extensions.Literal["mainShape"], typing_extensions.Literal["shapeOrNull"], typing_extensions.Literal["nullableShape"], typing_extensions.Literal["shapes"], str, ]): # dict_instance[name] accessor return super().__getitem__(name) @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["mainShape"]) -> typing.Union['Shape', schemas.Unset]: ... + def get_item_oapg(self, name: typing_extensions.Literal["mainShape"]) -> typing.Union['shape.Shape', schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["shapeOrNull"]) -> typing.Union['ShapeOrNull', schemas.Unset]: ... + def get_item_oapg(self, name: typing_extensions.Literal["shapeOrNull"]) -> typing.Union['shape_or_null.ShapeOrNull', schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["nullableShape"]) -> typing.Union['NullableShape', schemas.Unset]: ... + def get_item_oapg(self, name: typing_extensions.Literal["nullableShape"]) -> typing.Union['nullable_shape.NullableShape', schemas.Unset]: ... @typing.overload def get_item_oapg(self, name: typing_extensions.Literal["shapes"]) -> typing.Union[MetaOapg.properties.shapes, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: str) -> typing.Union['Fruit', schemas.Unset]: ... + def get_item_oapg(self, name: str) -> typing.Union['fruit.Fruit', schemas.Unset]: ... def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["mainShape"], typing_extensions.Literal["shapeOrNull"], typing_extensions.Literal["nullableShape"], typing_extensions.Literal["shapes"], str, ]): return super().get_item_oapg(name) @@ -125,12 +125,12 @@ class Drawing( def __new__( cls, *args: typing.Union[dict, frozendict.frozendict, ], - mainShape: typing.Union['Shape', schemas.Unset] = schemas.unset, - shapeOrNull: typing.Union['ShapeOrNull', schemas.Unset] = schemas.unset, - nullableShape: typing.Union['NullableShape', schemas.Unset] = schemas.unset, + 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, shapes: typing.Union[MetaOapg.properties.shapes, list, tuple, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: 'Fruit', + **kwargs: 'fruit.Fruit', ) -> 'Drawing': return super().__new__( cls, @@ -143,7 +143,7 @@ class Drawing( **kwargs, ) -from petstore_api.components.schema.fruit import Fruit -from petstore_api.components.schema.nullable_shape import NullableShape -from petstore_api.components.schema.shape import Shape -from petstore_api.components.schema.shape_or_null import ShapeOrNull +from petstore_api.components.schema import fruit +from petstore_api.components.schema import nullable_shape +from petstore_api.components.schema import shape +from petstore_api.components.schema import shape_or_null diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_test.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_test.py index 4c30d47d95e..6e89b363ab0 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_test.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_test.py @@ -137,24 +137,24 @@ def NEGATIVE_1_PT_2(cls): return cls(-1.2) @staticmethod - def stringEnum() -> typing.Type['StringEnum']: - return StringEnum + def stringEnum() -> typing.Type['string_enum.StringEnum']: + return string_enum.StringEnum @staticmethod - def IntegerEnum() -> typing.Type['IntegerEnum']: - return IntegerEnum + def IntegerEnum() -> typing.Type['integer_enum.IntegerEnum']: + return integer_enum.IntegerEnum @staticmethod - def StringEnumWithDefaultValue() -> typing.Type['StringEnumWithDefaultValue']: - return StringEnumWithDefaultValue + def StringEnumWithDefaultValue() -> typing.Type['string_enum_with_default_value.StringEnumWithDefaultValue']: + return string_enum_with_default_value.StringEnumWithDefaultValue @staticmethod - def IntegerEnumWithDefaultValue() -> typing.Type['IntegerEnumWithDefaultValue']: - return IntegerEnumWithDefaultValue + def IntegerEnumWithDefaultValue() -> typing.Type['integer_enum_with_default_value.IntegerEnumWithDefaultValue']: + return integer_enum_with_default_value.IntegerEnumWithDefaultValue @staticmethod - def IntegerEnumOneValue() -> typing.Type['IntegerEnumOneValue']: - return IntegerEnumOneValue + def IntegerEnumOneValue() -> typing.Type['integer_enum_one_value.IntegerEnumOneValue']: + return integer_enum_one_value.IntegerEnumOneValue __annotations__ = { "enum_string_required": enum_string_required, "enum_string": enum_string, @@ -182,19 +182,19 @@ def __getitem__(self, name: typing_extensions.Literal["enum_integer"]) -> MetaOa def __getitem__(self, name: typing_extensions.Literal["enum_number"]) -> MetaOapg.properties.enum_number: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["stringEnum"]) -> 'StringEnum': ... + def __getitem__(self, name: typing_extensions.Literal["stringEnum"]) -> 'string_enum.StringEnum': ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["IntegerEnum"]) -> 'IntegerEnum': ... + def __getitem__(self, name: typing_extensions.Literal["IntegerEnum"]) -> 'integer_enum.IntegerEnum': ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["StringEnumWithDefaultValue"]) -> 'StringEnumWithDefaultValue': ... + def __getitem__(self, name: typing_extensions.Literal["StringEnumWithDefaultValue"]) -> 'string_enum_with_default_value.StringEnumWithDefaultValue': ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["IntegerEnumWithDefaultValue"]) -> 'IntegerEnumWithDefaultValue': ... + def __getitem__(self, name: typing_extensions.Literal["IntegerEnumWithDefaultValue"]) -> 'integer_enum_with_default_value.IntegerEnumWithDefaultValue': ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["IntegerEnumOneValue"]) -> 'IntegerEnumOneValue': ... + def __getitem__(self, name: typing_extensions.Literal["IntegerEnumOneValue"]) -> 'integer_enum_one_value.IntegerEnumOneValue': ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -217,19 +217,19 @@ def get_item_oapg(self, name: typing_extensions.Literal["enum_integer"]) -> typi def get_item_oapg(self, name: typing_extensions.Literal["enum_number"]) -> typing.Union[MetaOapg.properties.enum_number, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["stringEnum"]) -> typing.Union['StringEnum', schemas.Unset]: ... + def get_item_oapg(self, name: typing_extensions.Literal["stringEnum"]) -> typing.Union['string_enum.StringEnum', schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["IntegerEnum"]) -> typing.Union['IntegerEnum', schemas.Unset]: ... + def get_item_oapg(self, name: typing_extensions.Literal["IntegerEnum"]) -> typing.Union['integer_enum.IntegerEnum', schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["StringEnumWithDefaultValue"]) -> typing.Union['StringEnumWithDefaultValue', schemas.Unset]: ... + def get_item_oapg(self, name: typing_extensions.Literal["StringEnumWithDefaultValue"]) -> typing.Union['string_enum_with_default_value.StringEnumWithDefaultValue', schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["IntegerEnumWithDefaultValue"]) -> typing.Union['IntegerEnumWithDefaultValue', schemas.Unset]: ... + def get_item_oapg(self, name: typing_extensions.Literal["IntegerEnumWithDefaultValue"]) -> typing.Union['integer_enum_with_default_value.IntegerEnumWithDefaultValue', schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["IntegerEnumOneValue"]) -> typing.Union['IntegerEnumOneValue', schemas.Unset]: ... + def get_item_oapg(self, name: typing_extensions.Literal["IntegerEnumOneValue"]) -> typing.Union['integer_enum_one_value.IntegerEnumOneValue', schemas.Unset]: ... @typing.overload def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -245,11 +245,11 @@ def __new__( enum_string: typing.Union[MetaOapg.properties.enum_string, str, schemas.Unset] = schemas.unset, enum_integer: typing.Union[MetaOapg.properties.enum_integer, decimal.Decimal, int, schemas.Unset] = schemas.unset, enum_number: typing.Union[MetaOapg.properties.enum_number, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, - stringEnum: typing.Union['StringEnum', schemas.Unset] = schemas.unset, - IntegerEnum: typing.Union['IntegerEnum', schemas.Unset] = schemas.unset, - StringEnumWithDefaultValue: typing.Union['StringEnumWithDefaultValue', schemas.Unset] = schemas.unset, - IntegerEnumWithDefaultValue: typing.Union['IntegerEnumWithDefaultValue', schemas.Unset] = schemas.unset, - IntegerEnumOneValue: typing.Union['IntegerEnumOneValue', 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, _configuration: typing.Optional[schemas.Configuration] = None, **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], ) -> 'EnumTest': @@ -269,8 +269,8 @@ def __new__( **kwargs, ) -from petstore_api.components.schema.integer_enum import IntegerEnum -from petstore_api.components.schema.integer_enum_one_value import IntegerEnumOneValue -from petstore_api.components.schema.integer_enum_with_default_value import IntegerEnumWithDefaultValue -from petstore_api.components.schema.string_enum import StringEnum -from petstore_api.components.schema.string_enum_with_default_value import StringEnumWithDefaultValue +from petstore_api.components.schema import integer_enum +from petstore_api.components.schema import integer_enum_one_value +from petstore_api.components.schema import integer_enum_with_default_value +from petstore_api.components.schema import string_enum +from petstore_api.components.schema import string_enum_with_default_value diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_test.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_test.pyi index bcc9fcf737a..eec7e9ea5e7 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_test.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/enum_test.pyi @@ -105,24 +105,24 @@ class EnumTest( return cls(-1.2) @staticmethod - def stringEnum() -> typing.Type['StringEnum']: - return StringEnum + def stringEnum() -> typing.Type['string_enum.StringEnum']: + return string_enum.StringEnum @staticmethod - def IntegerEnum() -> typing.Type['IntegerEnum']: - return IntegerEnum + def IntegerEnum() -> typing.Type['integer_enum.IntegerEnum']: + return integer_enum.IntegerEnum @staticmethod - def StringEnumWithDefaultValue() -> typing.Type['StringEnumWithDefaultValue']: - return StringEnumWithDefaultValue + def StringEnumWithDefaultValue() -> typing.Type['string_enum_with_default_value.StringEnumWithDefaultValue']: + return string_enum_with_default_value.StringEnumWithDefaultValue @staticmethod - def IntegerEnumWithDefaultValue() -> typing.Type['IntegerEnumWithDefaultValue']: - return IntegerEnumWithDefaultValue + def IntegerEnumWithDefaultValue() -> typing.Type['integer_enum_with_default_value.IntegerEnumWithDefaultValue']: + return integer_enum_with_default_value.IntegerEnumWithDefaultValue @staticmethod - def IntegerEnumOneValue() -> typing.Type['IntegerEnumOneValue']: - return IntegerEnumOneValue + def IntegerEnumOneValue() -> typing.Type['integer_enum_one_value.IntegerEnumOneValue']: + return integer_enum_one_value.IntegerEnumOneValue __annotations__ = { "enum_string_required": enum_string_required, "enum_string": enum_string, @@ -150,19 +150,19 @@ class EnumTest( def __getitem__(self, name: typing_extensions.Literal["enum_number"]) -> MetaOapg.properties.enum_number: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["stringEnum"]) -> 'StringEnum': ... + def __getitem__(self, name: typing_extensions.Literal["stringEnum"]) -> 'string_enum.StringEnum': ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["IntegerEnum"]) -> 'IntegerEnum': ... + def __getitem__(self, name: typing_extensions.Literal["IntegerEnum"]) -> 'integer_enum.IntegerEnum': ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["StringEnumWithDefaultValue"]) -> 'StringEnumWithDefaultValue': ... + def __getitem__(self, name: typing_extensions.Literal["StringEnumWithDefaultValue"]) -> 'string_enum_with_default_value.StringEnumWithDefaultValue': ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["IntegerEnumWithDefaultValue"]) -> 'IntegerEnumWithDefaultValue': ... + def __getitem__(self, name: typing_extensions.Literal["IntegerEnumWithDefaultValue"]) -> 'integer_enum_with_default_value.IntegerEnumWithDefaultValue': ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["IntegerEnumOneValue"]) -> 'IntegerEnumOneValue': ... + def __getitem__(self, name: typing_extensions.Literal["IntegerEnumOneValue"]) -> 'integer_enum_one_value.IntegerEnumOneValue': ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -185,19 +185,19 @@ class EnumTest( def get_item_oapg(self, name: typing_extensions.Literal["enum_number"]) -> typing.Union[MetaOapg.properties.enum_number, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["stringEnum"]) -> typing.Union['StringEnum', schemas.Unset]: ... + def get_item_oapg(self, name: typing_extensions.Literal["stringEnum"]) -> typing.Union['string_enum.StringEnum', schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["IntegerEnum"]) -> typing.Union['IntegerEnum', schemas.Unset]: ... + def get_item_oapg(self, name: typing_extensions.Literal["IntegerEnum"]) -> typing.Union['integer_enum.IntegerEnum', schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["StringEnumWithDefaultValue"]) -> typing.Union['StringEnumWithDefaultValue', schemas.Unset]: ... + def get_item_oapg(self, name: typing_extensions.Literal["StringEnumWithDefaultValue"]) -> typing.Union['string_enum_with_default_value.StringEnumWithDefaultValue', schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["IntegerEnumWithDefaultValue"]) -> typing.Union['IntegerEnumWithDefaultValue', schemas.Unset]: ... + def get_item_oapg(self, name: typing_extensions.Literal["IntegerEnumWithDefaultValue"]) -> typing.Union['integer_enum_with_default_value.IntegerEnumWithDefaultValue', schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["IntegerEnumOneValue"]) -> typing.Union['IntegerEnumOneValue', schemas.Unset]: ... + def get_item_oapg(self, name: typing_extensions.Literal["IntegerEnumOneValue"]) -> typing.Union['integer_enum_one_value.IntegerEnumOneValue', schemas.Unset]: ... @typing.overload def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -213,11 +213,11 @@ class EnumTest( enum_string: typing.Union[MetaOapg.properties.enum_string, str, schemas.Unset] = schemas.unset, enum_integer: typing.Union[MetaOapg.properties.enum_integer, decimal.Decimal, int, schemas.Unset] = schemas.unset, enum_number: typing.Union[MetaOapg.properties.enum_number, decimal.Decimal, int, float, schemas.Unset] = schemas.unset, - stringEnum: typing.Union['StringEnum', schemas.Unset] = schemas.unset, - IntegerEnum: typing.Union['IntegerEnum', schemas.Unset] = schemas.unset, - StringEnumWithDefaultValue: typing.Union['StringEnumWithDefaultValue', schemas.Unset] = schemas.unset, - IntegerEnumWithDefaultValue: typing.Union['IntegerEnumWithDefaultValue', schemas.Unset] = schemas.unset, - IntegerEnumOneValue: typing.Union['IntegerEnumOneValue', 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, _configuration: typing.Optional[schemas.Configuration] = None, **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], ) -> 'EnumTest': @@ -237,8 +237,8 @@ class EnumTest( **kwargs, ) -from petstore_api.components.schema.integer_enum import IntegerEnum -from petstore_api.components.schema.integer_enum_one_value import IntegerEnumOneValue -from petstore_api.components.schema.integer_enum_with_default_value import IntegerEnumWithDefaultValue -from petstore_api.components.schema.string_enum import StringEnum -from petstore_api.components.schema.string_enum_with_default_value import StringEnumWithDefaultValue +from petstore_api.components.schema import integer_enum +from petstore_api.components.schema import integer_enum_one_value +from petstore_api.components.schema import integer_enum_with_default_value +from petstore_api.components.schema import string_enum +from petstore_api.components.schema import string_enum_with_default_value diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/equilateral_triangle.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/equilateral_triangle.py index 432f064f32c..cc47693daff 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/equilateral_triangle.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/equilateral_triangle.py @@ -111,7 +111,7 @@ def all_of(cls): # classes don't exist yet because their module has not finished # loading return [ - TriangleInterface, + triangle_interface.TriangleInterface, cls.all_of_1, ] @@ -129,4 +129,4 @@ def __new__( **kwargs, ) -from petstore_api.components.schema.triangle_interface import TriangleInterface +from petstore_api.components.schema import triangle_interface diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/equilateral_triangle.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/equilateral_triangle.pyi index 2e63820cd22..70b1f3d4905 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/equilateral_triangle.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/equilateral_triangle.pyi @@ -105,7 +105,7 @@ class EquilateralTriangle( # classes don't exist yet because their module has not finished # loading return [ - TriangleInterface, + triangle_interface.TriangleInterface, cls.all_of_1, ] @@ -123,4 +123,4 @@ class EquilateralTriangle( **kwargs, ) -from petstore_api.components.schema.triangle_interface import TriangleInterface +from petstore_api.components.schema import triangle_interface diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/file_schema_test_class.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/file_schema_test_class.py index dd962ccc693..0af10006fc3 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/file_schema_test_class.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/file_schema_test_class.py @@ -38,8 +38,8 @@ class MetaOapg: class properties: @staticmethod - def file() -> typing.Type['File']: - return File + def file() -> typing.Type['file.File']: + return file.File class files( @@ -50,12 +50,12 @@ class files( class MetaOapg: @staticmethod - def items() -> typing.Type['File']: - return File + def items() -> typing.Type['file.File']: + return file.File def __new__( cls, - arg: typing.Union[typing.Tuple['File'], typing.List['File']], + arg: typing.Union[typing.Tuple['file.File'], typing.List['file.File']], _configuration: typing.Optional[schemas.Configuration] = None, ) -> 'files': return super().__new__( @@ -64,7 +64,7 @@ def __new__( _configuration=_configuration, ) - def __getitem__(self, i: int) -> 'File': + def __getitem__(self, i: int) -> 'file.File': return super().__getitem__(i) __annotations__ = { "file": file, @@ -72,7 +72,7 @@ def __getitem__(self, i: int) -> 'File': } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["file"]) -> 'File': ... + def __getitem__(self, name: typing_extensions.Literal["file"]) -> 'file.File': ... @typing.overload def __getitem__(self, name: typing_extensions.Literal["files"]) -> MetaOapg.properties.files: ... @@ -86,7 +86,7 @@ def __getitem__(self, name: typing.Union[typing_extensions.Literal["file", "file @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["file"]) -> typing.Union['File', schemas.Unset]: ... + def get_item_oapg(self, name: typing_extensions.Literal["file"]) -> typing.Union['file.File', schemas.Unset]: ... @typing.overload def get_item_oapg(self, name: typing_extensions.Literal["files"]) -> typing.Union[MetaOapg.properties.files, schemas.Unset]: ... @@ -101,7 +101,7 @@ def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["file", "fi def __new__( cls, *args: typing.Union[dict, frozendict.frozendict, ], - file: typing.Union['File', schemas.Unset] = schemas.unset, + file: typing.Union['file.File', schemas.Unset] = schemas.unset, files: typing.Union[MetaOapg.properties.files, list, tuple, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.Configuration] = None, **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], @@ -115,4 +115,4 @@ def __new__( **kwargs, ) -from petstore_api.components.schema.file import File +from petstore_api.components.schema import file diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/file_schema_test_class.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/file_schema_test_class.pyi index dd962ccc693..0af10006fc3 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/file_schema_test_class.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/file_schema_test_class.pyi @@ -38,8 +38,8 @@ class FileSchemaTestClass( class properties: @staticmethod - def file() -> typing.Type['File']: - return File + def file() -> typing.Type['file.File']: + return file.File class files( @@ -50,12 +50,12 @@ class FileSchemaTestClass( class MetaOapg: @staticmethod - def items() -> typing.Type['File']: - return File + def items() -> typing.Type['file.File']: + return file.File def __new__( cls, - arg: typing.Union[typing.Tuple['File'], typing.List['File']], + arg: typing.Union[typing.Tuple['file.File'], typing.List['file.File']], _configuration: typing.Optional[schemas.Configuration] = None, ) -> 'files': return super().__new__( @@ -64,7 +64,7 @@ class FileSchemaTestClass( _configuration=_configuration, ) - def __getitem__(self, i: int) -> 'File': + def __getitem__(self, i: int) -> 'file.File': return super().__getitem__(i) __annotations__ = { "file": file, @@ -72,7 +72,7 @@ class FileSchemaTestClass( } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["file"]) -> 'File': ... + def __getitem__(self, name: typing_extensions.Literal["file"]) -> 'file.File': ... @typing.overload def __getitem__(self, name: typing_extensions.Literal["files"]) -> MetaOapg.properties.files: ... @@ -86,7 +86,7 @@ class FileSchemaTestClass( @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["file"]) -> typing.Union['File', schemas.Unset]: ... + def get_item_oapg(self, name: typing_extensions.Literal["file"]) -> typing.Union['file.File', schemas.Unset]: ... @typing.overload def get_item_oapg(self, name: typing_extensions.Literal["files"]) -> typing.Union[MetaOapg.properties.files, schemas.Unset]: ... @@ -101,7 +101,7 @@ class FileSchemaTestClass( def __new__( cls, *args: typing.Union[dict, frozendict.frozendict, ], - file: typing.Union['File', schemas.Unset] = schemas.unset, + file: typing.Union['file.File', schemas.Unset] = schemas.unset, files: typing.Union[MetaOapg.properties.files, list, tuple, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.Configuration] = None, **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], @@ -115,4 +115,4 @@ class FileSchemaTestClass( **kwargs, ) -from petstore_api.components.schema.file import File +from petstore_api.components.schema import file diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/foo.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/foo.py index 68d3cee097d..a86418bbd9a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/foo.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/foo.py @@ -38,14 +38,14 @@ class MetaOapg: class properties: @staticmethod - def bar() -> typing.Type['Bar']: - return Bar + def bar() -> typing.Type['bar.Bar']: + return bar.Bar __annotations__ = { "bar": bar, } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["bar"]) -> 'Bar': ... + def __getitem__(self, name: typing_extensions.Literal["bar"]) -> 'bar.Bar': ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -56,7 +56,7 @@ def __getitem__(self, name: typing.Union[typing_extensions.Literal["bar", ], str @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["bar"]) -> typing.Union['Bar', schemas.Unset]: ... + def get_item_oapg(self, name: typing_extensions.Literal["bar"]) -> typing.Union['bar.Bar', schemas.Unset]: ... @typing.overload def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -68,7 +68,7 @@ def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["bar", ], s def __new__( cls, *args: typing.Union[dict, frozendict.frozendict, ], - bar: typing.Union['Bar', schemas.Unset] = schemas.unset, + bar: typing.Union['bar.Bar', schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.Configuration] = None, **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], ) -> 'Foo': @@ -80,4 +80,4 @@ def __new__( **kwargs, ) -from petstore_api.components.schema.bar import Bar +from petstore_api.components.schema import bar diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/foo.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/foo.pyi index 68d3cee097d..a86418bbd9a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/foo.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/foo.pyi @@ -38,14 +38,14 @@ class Foo( class properties: @staticmethod - def bar() -> typing.Type['Bar']: - return Bar + def bar() -> typing.Type['bar.Bar']: + return bar.Bar __annotations__ = { "bar": bar, } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["bar"]) -> 'Bar': ... + def __getitem__(self, name: typing_extensions.Literal["bar"]) -> 'bar.Bar': ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -56,7 +56,7 @@ class Foo( @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["bar"]) -> typing.Union['Bar', schemas.Unset]: ... + def get_item_oapg(self, name: typing_extensions.Literal["bar"]) -> typing.Union['bar.Bar', schemas.Unset]: ... @typing.overload def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -68,7 +68,7 @@ class Foo( def __new__( cls, *args: typing.Union[dict, frozendict.frozendict, ], - bar: typing.Union['Bar', schemas.Unset] = schemas.unset, + bar: typing.Union['bar.Bar', schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.Configuration] = None, **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], ) -> 'Foo': @@ -80,4 +80,4 @@ class Foo( **kwargs, ) -from petstore_api.components.schema.bar import Bar +from petstore_api.components.schema import bar diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit.py index f6ef0853554..41e62c1b3c5 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit.py @@ -52,8 +52,8 @@ def one_of(cls): # classes don't exist yet because their module has not finished # loading return [ - Apple, - Banana, + apple.Apple, + banana.Banana, ] @@ -93,5 +93,5 @@ def __new__( **kwargs, ) -from petstore_api.components.schema.apple import Apple -from petstore_api.components.schema.banana import Banana +from petstore_api.components.schema import apple +from petstore_api.components.schema import banana diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit.pyi index f6ef0853554..41e62c1b3c5 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit.pyi @@ -52,8 +52,8 @@ class Fruit( # classes don't exist yet because their module has not finished # loading return [ - Apple, - Banana, + apple.Apple, + banana.Banana, ] @@ -93,5 +93,5 @@ class Fruit( **kwargs, ) -from petstore_api.components.schema.apple import Apple -from petstore_api.components.schema.banana import Banana +from petstore_api.components.schema import apple +from petstore_api.components.schema import banana diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit_req.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit_req.py index bb2c8fcd777..4e1ff9cf4ca 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit_req.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit_req.py @@ -48,8 +48,8 @@ def one_of(cls): # loading return [ cls.one_of_0, - AppleReq, - BananaReq, + apple_req.AppleReq, + banana_req.BananaReq, ] @@ -66,5 +66,5 @@ def __new__( **kwargs, ) -from petstore_api.components.schema.apple_req import AppleReq -from petstore_api.components.schema.banana_req import BananaReq +from petstore_api.components.schema import apple_req +from petstore_api.components.schema import banana_req diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit_req.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit_req.pyi index bb2c8fcd777..4e1ff9cf4ca 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit_req.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/fruit_req.pyi @@ -48,8 +48,8 @@ class FruitReq( # loading return [ cls.one_of_0, - AppleReq, - BananaReq, + apple_req.AppleReq, + banana_req.BananaReq, ] @@ -66,5 +66,5 @@ class FruitReq( **kwargs, ) -from petstore_api.components.schema.apple_req import AppleReq -from petstore_api.components.schema.banana_req import BananaReq +from petstore_api.components.schema import apple_req +from petstore_api.components.schema import banana_req diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/gm_fruit.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/gm_fruit.py index 3a3c7762db8..ff502a55d35 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/gm_fruit.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/gm_fruit.py @@ -52,8 +52,8 @@ def any_of(cls): # classes don't exist yet because their module has not finished # loading return [ - Apple, - Banana, + apple.Apple, + banana.Banana, ] @@ -93,5 +93,5 @@ def __new__( **kwargs, ) -from petstore_api.components.schema.apple import Apple -from petstore_api.components.schema.banana import Banana +from petstore_api.components.schema import apple +from petstore_api.components.schema import banana diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/gm_fruit.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/gm_fruit.pyi index 3a3c7762db8..ff502a55d35 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/gm_fruit.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/gm_fruit.pyi @@ -52,8 +52,8 @@ class GmFruit( # classes don't exist yet because their module has not finished # loading return [ - Apple, - Banana, + apple.Apple, + banana.Banana, ] @@ -93,5 +93,5 @@ class GmFruit( **kwargs, ) -from petstore_api.components.schema.apple import Apple -from petstore_api.components.schema.banana import Banana +from petstore_api.components.schema import apple +from petstore_api.components.schema import banana diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/grandparent_animal.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/grandparent_animal.py index 235eb386557..7a93b2fe07a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/grandparent_animal.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/grandparent_animal.py @@ -42,8 +42,8 @@ class MetaOapg: def discriminator(): return { 'pet_type': { - 'ChildCat': ChildCat, - 'ParentPet': ParentPet, + 'ChildCat': child_cat.ChildCat, + 'ParentPet': parent_pet.ParentPet, } } @@ -91,5 +91,5 @@ def __new__( **kwargs, ) -from petstore_api.components.schema.child_cat import ChildCat -from petstore_api.components.schema.parent_pet import ParentPet +from petstore_api.components.schema import child_cat +from petstore_api.components.schema import parent_pet diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/grandparent_animal.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/grandparent_animal.pyi index 235eb386557..7a93b2fe07a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/grandparent_animal.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/grandparent_animal.pyi @@ -42,8 +42,8 @@ class GrandparentAnimal( def discriminator(): return { 'pet_type': { - 'ChildCat': ChildCat, - 'ParentPet': ParentPet, + 'ChildCat': child_cat.ChildCat, + 'ParentPet': parent_pet.ParentPet, } } @@ -91,5 +91,5 @@ class GrandparentAnimal( **kwargs, ) -from petstore_api.components.schema.child_cat import ChildCat -from petstore_api.components.schema.parent_pet import ParentPet +from petstore_api.components.schema import child_cat +from petstore_api.components.schema import parent_pet diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/isosceles_triangle.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/isosceles_triangle.py index cdd2c0a8fa9..28a5c0fd2f9 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/isosceles_triangle.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/isosceles_triangle.py @@ -111,7 +111,7 @@ def all_of(cls): # classes don't exist yet because their module has not finished # loading return [ - TriangleInterface, + triangle_interface.TriangleInterface, cls.all_of_1, ] @@ -129,4 +129,4 @@ def __new__( **kwargs, ) -from petstore_api.components.schema.triangle_interface import TriangleInterface +from petstore_api.components.schema import triangle_interface diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/isosceles_triangle.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/isosceles_triangle.pyi index 52ae719a82d..4a9119b5e87 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/isosceles_triangle.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/isosceles_triangle.pyi @@ -105,7 +105,7 @@ class IsoscelesTriangle( # classes don't exist yet because their module has not finished # loading return [ - TriangleInterface, + triangle_interface.TriangleInterface, cls.all_of_1, ] @@ -123,4 +123,4 @@ class IsoscelesTriangle( **kwargs, ) -from petstore_api.components.schema.triangle_interface import TriangleInterface +from petstore_api.components.schema import triangle_interface diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request.py index 675bfa56567..a35835f46e1 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request.py @@ -54,9 +54,9 @@ def one_of(cls): # classes don't exist yet because their module has not finished # loading return [ - JSONPatchRequestAddReplaceTest, - JSONPatchRequestRemove, - JSONPatchRequestMoveCopy, + json_patch_request_add_replace_test.JSONPatchRequestAddReplaceTest, + json_patch_request_remove.JSONPatchRequestRemove, + json_patch_request_move_copy.JSONPatchRequestMoveCopy, ] @@ -87,6 +87,6 @@ def __new__( def __getitem__(self, i: int) -> MetaOapg.items: return super().__getitem__(i) -from petstore_api.components.schema.json_patch_request_add_replace_test import JSONPatchRequestAddReplaceTest -from petstore_api.components.schema.json_patch_request_move_copy import JSONPatchRequestMoveCopy -from petstore_api.components.schema.json_patch_request_remove import JSONPatchRequestRemove +from petstore_api.components.schema import json_patch_request_add_replace_test +from petstore_api.components.schema import json_patch_request_move_copy +from petstore_api.components.schema import json_patch_request_remove diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request.pyi index 675bfa56567..a35835f46e1 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/json_patch_request.pyi @@ -54,9 +54,9 @@ class JSONPatchRequest( # classes don't exist yet because their module has not finished # loading return [ - JSONPatchRequestAddReplaceTest, - JSONPatchRequestRemove, - JSONPatchRequestMoveCopy, + json_patch_request_add_replace_test.JSONPatchRequestAddReplaceTest, + json_patch_request_remove.JSONPatchRequestRemove, + json_patch_request_move_copy.JSONPatchRequestMoveCopy, ] @@ -87,6 +87,6 @@ class JSONPatchRequest( def __getitem__(self, i: int) -> MetaOapg.items: return super().__getitem__(i) -from petstore_api.components.schema.json_patch_request_add_replace_test import JSONPatchRequestAddReplaceTest -from petstore_api.components.schema.json_patch_request_move_copy import JSONPatchRequestMoveCopy -from petstore_api.components.schema.json_patch_request_remove import JSONPatchRequestRemove +from petstore_api.components.schema import json_patch_request_add_replace_test +from petstore_api.components.schema import json_patch_request_move_copy +from petstore_api.components.schema import json_patch_request_remove diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/mammal.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/mammal.py index a8855eb09de..415f2992a7c 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/mammal.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/mammal.py @@ -39,9 +39,9 @@ class MetaOapg: def discriminator(): return { 'className': { - 'Pig': Pig, - 'whale': Whale, - 'zebra': Zebra, + 'Pig': pig.Pig, + 'whale': whale.Whale, + 'zebra': zebra.Zebra, } } @@ -56,9 +56,9 @@ def one_of(cls): # classes don't exist yet because their module has not finished # loading return [ - Whale, - Zebra, - Pig, + whale.Whale, + zebra.Zebra, + pig.Pig, ] @@ -75,6 +75,6 @@ def __new__( **kwargs, ) -from petstore_api.components.schema.pig import Pig -from petstore_api.components.schema.whale import Whale -from petstore_api.components.schema.zebra import Zebra +from petstore_api.components.schema import pig +from petstore_api.components.schema import whale +from petstore_api.components.schema import zebra diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/mammal.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/mammal.pyi index a8855eb09de..415f2992a7c 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/mammal.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/mammal.pyi @@ -39,9 +39,9 @@ class Mammal( def discriminator(): return { 'className': { - 'Pig': Pig, - 'whale': Whale, - 'zebra': Zebra, + 'Pig': pig.Pig, + 'whale': whale.Whale, + 'zebra': zebra.Zebra, } } @@ -56,9 +56,9 @@ class Mammal( # classes don't exist yet because their module has not finished # loading return [ - Whale, - Zebra, - Pig, + whale.Whale, + zebra.Zebra, + pig.Pig, ] @@ -75,6 +75,6 @@ class Mammal( **kwargs, ) -from petstore_api.components.schema.pig import Pig -from petstore_api.components.schema.whale import Whale -from petstore_api.components.schema.zebra import Zebra +from petstore_api.components.schema import pig +from petstore_api.components.schema import whale +from petstore_api.components.schema import zebra diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/map_test.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/map_test.py index 621eb8a1584..af55d8a2033 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/map_test.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/map_test.py @@ -173,8 +173,8 @@ def __new__( ) @staticmethod - def indirect_map() -> typing.Type['StringBooleanMap']: - return StringBooleanMap + def indirect_map() -> typing.Type['string_boolean_map.StringBooleanMap']: + return string_boolean_map.StringBooleanMap __annotations__ = { "map_map_of_string": map_map_of_string, "map_of_enum_string": map_of_enum_string, @@ -192,7 +192,7 @@ def __getitem__(self, name: typing_extensions.Literal["map_of_enum_string"]) -> def __getitem__(self, name: typing_extensions.Literal["direct_map"]) -> MetaOapg.properties.direct_map: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["indirect_map"]) -> 'StringBooleanMap': ... + def __getitem__(self, name: typing_extensions.Literal["indirect_map"]) -> 'string_boolean_map.StringBooleanMap': ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -212,7 +212,7 @@ def get_item_oapg(self, name: typing_extensions.Literal["map_of_enum_string"]) - def get_item_oapg(self, name: typing_extensions.Literal["direct_map"]) -> typing.Union[MetaOapg.properties.direct_map, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["indirect_map"]) -> typing.Union['StringBooleanMap', schemas.Unset]: ... + def get_item_oapg(self, name: typing_extensions.Literal["indirect_map"]) -> typing.Union['string_boolean_map.StringBooleanMap', schemas.Unset]: ... @typing.overload def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -227,7 +227,7 @@ def __new__( map_map_of_string: typing.Union[MetaOapg.properties.map_map_of_string, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, map_of_enum_string: typing.Union[MetaOapg.properties.map_of_enum_string, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, direct_map: typing.Union[MetaOapg.properties.direct_map, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - indirect_map: typing.Union['StringBooleanMap', schemas.Unset] = schemas.unset, + indirect_map: typing.Union['string_boolean_map.StringBooleanMap', schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.Configuration] = None, **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], ) -> 'MapTest': @@ -242,4 +242,4 @@ def __new__( **kwargs, ) -from petstore_api.components.schema.string_boolean_map import StringBooleanMap +from petstore_api.components.schema import string_boolean_map diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/map_test.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/map_test.pyi index 47a35a292a9..4cb2777444a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/map_test.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/map_test.pyi @@ -166,8 +166,8 @@ class MapTest( ) @staticmethod - def indirect_map() -> typing.Type['StringBooleanMap']: - return StringBooleanMap + def indirect_map() -> typing.Type['string_boolean_map.StringBooleanMap']: + return string_boolean_map.StringBooleanMap __annotations__ = { "map_map_of_string": map_map_of_string, "map_of_enum_string": map_of_enum_string, @@ -185,7 +185,7 @@ class MapTest( def __getitem__(self, name: typing_extensions.Literal["direct_map"]) -> MetaOapg.properties.direct_map: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["indirect_map"]) -> 'StringBooleanMap': ... + def __getitem__(self, name: typing_extensions.Literal["indirect_map"]) -> 'string_boolean_map.StringBooleanMap': ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -205,7 +205,7 @@ class MapTest( def get_item_oapg(self, name: typing_extensions.Literal["direct_map"]) -> typing.Union[MetaOapg.properties.direct_map, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["indirect_map"]) -> typing.Union['StringBooleanMap', schemas.Unset]: ... + def get_item_oapg(self, name: typing_extensions.Literal["indirect_map"]) -> typing.Union['string_boolean_map.StringBooleanMap', schemas.Unset]: ... @typing.overload def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -220,7 +220,7 @@ class MapTest( map_map_of_string: typing.Union[MetaOapg.properties.map_map_of_string, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, map_of_enum_string: typing.Union[MetaOapg.properties.map_of_enum_string, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, direct_map: typing.Union[MetaOapg.properties.direct_map, dict, frozendict.frozendict, schemas.Unset] = schemas.unset, - indirect_map: typing.Union['StringBooleanMap', schemas.Unset] = schemas.unset, + indirect_map: typing.Union['string_boolean_map.StringBooleanMap', schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.Configuration] = None, **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], ) -> 'MapTest': @@ -235,4 +235,4 @@ class MapTest( **kwargs, ) -from petstore_api.components.schema.string_boolean_map import StringBooleanMap +from petstore_api.components.schema import string_boolean_map diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/mixed_properties_and_additional_properties_class.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/mixed_properties_and_additional_properties_class.py index b32867af785..5a1b3066a23 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/mixed_properties_and_additional_properties_class.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/mixed_properties_and_additional_properties_class.py @@ -48,21 +48,21 @@ class map( class MetaOapg: @staticmethod - def additional_properties() -> typing.Type['Animal']: - return Animal + def additional_properties() -> typing.Type['animal.Animal']: + return animal.Animal - def __getitem__(self, name: typing.Union[str, ]) -> 'Animal': + def __getitem__(self, name: typing.Union[str, ]) -> 'animal.Animal': # dict_instance[name] accessor return super().__getitem__(name) - def get_item_oapg(self, name: typing.Union[str, ]) -> 'Animal': + def get_item_oapg(self, name: typing.Union[str, ]) -> 'animal.Animal': return super().get_item_oapg(name) def __new__( cls, *args: typing.Union[dict, frozendict.frozendict, ], _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: 'Animal', + **kwargs: 'animal.Animal', ) -> 'map': return super().__new__( cls, @@ -128,4 +128,4 @@ def __new__( **kwargs, ) -from petstore_api.components.schema.animal import Animal +from petstore_api.components.schema import animal diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/mixed_properties_and_additional_properties_class.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/mixed_properties_and_additional_properties_class.pyi index b32867af785..5a1b3066a23 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/mixed_properties_and_additional_properties_class.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/mixed_properties_and_additional_properties_class.pyi @@ -48,21 +48,21 @@ class MixedPropertiesAndAdditionalPropertiesClass( class MetaOapg: @staticmethod - def additional_properties() -> typing.Type['Animal']: - return Animal + def additional_properties() -> typing.Type['animal.Animal']: + return animal.Animal - def __getitem__(self, name: typing.Union[str, ]) -> 'Animal': + def __getitem__(self, name: typing.Union[str, ]) -> 'animal.Animal': # dict_instance[name] accessor return super().__getitem__(name) - def get_item_oapg(self, name: typing.Union[str, ]) -> 'Animal': + def get_item_oapg(self, name: typing.Union[str, ]) -> 'animal.Animal': return super().get_item_oapg(name) def __new__( cls, *args: typing.Union[dict, frozendict.frozendict, ], _configuration: typing.Optional[schemas.Configuration] = None, - **kwargs: 'Animal', + **kwargs: 'animal.Animal', ) -> 'map': return super().__new__( cls, @@ -128,4 +128,4 @@ class MixedPropertiesAndAdditionalPropertiesClass( **kwargs, ) -from petstore_api.components.schema.animal import Animal +from petstore_api.components.schema import animal diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/money.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/money.py index f51f066004b..1e5c60782ba 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/money.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/money.py @@ -43,21 +43,21 @@ class properties: amount = schemas.DecimalSchema @staticmethod - def currency() -> typing.Type['Currency']: - return Currency + def currency() -> typing.Type['currency.Currency']: + return currency.Currency __annotations__ = { "amount": amount, "currency": currency, } amount: MetaOapg.properties.amount - currency: 'Currency' + currency: 'currency.Currency' @typing.overload def __getitem__(self, name: typing_extensions.Literal["amount"]) -> MetaOapg.properties.amount: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["currency"]) -> 'Currency': ... + def __getitem__(self, name: typing_extensions.Literal["currency"]) -> 'currency.Currency': ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -71,7 +71,7 @@ def __getitem__(self, name: typing.Union[typing_extensions.Literal["amount", "cu def get_item_oapg(self, name: typing_extensions.Literal["amount"]) -> MetaOapg.properties.amount: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["currency"]) -> 'Currency': ... + def get_item_oapg(self, name: typing_extensions.Literal["currency"]) -> 'currency.Currency': ... @typing.overload def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -84,7 +84,7 @@ def __new__( cls, *args: typing.Union[dict, frozendict.frozendict, ], amount: typing.Union[MetaOapg.properties.amount, str, ], - currency: 'Currency', + currency: 'currency.Currency', _configuration: typing.Optional[schemas.Configuration] = None, **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], ) -> 'Money': @@ -97,4 +97,4 @@ def __new__( **kwargs, ) -from petstore_api.components.schema.currency import Currency +from petstore_api.components.schema import currency diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/money.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/money.pyi index f51f066004b..1e5c60782ba 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/money.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/money.pyi @@ -43,21 +43,21 @@ class Money( amount = schemas.DecimalSchema @staticmethod - def currency() -> typing.Type['Currency']: - return Currency + def currency() -> typing.Type['currency.Currency']: + return currency.Currency __annotations__ = { "amount": amount, "currency": currency, } amount: MetaOapg.properties.amount - currency: 'Currency' + currency: 'currency.Currency' @typing.overload def __getitem__(self, name: typing_extensions.Literal["amount"]) -> MetaOapg.properties.amount: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["currency"]) -> 'Currency': ... + def __getitem__(self, name: typing_extensions.Literal["currency"]) -> 'currency.Currency': ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -71,7 +71,7 @@ class Money( def get_item_oapg(self, name: typing_extensions.Literal["amount"]) -> MetaOapg.properties.amount: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["currency"]) -> 'Currency': ... + def get_item_oapg(self, name: typing_extensions.Literal["currency"]) -> 'currency.Currency': ... @typing.overload def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -84,7 +84,7 @@ class Money( cls, *args: typing.Union[dict, frozendict.frozendict, ], amount: typing.Union[MetaOapg.properties.amount, str, ], - currency: 'Currency', + currency: 'currency.Currency', _configuration: typing.Optional[schemas.Configuration] = None, **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], ) -> 'Money': @@ -97,4 +97,4 @@ class Money( **kwargs, ) -from petstore_api.components.schema.currency import Currency +from petstore_api.components.schema import currency diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_shape.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_shape.py index 5c898279a22..601adad41c5 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_shape.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_shape.py @@ -49,8 +49,8 @@ def one_of(cls): # classes don't exist yet because their module has not finished # loading return [ - Triangle, - Quadrilateral, + triangle.Triangle, + quadrilateral.Quadrilateral, cls.one_of_2, ] @@ -68,5 +68,5 @@ def __new__( **kwargs, ) -from petstore_api.components.schema.quadrilateral import Quadrilateral -from petstore_api.components.schema.triangle import Triangle +from petstore_api.components.schema import quadrilateral +from petstore_api.components.schema import triangle diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_shape.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_shape.pyi index 5c898279a22..601adad41c5 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_shape.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/nullable_shape.pyi @@ -49,8 +49,8 @@ class NullableShape( # classes don't exist yet because their module has not finished # loading return [ - Triangle, - Quadrilateral, + triangle.Triangle, + quadrilateral.Quadrilateral, cls.one_of_2, ] @@ -68,5 +68,5 @@ class NullableShape( **kwargs, ) -from petstore_api.components.schema.quadrilateral import Quadrilateral -from petstore_api.components.schema.triangle import Triangle +from petstore_api.components.schema import quadrilateral +from petstore_api.components.schema import triangle diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_ref_props.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_ref_props.py index 6c5d6fdd75b..8a89a592356 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_ref_props.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_ref_props.py @@ -40,16 +40,16 @@ class MetaOapg: class properties: @staticmethod - def myNumber() -> typing.Type['NumberWithValidations']: - return NumberWithValidations + def myNumber() -> typing.Type['number_with_validations.NumberWithValidations']: + return number_with_validations.NumberWithValidations @staticmethod - def myString() -> typing.Type['String']: - return String + def myString() -> typing.Type['string.String']: + return string.String @staticmethod - def myBoolean() -> typing.Type['Boolean']: - return Boolean + def myBoolean() -> typing.Type['boolean.Boolean']: + return boolean.Boolean __annotations__ = { "myNumber": myNumber, "myString": myString, @@ -57,13 +57,13 @@ def myBoolean() -> typing.Type['Boolean']: } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["myNumber"]) -> 'NumberWithValidations': ... + def __getitem__(self, name: typing_extensions.Literal["myNumber"]) -> 'number_with_validations.NumberWithValidations': ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["myString"]) -> 'String': ... + def __getitem__(self, name: typing_extensions.Literal["myString"]) -> 'string.String': ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["myBoolean"]) -> 'Boolean': ... + def __getitem__(self, name: typing_extensions.Literal["myBoolean"]) -> 'boolean.Boolean': ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -74,13 +74,13 @@ def __getitem__(self, name: typing.Union[typing_extensions.Literal["myNumber", " @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["myNumber"]) -> typing.Union['NumberWithValidations', schemas.Unset]: ... + def get_item_oapg(self, name: typing_extensions.Literal["myNumber"]) -> typing.Union['number_with_validations.NumberWithValidations', schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["myString"]) -> typing.Union['String', schemas.Unset]: ... + def get_item_oapg(self, name: typing_extensions.Literal["myString"]) -> typing.Union['string.String', schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["myBoolean"]) -> typing.Union['Boolean', schemas.Unset]: ... + def get_item_oapg(self, name: typing_extensions.Literal["myBoolean"]) -> typing.Union['boolean.Boolean', schemas.Unset]: ... @typing.overload def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -92,9 +92,9 @@ def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["myNumber", def __new__( cls, *args: typing.Union[dict, frozendict.frozendict, ], - myNumber: typing.Union['NumberWithValidations', schemas.Unset] = schemas.unset, - myString: typing.Union['String', schemas.Unset] = schemas.unset, - myBoolean: typing.Union['Boolean', schemas.Unset] = schemas.unset, + 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, _configuration: typing.Optional[schemas.Configuration] = None, **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], ) -> 'ObjectModelWithRefProps': @@ -108,6 +108,6 @@ def __new__( **kwargs, ) -from petstore_api.components.schema.boolean import Boolean -from petstore_api.components.schema.number_with_validations import NumberWithValidations -from petstore_api.components.schema.string import String +from petstore_api.components.schema import boolean +from petstore_api.components.schema import number_with_validations +from petstore_api.components.schema import string diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_ref_props.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_ref_props.pyi index 6c5d6fdd75b..8a89a592356 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_ref_props.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_model_with_ref_props.pyi @@ -40,16 +40,16 @@ class ObjectModelWithRefProps( class properties: @staticmethod - def myNumber() -> typing.Type['NumberWithValidations']: - return NumberWithValidations + def myNumber() -> typing.Type['number_with_validations.NumberWithValidations']: + return number_with_validations.NumberWithValidations @staticmethod - def myString() -> typing.Type['String']: - return String + def myString() -> typing.Type['string.String']: + return string.String @staticmethod - def myBoolean() -> typing.Type['Boolean']: - return Boolean + def myBoolean() -> typing.Type['boolean.Boolean']: + return boolean.Boolean __annotations__ = { "myNumber": myNumber, "myString": myString, @@ -57,13 +57,13 @@ class ObjectModelWithRefProps( } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["myNumber"]) -> 'NumberWithValidations': ... + def __getitem__(self, name: typing_extensions.Literal["myNumber"]) -> 'number_with_validations.NumberWithValidations': ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["myString"]) -> 'String': ... + def __getitem__(self, name: typing_extensions.Literal["myString"]) -> 'string.String': ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["myBoolean"]) -> 'Boolean': ... + def __getitem__(self, name: typing_extensions.Literal["myBoolean"]) -> 'boolean.Boolean': ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -74,13 +74,13 @@ class ObjectModelWithRefProps( @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["myNumber"]) -> typing.Union['NumberWithValidations', schemas.Unset]: ... + def get_item_oapg(self, name: typing_extensions.Literal["myNumber"]) -> typing.Union['number_with_validations.NumberWithValidations', schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["myString"]) -> typing.Union['String', schemas.Unset]: ... + def get_item_oapg(self, name: typing_extensions.Literal["myString"]) -> typing.Union['string.String', schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["myBoolean"]) -> typing.Union['Boolean', schemas.Unset]: ... + def get_item_oapg(self, name: typing_extensions.Literal["myBoolean"]) -> typing.Union['boolean.Boolean', schemas.Unset]: ... @typing.overload def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -92,9 +92,9 @@ class ObjectModelWithRefProps( def __new__( cls, *args: typing.Union[dict, frozendict.frozendict, ], - myNumber: typing.Union['NumberWithValidations', schemas.Unset] = schemas.unset, - myString: typing.Union['String', schemas.Unset] = schemas.unset, - myBoolean: typing.Union['Boolean', schemas.Unset] = schemas.unset, + 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, _configuration: typing.Optional[schemas.Configuration] = None, **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], ) -> 'ObjectModelWithRefProps': @@ -108,6 +108,6 @@ class ObjectModelWithRefProps( **kwargs, ) -from petstore_api.components.schema.boolean import Boolean -from petstore_api.components.schema.number_with_validations import NumberWithValidations -from petstore_api.components.schema.string import String +from petstore_api.components.schema import boolean +from petstore_api.components.schema import number_with_validations +from petstore_api.components.schema import string diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_all_of_with_req_test_prop_from_unset_add_prop.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_all_of_with_req_test_prop_from_unset_add_prop.py index 5f6e53f224d..d1e2329e85a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_all_of_with_req_test_prop_from_unset_add_prop.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_all_of_with_req_test_prop_from_unset_add_prop.py @@ -103,7 +103,7 @@ def all_of(cls): # classes don't exist yet because their module has not finished # loading return [ - ObjectWithOptionalTestProp, + object_with_optional_test_prop.ObjectWithOptionalTestProp, cls.all_of_1, ] @@ -121,4 +121,4 @@ def __new__( **kwargs, ) -from petstore_api.components.schema.object_with_optional_test_prop import ObjectWithOptionalTestProp +from petstore_api.components.schema import object_with_optional_test_prop diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_all_of_with_req_test_prop_from_unset_add_prop.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_all_of_with_req_test_prop_from_unset_add_prop.pyi index 5f6e53f224d..d1e2329e85a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_all_of_with_req_test_prop_from_unset_add_prop.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_all_of_with_req_test_prop_from_unset_add_prop.pyi @@ -103,7 +103,7 @@ class ObjectWithAllOfWithReqTestPropFromUnsetAddProp( # classes don't exist yet because their module has not finished # loading return [ - ObjectWithOptionalTestProp, + object_with_optional_test_prop.ObjectWithOptionalTestProp, cls.all_of_1, ] @@ -121,4 +121,4 @@ class ObjectWithAllOfWithReqTestPropFromUnsetAddProp( **kwargs, ) -from petstore_api.components.schema.object_with_optional_test_prop import ObjectWithOptionalTestProp +from petstore_api.components.schema import object_with_optional_test_prop diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_decimal_properties.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_decimal_properties.py index 4b66a667ddf..6791d9cdfd2 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_decimal_properties.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_decimal_properties.py @@ -38,13 +38,13 @@ class MetaOapg: class properties: @staticmethod - def length() -> typing.Type['DecimalPayload']: - return DecimalPayload + def length() -> typing.Type['decimal_payload.DecimalPayload']: + return decimal_payload.DecimalPayload width = schemas.DecimalSchema @staticmethod - def cost() -> typing.Type['Money']: - return Money + def cost() -> typing.Type['money.Money']: + return money.Money __annotations__ = { "length": length, "width": width, @@ -52,13 +52,13 @@ def cost() -> typing.Type['Money']: } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["length"]) -> 'DecimalPayload': ... + def __getitem__(self, name: typing_extensions.Literal["length"]) -> 'decimal_payload.DecimalPayload': ... @typing.overload def __getitem__(self, name: typing_extensions.Literal["width"]) -> MetaOapg.properties.width: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["cost"]) -> 'Money': ... + def __getitem__(self, name: typing_extensions.Literal["cost"]) -> 'money.Money': ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -69,13 +69,13 @@ def __getitem__(self, name: typing.Union[typing_extensions.Literal["length", "wi @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["length"]) -> typing.Union['DecimalPayload', schemas.Unset]: ... + def get_item_oapg(self, name: typing_extensions.Literal["length"]) -> typing.Union['decimal_payload.DecimalPayload', schemas.Unset]: ... @typing.overload def get_item_oapg(self, name: typing_extensions.Literal["width"]) -> typing.Union[MetaOapg.properties.width, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["cost"]) -> typing.Union['Money', schemas.Unset]: ... + def get_item_oapg(self, name: typing_extensions.Literal["cost"]) -> typing.Union['money.Money', schemas.Unset]: ... @typing.overload def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -87,9 +87,9 @@ def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["length", " def __new__( cls, *args: typing.Union[dict, frozendict.frozendict, ], - length: typing.Union['DecimalPayload', schemas.Unset] = schemas.unset, + length: typing.Union['decimal_payload.DecimalPayload', schemas.Unset] = schemas.unset, width: typing.Union[MetaOapg.properties.width, str, schemas.Unset] = schemas.unset, - cost: typing.Union['Money', schemas.Unset] = schemas.unset, + cost: typing.Union['money.Money', schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.Configuration] = None, **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], ) -> 'ObjectWithDecimalProperties': @@ -103,5 +103,5 @@ def __new__( **kwargs, ) -from petstore_api.components.schema.decimal_payload import DecimalPayload -from petstore_api.components.schema.money import Money +from petstore_api.components.schema import decimal_payload +from petstore_api.components.schema import money diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_decimal_properties.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_decimal_properties.pyi index 4b66a667ddf..6791d9cdfd2 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_decimal_properties.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_decimal_properties.pyi @@ -38,13 +38,13 @@ class ObjectWithDecimalProperties( class properties: @staticmethod - def length() -> typing.Type['DecimalPayload']: - return DecimalPayload + def length() -> typing.Type['decimal_payload.DecimalPayload']: + return decimal_payload.DecimalPayload width = schemas.DecimalSchema @staticmethod - def cost() -> typing.Type['Money']: - return Money + def cost() -> typing.Type['money.Money']: + return money.Money __annotations__ = { "length": length, "width": width, @@ -52,13 +52,13 @@ class ObjectWithDecimalProperties( } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["length"]) -> 'DecimalPayload': ... + def __getitem__(self, name: typing_extensions.Literal["length"]) -> 'decimal_payload.DecimalPayload': ... @typing.overload def __getitem__(self, name: typing_extensions.Literal["width"]) -> MetaOapg.properties.width: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["cost"]) -> 'Money': ... + def __getitem__(self, name: typing_extensions.Literal["cost"]) -> 'money.Money': ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -69,13 +69,13 @@ class ObjectWithDecimalProperties( @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["length"]) -> typing.Union['DecimalPayload', schemas.Unset]: ... + def get_item_oapg(self, name: typing_extensions.Literal["length"]) -> typing.Union['decimal_payload.DecimalPayload', schemas.Unset]: ... @typing.overload def get_item_oapg(self, name: typing_extensions.Literal["width"]) -> typing.Union[MetaOapg.properties.width, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["cost"]) -> typing.Union['Money', schemas.Unset]: ... + def get_item_oapg(self, name: typing_extensions.Literal["cost"]) -> typing.Union['money.Money', schemas.Unset]: ... @typing.overload def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -87,9 +87,9 @@ class ObjectWithDecimalProperties( def __new__( cls, *args: typing.Union[dict, frozendict.frozendict, ], - length: typing.Union['DecimalPayload', schemas.Unset] = schemas.unset, + length: typing.Union['decimal_payload.DecimalPayload', schemas.Unset] = schemas.unset, width: typing.Union[MetaOapg.properties.width, str, schemas.Unset] = schemas.unset, - cost: typing.Union['Money', schemas.Unset] = schemas.unset, + cost: typing.Union['money.Money', schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.Configuration] = None, **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], ) -> 'ObjectWithDecimalProperties': @@ -103,5 +103,5 @@ class ObjectWithDecimalProperties( **kwargs, ) -from petstore_api.components.schema.decimal_payload import DecimalPayload -from petstore_api.components.schema.money import Money +from petstore_api.components.schema import decimal_payload +from petstore_api.components.schema import money diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_invalid_named_refed_properties.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_invalid_named_refed_properties.py index c4c2f466ace..131b633fb61 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_invalid_named_refed_properties.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_invalid_named_refed_properties.py @@ -42,12 +42,12 @@ class MetaOapg: class properties: @staticmethod - def _from() -> typing.Type['FromSchema']: - return FromSchema + def _from() -> typing.Type['from_schema.FromSchema']: + return from_schema.FromSchema @staticmethod - def reference() -> typing.Type['ArrayWithValidationsInItems']: - return ArrayWithValidationsInItems + def reference() -> typing.Type['array_with_validations_in_items.ArrayWithValidationsInItems']: + return array_with_validations_in_items.ArrayWithValidationsInItems __annotations__ = { "from": _from, "!reference": reference, @@ -55,10 +55,10 @@ def reference() -> typing.Type['ArrayWithValidationsInItems']: @typing.overload - def __getitem__(self, name: typing_extensions.Literal["from"]) -> 'FromSchema': ... + def __getitem__(self, name: typing_extensions.Literal["from"]) -> 'from_schema.FromSchema': ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["!reference"]) -> 'ArrayWithValidationsInItems': ... + def __getitem__(self, name: typing_extensions.Literal["!reference"]) -> 'array_with_validations_in_items.ArrayWithValidationsInItems': ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -69,10 +69,10 @@ def __getitem__(self, name: typing.Union[typing_extensions.Literal["from", "!ref @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["from"]) -> 'FromSchema': ... + def get_item_oapg(self, name: typing_extensions.Literal["from"]) -> 'from_schema.FromSchema': ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["!reference"]) -> 'ArrayWithValidationsInItems': ... + def get_item_oapg(self, name: typing_extensions.Literal["!reference"]) -> 'array_with_validations_in_items.ArrayWithValidationsInItems': ... @typing.overload def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -94,5 +94,5 @@ def __new__( **kwargs, ) -from petstore_api.components.schema.array_with_validations_in_items import ArrayWithValidationsInItems -from petstore_api.components.schema.from_schema import FromSchema +from petstore_api.components.schema import array_with_validations_in_items +from petstore_api.components.schema import from_schema diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_invalid_named_refed_properties.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_invalid_named_refed_properties.pyi index c4c2f466ace..131b633fb61 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_invalid_named_refed_properties.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/object_with_invalid_named_refed_properties.pyi @@ -42,12 +42,12 @@ class ObjectWithInvalidNamedRefedProperties( class properties: @staticmethod - def _from() -> typing.Type['FromSchema']: - return FromSchema + def _from() -> typing.Type['from_schema.FromSchema']: + return from_schema.FromSchema @staticmethod - def reference() -> typing.Type['ArrayWithValidationsInItems']: - return ArrayWithValidationsInItems + def reference() -> typing.Type['array_with_validations_in_items.ArrayWithValidationsInItems']: + return array_with_validations_in_items.ArrayWithValidationsInItems __annotations__ = { "from": _from, "!reference": reference, @@ -55,10 +55,10 @@ class ObjectWithInvalidNamedRefedProperties( @typing.overload - def __getitem__(self, name: typing_extensions.Literal["from"]) -> 'FromSchema': ... + def __getitem__(self, name: typing_extensions.Literal["from"]) -> 'from_schema.FromSchema': ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["!reference"]) -> 'ArrayWithValidationsInItems': ... + def __getitem__(self, name: typing_extensions.Literal["!reference"]) -> 'array_with_validations_in_items.ArrayWithValidationsInItems': ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -69,10 +69,10 @@ class ObjectWithInvalidNamedRefedProperties( @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["from"]) -> 'FromSchema': ... + def get_item_oapg(self, name: typing_extensions.Literal["from"]) -> 'from_schema.FromSchema': ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["!reference"]) -> 'ArrayWithValidationsInItems': ... + def get_item_oapg(self, name: typing_extensions.Literal["!reference"]) -> 'array_with_validations_in_items.ArrayWithValidationsInItems': ... @typing.overload def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -94,5 +94,5 @@ class ObjectWithInvalidNamedRefedProperties( **kwargs, ) -from petstore_api.components.schema.array_with_validations_in_items import ArrayWithValidationsInItems -from petstore_api.components.schema.from_schema import FromSchema +from petstore_api.components.schema import array_with_validations_in_items +from petstore_api.components.schema import from_schema diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/parent_pet.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/parent_pet.py index 689ef1cf2be..acd8f808e7f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/parent_pet.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/parent_pet.py @@ -40,7 +40,7 @@ class MetaOapg: def discriminator(): return { 'pet_type': { - 'ChildCat': ChildCat, + 'ChildCat': child_cat.ChildCat, } } @@ -55,7 +55,7 @@ def all_of(cls): # classes don't exist yet because their module has not finished # loading return [ - GrandparentAnimal, + grandparent_animal.GrandparentAnimal, ] @@ -72,5 +72,5 @@ def __new__( **kwargs, ) -from petstore_api.components.schema.child_cat import ChildCat -from petstore_api.components.schema.grandparent_animal import GrandparentAnimal +from petstore_api.components.schema import child_cat +from petstore_api.components.schema import grandparent_animal diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/parent_pet.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/parent_pet.pyi index 689ef1cf2be..acd8f808e7f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/parent_pet.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/parent_pet.pyi @@ -40,7 +40,7 @@ class ParentPet( def discriminator(): return { 'pet_type': { - 'ChildCat': ChildCat, + 'ChildCat': child_cat.ChildCat, } } @@ -55,7 +55,7 @@ class ParentPet( # classes don't exist yet because their module has not finished # loading return [ - GrandparentAnimal, + grandparent_animal.GrandparentAnimal, ] @@ -72,5 +72,5 @@ class ParentPet( **kwargs, ) -from petstore_api.components.schema.child_cat import ChildCat -from petstore_api.components.schema.grandparent_animal import GrandparentAnimal +from petstore_api.components.schema import child_cat +from petstore_api.components.schema import grandparent_animal diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/pet.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/pet.py index 641e73dc2e2..f9505449f6c 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/pet.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/pet.py @@ -69,8 +69,8 @@ def __getitem__(self, i: int) -> MetaOapg.items: id = schemas.Int64Schema @staticmethod - def category() -> typing.Type['Category']: - return Category + def category() -> typing.Type['category.Category']: + return category.Category class tags( @@ -81,12 +81,12 @@ class tags( class MetaOapg: @staticmethod - def items() -> typing.Type['Tag']: - return Tag + def items() -> typing.Type['tag.Tag']: + return tag.Tag def __new__( cls, - arg: typing.Union[typing.Tuple['Tag'], typing.List['Tag']], + arg: typing.Union[typing.Tuple['tag.Tag'], typing.List['tag.Tag']], _configuration: typing.Optional[schemas.Configuration] = None, ) -> 'tags': return super().__new__( @@ -95,7 +95,7 @@ def __new__( _configuration=_configuration, ) - def __getitem__(self, i: int) -> 'Tag': + def __getitem__(self, i: int) -> 'tag.Tag': return super().__getitem__(i) @@ -145,7 +145,7 @@ def __getitem__(self, name: typing_extensions.Literal["photoUrls"]) -> MetaOapg. def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["category"]) -> 'Category': ... + def __getitem__(self, name: typing_extensions.Literal["category"]) -> 'category.Category': ... @typing.overload def __getitem__(self, name: typing_extensions.Literal["tags"]) -> MetaOapg.properties.tags: ... @@ -171,7 +171,7 @@ def get_item_oapg(self, name: typing_extensions.Literal["photoUrls"]) -> MetaOap def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> typing.Union[MetaOapg.properties.id, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["category"]) -> typing.Union['Category', schemas.Unset]: ... + def get_item_oapg(self, name: typing_extensions.Literal["category"]) -> typing.Union['category.Category', schemas.Unset]: ... @typing.overload def get_item_oapg(self, name: typing_extensions.Literal["tags"]) -> typing.Union[MetaOapg.properties.tags, schemas.Unset]: ... @@ -192,7 +192,7 @@ def __new__( photoUrls: typing.Union[MetaOapg.properties.photoUrls, list, tuple, ], name: typing.Union[MetaOapg.properties.name, str, ], id: typing.Union[MetaOapg.properties.id, decimal.Decimal, int, schemas.Unset] = schemas.unset, - category: typing.Union['Category', schemas.Unset] = schemas.unset, + category: typing.Union['category.Category', schemas.Unset] = schemas.unset, tags: typing.Union[MetaOapg.properties.tags, list, tuple, schemas.Unset] = schemas.unset, status: typing.Union[MetaOapg.properties.status, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.Configuration] = None, @@ -211,5 +211,5 @@ def __new__( **kwargs, ) -from petstore_api.components.schema.category import Category -from petstore_api.components.schema.tag import Tag +from petstore_api.components.schema import category +from petstore_api.components.schema import tag diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/pet.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/pet.pyi index d4b90d6aa9a..13ef2e23e9b 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/pet.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/pet.pyi @@ -69,8 +69,8 @@ class Pet( id = schemas.Int64Schema @staticmethod - def category() -> typing.Type['Category']: - return Category + def category() -> typing.Type['category.Category']: + return category.Category class tags( @@ -81,12 +81,12 @@ class Pet( class MetaOapg: @staticmethod - def items() -> typing.Type['Tag']: - return Tag + def items() -> typing.Type['tag.Tag']: + return tag.Tag def __new__( cls, - arg: typing.Union[typing.Tuple['Tag'], typing.List['Tag']], + arg: typing.Union[typing.Tuple['tag.Tag'], typing.List['tag.Tag']], _configuration: typing.Optional[schemas.Configuration] = None, ) -> 'tags': return super().__new__( @@ -95,7 +95,7 @@ class Pet( _configuration=_configuration, ) - def __getitem__(self, i: int) -> 'Tag': + def __getitem__(self, i: int) -> 'tag.Tag': return super().__getitem__(i) @@ -137,7 +137,7 @@ class Pet( def __getitem__(self, name: typing_extensions.Literal["id"]) -> MetaOapg.properties.id: ... @typing.overload - def __getitem__(self, name: typing_extensions.Literal["category"]) -> 'Category': ... + def __getitem__(self, name: typing_extensions.Literal["category"]) -> 'category.Category': ... @typing.overload def __getitem__(self, name: typing_extensions.Literal["tags"]) -> MetaOapg.properties.tags: ... @@ -163,7 +163,7 @@ class Pet( def get_item_oapg(self, name: typing_extensions.Literal["id"]) -> typing.Union[MetaOapg.properties.id, schemas.Unset]: ... @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["category"]) -> typing.Union['Category', schemas.Unset]: ... + def get_item_oapg(self, name: typing_extensions.Literal["category"]) -> typing.Union['category.Category', schemas.Unset]: ... @typing.overload def get_item_oapg(self, name: typing_extensions.Literal["tags"]) -> typing.Union[MetaOapg.properties.tags, schemas.Unset]: ... @@ -184,7 +184,7 @@ class Pet( photoUrls: typing.Union[MetaOapg.properties.photoUrls, list, tuple, ], name: typing.Union[MetaOapg.properties.name, str, ], id: typing.Union[MetaOapg.properties.id, decimal.Decimal, int, schemas.Unset] = schemas.unset, - category: typing.Union['Category', schemas.Unset] = schemas.unset, + category: typing.Union['category.Category', schemas.Unset] = schemas.unset, tags: typing.Union[MetaOapg.properties.tags, list, tuple, schemas.Unset] = schemas.unset, status: typing.Union[MetaOapg.properties.status, str, schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.Configuration] = None, @@ -203,5 +203,5 @@ class Pet( **kwargs, ) -from petstore_api.components.schema.category import Category -from petstore_api.components.schema.tag import Tag +from petstore_api.components.schema import category +from petstore_api.components.schema import tag diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/pig.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/pig.py index 00e7176f543..1ecc9e24df9 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/pig.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/pig.py @@ -39,8 +39,8 @@ class MetaOapg: def discriminator(): return { 'className': { - 'BasquePig': BasquePig, - 'DanishPig': DanishPig, + 'BasquePig': basque_pig.BasquePig, + 'DanishPig': danish_pig.DanishPig, } } @@ -55,8 +55,8 @@ def one_of(cls): # classes don't exist yet because their module has not finished # loading return [ - BasquePig, - DanishPig, + basque_pig.BasquePig, + danish_pig.DanishPig, ] @@ -73,5 +73,5 @@ def __new__( **kwargs, ) -from petstore_api.components.schema.basque_pig import BasquePig -from petstore_api.components.schema.danish_pig import DanishPig +from petstore_api.components.schema import basque_pig +from petstore_api.components.schema import danish_pig diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/pig.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/pig.pyi index 00e7176f543..1ecc9e24df9 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/pig.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/pig.pyi @@ -39,8 +39,8 @@ class Pig( def discriminator(): return { 'className': { - 'BasquePig': BasquePig, - 'DanishPig': DanishPig, + 'BasquePig': basque_pig.BasquePig, + 'DanishPig': danish_pig.DanishPig, } } @@ -55,8 +55,8 @@ class Pig( # classes don't exist yet because their module has not finished # loading return [ - BasquePig, - DanishPig, + basque_pig.BasquePig, + danish_pig.DanishPig, ] @@ -73,5 +73,5 @@ class Pig( **kwargs, ) -from petstore_api.components.schema.basque_pig import BasquePig -from petstore_api.components.schema.danish_pig import DanishPig +from petstore_api.components.schema import basque_pig +from petstore_api.components.schema import danish_pig diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral.py index 3e65298e232..0843e94bde5 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral.py @@ -39,8 +39,8 @@ class MetaOapg: def discriminator(): return { 'quadrilateralType': { - 'ComplexQuadrilateral': ComplexQuadrilateral, - 'SimpleQuadrilateral': SimpleQuadrilateral, + 'ComplexQuadrilateral': complex_quadrilateral.ComplexQuadrilateral, + 'SimpleQuadrilateral': simple_quadrilateral.SimpleQuadrilateral, } } @@ -55,8 +55,8 @@ def one_of(cls): # classes don't exist yet because their module has not finished # loading return [ - SimpleQuadrilateral, - ComplexQuadrilateral, + simple_quadrilateral.SimpleQuadrilateral, + complex_quadrilateral.ComplexQuadrilateral, ] @@ -73,5 +73,5 @@ def __new__( **kwargs, ) -from petstore_api.components.schema.complex_quadrilateral import ComplexQuadrilateral -from petstore_api.components.schema.simple_quadrilateral import SimpleQuadrilateral +from petstore_api.components.schema import complex_quadrilateral +from petstore_api.components.schema import simple_quadrilateral diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral.pyi index 3e65298e232..0843e94bde5 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/quadrilateral.pyi @@ -39,8 +39,8 @@ class Quadrilateral( def discriminator(): return { 'quadrilateralType': { - 'ComplexQuadrilateral': ComplexQuadrilateral, - 'SimpleQuadrilateral': SimpleQuadrilateral, + 'ComplexQuadrilateral': complex_quadrilateral.ComplexQuadrilateral, + 'SimpleQuadrilateral': simple_quadrilateral.SimpleQuadrilateral, } } @@ -55,8 +55,8 @@ class Quadrilateral( # classes don't exist yet because their module has not finished # loading return [ - SimpleQuadrilateral, - ComplexQuadrilateral, + simple_quadrilateral.SimpleQuadrilateral, + complex_quadrilateral.ComplexQuadrilateral, ] @@ -73,5 +73,5 @@ class Quadrilateral( **kwargs, ) -from petstore_api.components.schema.complex_quadrilateral import ComplexQuadrilateral -from petstore_api.components.schema.simple_quadrilateral import SimpleQuadrilateral +from petstore_api.components.schema import complex_quadrilateral +from petstore_api.components.schema import simple_quadrilateral diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/scalene_triangle.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/scalene_triangle.py index 0cc98570394..4019d50d9a5 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/scalene_triangle.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/scalene_triangle.py @@ -111,7 +111,7 @@ def all_of(cls): # classes don't exist yet because their module has not finished # loading return [ - TriangleInterface, + triangle_interface.TriangleInterface, cls.all_of_1, ] @@ -129,4 +129,4 @@ def __new__( **kwargs, ) -from petstore_api.components.schema.triangle_interface import TriangleInterface +from petstore_api.components.schema import triangle_interface diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/scalene_triangle.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/scalene_triangle.pyi index 1f8f4ea4ed7..0ffc111a074 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/scalene_triangle.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/scalene_triangle.pyi @@ -105,7 +105,7 @@ class ScaleneTriangle( # classes don't exist yet because their module has not finished # loading return [ - TriangleInterface, + triangle_interface.TriangleInterface, cls.all_of_1, ] @@ -123,4 +123,4 @@ class ScaleneTriangle( **kwargs, ) -from petstore_api.components.schema.triangle_interface import TriangleInterface +from petstore_api.components.schema import triangle_interface diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_array_model.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_array_model.py new file mode 100644 index 00000000000..2f99fd90a23 --- /dev/null +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_array_model.py @@ -0,0 +1,54 @@ +# coding: utf-8 + +""" + OpenAPI Petstore + + This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 + + The version of the OpenAPI document: 1.0.0 + Generated by: https://openapi-generator.tech +""" + +from datetime import date, datetime # noqa: F401 +import decimal # noqa: F401 +import functools # noqa: F401 +import io # noqa: F401 +import re # noqa: F401 +import typing # noqa: F401 +import typing_extensions # noqa: F401 +import uuid # noqa: F401 + +import frozendict # noqa: F401 + +from petstore_api import schemas # noqa: F401 + + +class SelfReferencingArrayModel( + schemas.ListSchema +): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + + class MetaOapg: + + @staticmethod + def items() -> typing.Type['SelfReferencingArrayModel']: + return SelfReferencingArrayModel + + def __new__( + cls, + arg: typing.Union[typing.Tuple['SelfReferencingArrayModel'], typing.List['SelfReferencingArrayModel']], + _configuration: typing.Optional[schemas.Configuration] = None, + ) -> 'SelfReferencingArrayModel': + return super().__new__( + cls, + arg, + _configuration=_configuration, + ) + + def __getitem__(self, i: int) -> 'SelfReferencingArrayModel': + return super().__getitem__(i) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_array_model.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_array_model.pyi new file mode 100644 index 00000000000..2f99fd90a23 --- /dev/null +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_array_model.pyi @@ -0,0 +1,54 @@ +# coding: utf-8 + +""" + OpenAPI Petstore + + This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 + + The version of the OpenAPI document: 1.0.0 + Generated by: https://openapi-generator.tech +""" + +from datetime import date, datetime # noqa: F401 +import decimal # noqa: F401 +import functools # noqa: F401 +import io # noqa: F401 +import re # noqa: F401 +import typing # noqa: F401 +import typing_extensions # noqa: F401 +import uuid # noqa: F401 + +import frozendict # noqa: F401 + +from petstore_api import schemas # noqa: F401 + + +class SelfReferencingArrayModel( + schemas.ListSchema +): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + + class MetaOapg: + + @staticmethod + def items() -> typing.Type['SelfReferencingArrayModel']: + return SelfReferencingArrayModel + + def __new__( + cls, + arg: typing.Union[typing.Tuple['SelfReferencingArrayModel'], typing.List['SelfReferencingArrayModel']], + _configuration: typing.Optional[schemas.Configuration] = None, + ) -> 'SelfReferencingArrayModel': + return super().__new__( + cls, + arg, + _configuration=_configuration, + ) + + def __getitem__(self, i: int) -> 'SelfReferencingArrayModel': + return super().__getitem__(i) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_object_model.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_object_model.py new file mode 100644 index 00000000000..6ca698e1291 --- /dev/null +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_object_model.py @@ -0,0 +1,83 @@ +# coding: utf-8 + +""" + OpenAPI Petstore + + This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 + + The version of the OpenAPI document: 1.0.0 + Generated by: https://openapi-generator.tech +""" + +from datetime import date, datetime # noqa: F401 +import decimal # noqa: F401 +import functools # noqa: F401 +import io # noqa: F401 +import re # noqa: F401 +import typing # noqa: F401 +import typing_extensions # noqa: F401 +import uuid # noqa: F401 + +import frozendict # noqa: F401 + +from petstore_api import schemas # noqa: F401 + + +class SelfReferencingObjectModel( + schemas.DictSchema +): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + + class MetaOapg: + + class properties: + + @staticmethod + def selfRef() -> typing.Type['SelfReferencingObjectModel']: + return SelfReferencingObjectModel + __annotations__ = { + "selfRef": selfRef, + } + + @staticmethod + def additional_properties() -> typing.Type['SelfReferencingObjectModel']: + return SelfReferencingObjectModel + + @typing.overload + def __getitem__(self, name: typing_extensions.Literal["selfRef"]) -> 'SelfReferencingObjectModel': ... + + @typing.overload + def __getitem__(self, name: str) -> 'SelfReferencingObjectModel': ... + + def __getitem__(self, name: typing.Union[typing_extensions.Literal["selfRef"], str, ]): + # dict_instance[name] accessor + return super().__getitem__(name) + + @typing.overload + def get_item_oapg(self, name: typing_extensions.Literal["selfRef"]) -> typing.Union['SelfReferencingObjectModel', schemas.Unset]: ... + + @typing.overload + def get_item_oapg(self, name: str) -> typing.Union['SelfReferencingObjectModel', schemas.Unset]: ... + + def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["selfRef"], str, ]): + return super().get_item_oapg(name) + + def __new__( + cls, + *args: typing.Union[dict, frozendict.frozendict, ], + selfRef: typing.Union['SelfReferencingObjectModel', schemas.Unset] = schemas.unset, + _configuration: typing.Optional[schemas.Configuration] = None, + **kwargs: 'SelfReferencingObjectModel', + ) -> 'SelfReferencingObjectModel': + return super().__new__( + cls, + *args, + selfRef=selfRef, + _configuration=_configuration, + **kwargs, + ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_object_model.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_object_model.pyi new file mode 100644 index 00000000000..6ca698e1291 --- /dev/null +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/self_referencing_object_model.pyi @@ -0,0 +1,83 @@ +# coding: utf-8 + +""" + OpenAPI Petstore + + This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 + + The version of the OpenAPI document: 1.0.0 + Generated by: https://openapi-generator.tech +""" + +from datetime import date, datetime # noqa: F401 +import decimal # noqa: F401 +import functools # noqa: F401 +import io # noqa: F401 +import re # noqa: F401 +import typing # noqa: F401 +import typing_extensions # noqa: F401 +import uuid # noqa: F401 + +import frozendict # noqa: F401 + +from petstore_api import schemas # noqa: F401 + + +class SelfReferencingObjectModel( + schemas.DictSchema +): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + + class MetaOapg: + + class properties: + + @staticmethod + def selfRef() -> typing.Type['SelfReferencingObjectModel']: + return SelfReferencingObjectModel + __annotations__ = { + "selfRef": selfRef, + } + + @staticmethod + def additional_properties() -> typing.Type['SelfReferencingObjectModel']: + return SelfReferencingObjectModel + + @typing.overload + def __getitem__(self, name: typing_extensions.Literal["selfRef"]) -> 'SelfReferencingObjectModel': ... + + @typing.overload + def __getitem__(self, name: str) -> 'SelfReferencingObjectModel': ... + + def __getitem__(self, name: typing.Union[typing_extensions.Literal["selfRef"], str, ]): + # dict_instance[name] accessor + return super().__getitem__(name) + + @typing.overload + def get_item_oapg(self, name: typing_extensions.Literal["selfRef"]) -> typing.Union['SelfReferencingObjectModel', schemas.Unset]: ... + + @typing.overload + def get_item_oapg(self, name: str) -> typing.Union['SelfReferencingObjectModel', schemas.Unset]: ... + + def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["selfRef"], str, ]): + return super().get_item_oapg(name) + + def __new__( + cls, + *args: typing.Union[dict, frozendict.frozendict, ], + selfRef: typing.Union['SelfReferencingObjectModel', schemas.Unset] = schemas.unset, + _configuration: typing.Optional[schemas.Configuration] = None, + **kwargs: 'SelfReferencingObjectModel', + ) -> 'SelfReferencingObjectModel': + return super().__new__( + cls, + *args, + selfRef=selfRef, + _configuration=_configuration, + **kwargs, + ) diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape.py index 7765294c692..5fd06cc2462 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape.py @@ -39,8 +39,8 @@ class MetaOapg: def discriminator(): return { 'shapeType': { - 'Quadrilateral': Quadrilateral, - 'Triangle': Triangle, + 'Quadrilateral': quadrilateral.Quadrilateral, + 'Triangle': triangle.Triangle, } } @@ -55,8 +55,8 @@ def one_of(cls): # classes don't exist yet because their module has not finished # loading return [ - Triangle, - Quadrilateral, + triangle.Triangle, + quadrilateral.Quadrilateral, ] @@ -73,5 +73,5 @@ def __new__( **kwargs, ) -from petstore_api.components.schema.quadrilateral import Quadrilateral -from petstore_api.components.schema.triangle import Triangle +from petstore_api.components.schema import quadrilateral +from petstore_api.components.schema import triangle diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape.pyi index 7765294c692..5fd06cc2462 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape.pyi @@ -39,8 +39,8 @@ class Shape( def discriminator(): return { 'shapeType': { - 'Quadrilateral': Quadrilateral, - 'Triangle': Triangle, + 'Quadrilateral': quadrilateral.Quadrilateral, + 'Triangle': triangle.Triangle, } } @@ -55,8 +55,8 @@ class Shape( # classes don't exist yet because their module has not finished # loading return [ - Triangle, - Quadrilateral, + triangle.Triangle, + quadrilateral.Quadrilateral, ] @@ -73,5 +73,5 @@ class Shape( **kwargs, ) -from petstore_api.components.schema.quadrilateral import Quadrilateral -from petstore_api.components.schema.triangle import Triangle +from petstore_api.components.schema import quadrilateral +from petstore_api.components.schema import triangle diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape_or_null.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape_or_null.py index 9f16cf6dc5f..4ab2d048be4 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape_or_null.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape_or_null.py @@ -41,8 +41,8 @@ class MetaOapg: def discriminator(): return { 'shapeType': { - 'Quadrilateral': Quadrilateral, - 'Triangle': Triangle, + 'Quadrilateral': quadrilateral.Quadrilateral, + 'Triangle': triangle.Triangle, } } one_of_0 = schemas.NoneSchema @@ -59,8 +59,8 @@ def one_of(cls): # loading return [ cls.one_of_0, - Triangle, - Quadrilateral, + triangle.Triangle, + quadrilateral.Quadrilateral, ] @@ -77,5 +77,5 @@ def __new__( **kwargs, ) -from petstore_api.components.schema.quadrilateral import Quadrilateral -from petstore_api.components.schema.triangle import Triangle +from petstore_api.components.schema import quadrilateral +from petstore_api.components.schema import triangle diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape_or_null.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape_or_null.pyi index 9f16cf6dc5f..4ab2d048be4 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape_or_null.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/shape_or_null.pyi @@ -41,8 +41,8 @@ class ShapeOrNull( def discriminator(): return { 'shapeType': { - 'Quadrilateral': Quadrilateral, - 'Triangle': Triangle, + 'Quadrilateral': quadrilateral.Quadrilateral, + 'Triangle': triangle.Triangle, } } one_of_0 = schemas.NoneSchema @@ -59,8 +59,8 @@ class ShapeOrNull( # loading return [ cls.one_of_0, - Triangle, - Quadrilateral, + triangle.Triangle, + quadrilateral.Quadrilateral, ] @@ -77,5 +77,5 @@ class ShapeOrNull( **kwargs, ) -from petstore_api.components.schema.quadrilateral import Quadrilateral -from petstore_api.components.schema.triangle import Triangle +from petstore_api.components.schema import quadrilateral +from petstore_api.components.schema import triangle diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/simple_quadrilateral.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/simple_quadrilateral.py index 4aef7074700..c26a6d84a93 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/simple_quadrilateral.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/simple_quadrilateral.py @@ -111,7 +111,7 @@ def all_of(cls): # classes don't exist yet because their module has not finished # loading return [ - QuadrilateralInterface, + quadrilateral_interface.QuadrilateralInterface, cls.all_of_1, ] @@ -129,4 +129,4 @@ def __new__( **kwargs, ) -from petstore_api.components.schema.quadrilateral_interface import QuadrilateralInterface +from petstore_api.components.schema import quadrilateral_interface diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/simple_quadrilateral.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/simple_quadrilateral.pyi index 1b3d58dcaa3..078e86163cd 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/simple_quadrilateral.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/simple_quadrilateral.pyi @@ -105,7 +105,7 @@ class SimpleQuadrilateral( # classes don't exist yet because their module has not finished # loading return [ - QuadrilateralInterface, + quadrilateral_interface.QuadrilateralInterface, cls.all_of_1, ] @@ -123,4 +123,4 @@ class SimpleQuadrilateral( **kwargs, ) -from petstore_api.components.schema.quadrilateral_interface import QuadrilateralInterface +from petstore_api.components.schema import quadrilateral_interface diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/some_object.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/some_object.py index 94ed07b7f2a..e04bc8941e3 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/some_object.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/some_object.py @@ -46,7 +46,7 @@ def all_of(cls): # classes don't exist yet because their module has not finished # loading return [ - ObjectInterface, + object_interface.ObjectInterface, ] @@ -63,4 +63,4 @@ def __new__( **kwargs, ) -from petstore_api.components.schema.object_interface import ObjectInterface +from petstore_api.components.schema import object_interface diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/some_object.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/some_object.pyi index 94ed07b7f2a..e04bc8941e3 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/some_object.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/some_object.pyi @@ -46,7 +46,7 @@ class SomeObject( # classes don't exist yet because their module has not finished # loading return [ - ObjectInterface, + object_interface.ObjectInterface, ] @@ -63,4 +63,4 @@ class SomeObject( **kwargs, ) -from petstore_api.components.schema.object_interface import ObjectInterface +from petstore_api.components.schema import object_interface diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle.py b/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle.py index 7197dcfb5d7..8ac5ee096fc 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle.py @@ -39,9 +39,9 @@ class MetaOapg: def discriminator(): return { 'triangleType': { - 'EquilateralTriangle': EquilateralTriangle, - 'IsoscelesTriangle': IsoscelesTriangle, - 'ScaleneTriangle': ScaleneTriangle, + 'EquilateralTriangle': equilateral_triangle.EquilateralTriangle, + 'IsoscelesTriangle': isosceles_triangle.IsoscelesTriangle, + 'ScaleneTriangle': scalene_triangle.ScaleneTriangle, } } @@ -56,9 +56,9 @@ def one_of(cls): # classes don't exist yet because their module has not finished # loading return [ - EquilateralTriangle, - IsoscelesTriangle, - ScaleneTriangle, + equilateral_triangle.EquilateralTriangle, + isosceles_triangle.IsoscelesTriangle, + scalene_triangle.ScaleneTriangle, ] @@ -75,6 +75,6 @@ def __new__( **kwargs, ) -from petstore_api.components.schema.equilateral_triangle import EquilateralTriangle -from petstore_api.components.schema.isosceles_triangle import IsoscelesTriangle -from petstore_api.components.schema.scalene_triangle import ScaleneTriangle +from petstore_api.components.schema import equilateral_triangle +from petstore_api.components.schema import isosceles_triangle +from petstore_api.components.schema import scalene_triangle diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle.pyi b/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle.pyi index 7197dcfb5d7..8ac5ee096fc 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schema/triangle.pyi @@ -39,9 +39,9 @@ class Triangle( def discriminator(): return { 'triangleType': { - 'EquilateralTriangle': EquilateralTriangle, - 'IsoscelesTriangle': IsoscelesTriangle, - 'ScaleneTriangle': ScaleneTriangle, + 'EquilateralTriangle': equilateral_triangle.EquilateralTriangle, + 'IsoscelesTriangle': isosceles_triangle.IsoscelesTriangle, + 'ScaleneTriangle': scalene_triangle.ScaleneTriangle, } } @@ -56,9 +56,9 @@ class Triangle( # classes don't exist yet because their module has not finished # loading return [ - EquilateralTriangle, - IsoscelesTriangle, - ScaleneTriangle, + equilateral_triangle.EquilateralTriangle, + isosceles_triangle.IsoscelesTriangle, + scalene_triangle.ScaleneTriangle, ] @@ -75,6 +75,6 @@ class Triangle( **kwargs, ) -from petstore_api.components.schema.equilateral_triangle import EquilateralTriangle -from petstore_api.components.schema.isosceles_triangle import IsoscelesTriangle -from petstore_api.components.schema.scalene_triangle import ScaleneTriangle +from petstore_api.components.schema import equilateral_triangle +from petstore_api.components.schema import isosceles_triangle +from petstore_api.components.schema import scalene_triangle diff --git a/samples/openapi3/client/petstore/python/petstore_api/components/schemas/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/components/schemas/__init__.py index 8df90a4c6d5..1cd2dd267cc 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/components/schemas/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/components/schemas/__init__.py @@ -116,6 +116,8 @@ from petstore_api.components.schema.quadrilateral_interface import QuadrilateralInterface from petstore_api.components.schema.read_only_first import ReadOnlyFirst from petstore_api.components.schema.scalene_triangle import ScaleneTriangle +from petstore_api.components.schema.self_referencing_array_model import SelfReferencingArrayModel +from petstore_api.components.schema.self_referencing_object_model import SelfReferencingObjectModel from petstore_api.components.schema.shape import Shape from petstore_api.components.schema.shape_or_null import ShapeOrNull from petstore_api.components.schema.simple_quadrilateral import SimpleQuadrilateral diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/another_fake_dummy/patch/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/another_fake_dummy/patch/__init__.py index 1068b1c9098..a8480355ee8 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/another_fake_dummy/patch/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/another_fake_dummy/patch/__init__.py @@ -25,7 +25,7 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.client import Client +from petstore_api.components.schema import client from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/another_fake_dummy/patch/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/another_fake_dummy/patch/__init__.pyi index 8a529f6d8ef..9e4475bf750 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/another_fake_dummy/patch/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/another_fake_dummy/patch/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.client import Client +from petstore_api.components.schema import client from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/another_fake_dummy/patch/request_body.py b/samples/openapi3/client/petstore/python/petstore_api/paths/another_fake_dummy/patch/request_body.py index 0e43d9ca1f6..50ff48671c5 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/another_fake_dummy/patch/request_body.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/another_fake_dummy/patch/request_body.py @@ -24,10 +24,10 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.client import Client +from petstore_api.components.schema import client -application_json = Client +application_json = client.Client parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/another_fake_dummy/patch/response_for_200/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/another_fake_dummy/patch/response_for_200/__init__.py index c9624f15c57..12f31869dfd 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/another_fake_dummy/patch/response_for_200/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/another_fake_dummy/patch/response_for_200/__init__.py @@ -15,10 +15,10 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.client import Client +from petstore_api.components.schema import client # body schemas -application_json = Client +application_json = client.Client @dataclasses.dataclass diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/patch/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/patch/__init__.py index 91840ef7c58..4bb5eb8d869 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/patch/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/patch/__init__.py @@ -25,7 +25,7 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.client import Client +from petstore_api.components.schema import client from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/patch/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/patch/__init__.pyi index 0d4b2fe759c..d129e5c998d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/patch/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/patch/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.client import Client +from petstore_api.components.schema import client from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/patch/request_body.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/patch/request_body.py index 0e43d9ca1f6..50ff48671c5 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/patch/request_body.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/patch/request_body.py @@ -24,10 +24,10 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.client import Client +from petstore_api.components.schema import client -application_json = Client +application_json = client.Client parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/patch/response_for_200/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/patch/response_for_200/__init__.py index c9624f15c57..12f31869dfd 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake/patch/response_for_200/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake/patch/response_for_200/__init__.py @@ -15,10 +15,10 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.client import Client +from petstore_api.components.schema import client # body schemas -application_json = Client +application_json = client.Client @dataclasses.dataclass diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_additional_properties_with_array_of_enums/get/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_additional_properties_with_array_of_enums/get/__init__.py index 16b1e74e9d3..4c65221d144 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_additional_properties_with_array_of_enums/get/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_additional_properties_with_array_of_enums/get/__init__.py @@ -25,7 +25,7 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.additional_properties_with_array_of_enums import AdditionalPropertiesWithArrayOfEnums +from petstore_api.components.schema import additional_properties_with_array_of_enums from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_additional_properties_with_array_of_enums/get/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_additional_properties_with_array_of_enums/get/__init__.pyi index c36dcb4976b..0d48429d2b3 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_additional_properties_with_array_of_enums/get/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_additional_properties_with_array_of_enums/get/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.additional_properties_with_array_of_enums import AdditionalPropertiesWithArrayOfEnums +from petstore_api.components.schema import additional_properties_with_array_of_enums from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_additional_properties_with_array_of_enums/get/request_body.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_additional_properties_with_array_of_enums/get/request_body.py index 0c28a530cbc..fe5b558a611 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_additional_properties_with_array_of_enums/get/request_body.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_additional_properties_with_array_of_enums/get/request_body.py @@ -24,10 +24,10 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.additional_properties_with_array_of_enums import AdditionalPropertiesWithArrayOfEnums +from petstore_api.components.schema import additional_properties_with_array_of_enums -application_json = AdditionalPropertiesWithArrayOfEnums +application_json = additional_properties_with_array_of_enums.AdditionalPropertiesWithArrayOfEnums parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_additional_properties_with_array_of_enums/get/response_for_200/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_additional_properties_with_array_of_enums/get/response_for_200/__init__.py index 2f22e0c9cfa..b0d7b928c67 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_additional_properties_with_array_of_enums/get/response_for_200/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_additional_properties_with_array_of_enums/get/response_for_200/__init__.py @@ -15,10 +15,10 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.additional_properties_with_array_of_enums import AdditionalPropertiesWithArrayOfEnums +from petstore_api.components.schema import additional_properties_with_array_of_enums # body schemas -application_json = AdditionalPropertiesWithArrayOfEnums +application_json = additional_properties_with_array_of_enums.AdditionalPropertiesWithArrayOfEnums @dataclasses.dataclass diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_body_with_file_schema/put/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_body_with_file_schema/put/__init__.py index e8397cd0976..f30f670c5e1 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_body_with_file_schema/put/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_body_with_file_schema/put/__init__.py @@ -25,7 +25,7 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.file_schema_test_class import FileSchemaTestClass +from petstore_api.components.schema import file_schema_test_class from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_body_with_file_schema/put/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_body_with_file_schema/put/__init__.pyi index 9a388c43ff9..ebe7d275f3a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_body_with_file_schema/put/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_body_with_file_schema/put/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.file_schema_test_class import FileSchemaTestClass +from petstore_api.components.schema import file_schema_test_class from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_body_with_file_schema/put/request_body.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_body_with_file_schema/put/request_body.py index c503d89fed2..885746a065c 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_body_with_file_schema/put/request_body.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_body_with_file_schema/put/request_body.py @@ -24,10 +24,10 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.file_schema_test_class import FileSchemaTestClass +from petstore_api.components.schema import file_schema_test_class -application_json = FileSchemaTestClass +application_json = file_schema_test_class.FileSchemaTestClass parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_body_with_query_params/put/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_body_with_query_params/put/__init__.py index 95a9b17687c..33a4d91c635 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_body_with_query_params/put/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_body_with_query_params/put/__init__.py @@ -25,7 +25,7 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.user import User +from petstore_api.components.schema import user from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_body_with_query_params/put/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_body_with_query_params/put/__init__.pyi index 284cfc63821..ee1d7ed35f7 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_body_with_query_params/put/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_body_with_query_params/put/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.user import User +from petstore_api.components.schema import user from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_body_with_query_params/put/parameter_0.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_body_with_query_params/put/parameter_0.py index 4c19e518d2a..c82375f0a2c 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_body_with_query_params/put/parameter_0.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_body_with_query_params/put/parameter_0.py @@ -24,7 +24,7 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.user import User +from petstore_api.components.schema import user schema = schemas.StrSchema diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_body_with_query_params/put/request_body.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_body_with_query_params/put/request_body.py index 3f1331f2070..0ca5138817a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_body_with_query_params/put/request_body.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_body_with_query_params/put/request_body.py @@ -24,10 +24,10 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.user import User +from petstore_api.components.schema import user -application_json = User +application_json = user.User parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_classname_test/patch/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_classname_test/patch/__init__.py index 1d4809a373b..be8db96cb35 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_classname_test/patch/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_classname_test/patch/__init__.py @@ -25,7 +25,7 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.client import Client +from petstore_api.components.schema import client from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_classname_test/patch/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_classname_test/patch/__init__.pyi index 1cca0bc551e..7c9887e5d21 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_classname_test/patch/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_classname_test/patch/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.client import Client +from petstore_api.components.schema import client from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_classname_test/patch/request_body.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_classname_test/patch/request_body.py index 0e43d9ca1f6..50ff48671c5 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_classname_test/patch/request_body.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_classname_test/patch/request_body.py @@ -24,10 +24,10 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.client import Client +from petstore_api.components.schema import client -application_json = Client +application_json = client.Client parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_classname_test/patch/response_for_200/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_classname_test/patch/response_for_200/__init__.py index c9624f15c57..12f31869dfd 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_classname_test/patch/response_for_200/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_classname_test/patch/response_for_200/__init__.py @@ -15,10 +15,10 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.client import Client +from petstore_api.components.schema import client # body schemas -application_json = Client +application_json = client.Client @dataclasses.dataclass diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_health/get/response_for_200/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_health/get/response_for_200/__init__.py index 47bd95c923d..123d34ec4e2 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_health/get/response_for_200/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_health/get/response_for_200/__init__.py @@ -15,10 +15,10 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.health_check_result import HealthCheckResult +from petstore_api.components.schema import health_check_result # body schemas -application_json = HealthCheckResult +application_json = health_check_result.HealthCheckResult @dataclasses.dataclass diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_patch/patch/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_patch/patch/__init__.py index 17aafff4b52..f309fffe766 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_patch/patch/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_patch/patch/__init__.py @@ -25,7 +25,7 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.json_patch_request import JSONPatchRequest +from petstore_api.components.schema import json_patch_request from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_patch/patch/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_patch/patch/__init__.pyi index 4657ccf79fd..8fd89226a96 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_patch/patch/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_patch/patch/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.json_patch_request import JSONPatchRequest +from petstore_api.components.schema import json_patch_request from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_patch/patch/request_body.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_patch/patch/request_body.py index f032af425a1..9630110a712 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_patch/patch/request_body.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_json_patch/patch/request_body.py @@ -24,10 +24,10 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.json_patch_request import JSONPatchRequest +from petstore_api.components.schema import json_patch_request -application_json_patchjson = JSONPatchRequest +application_json_patchjson = json_patch_request.JSONPatchRequest parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/response_for_200/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/response_for_200/__init__.py index ab0e36067cc..9c57328a637 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/response_for_200/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_pet_id_upload_image_with_required_file/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.api_response import ApiResponse +from petstore_api.components.schema import api_response # body schemas -application_json = ApiResponse +application_json = api_response.ApiResponse @dataclasses.dataclass diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_ref_obj_in_query/get/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_ref_obj_in_query/get/__init__.py index c79aee942f1..36e4472b479 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_ref_obj_in_query/get/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_ref_obj_in_query/get/__init__.py @@ -24,7 +24,7 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.foo import Foo +from petstore_api.components.schema import foo from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_ref_obj_in_query/get/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_ref_obj_in_query/get/__init__.pyi index f1afbade470..1e529f819f6 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_ref_obj_in_query/get/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_ref_obj_in_query/get/__init__.pyi @@ -24,7 +24,7 @@ import frozendict # noqa: F401 from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.foo import Foo +from petstore_api.components.schema import foo from . import response_for_200 from . import parameter_0 diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_ref_obj_in_query/get/parameter_0.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_ref_obj_in_query/get/parameter_0.py index 52692f4b2c7..c271d5630cf 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_ref_obj_in_query/get/parameter_0.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_ref_obj_in_query/get/parameter_0.py @@ -24,10 +24,10 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.foo import Foo +from petstore_api.components.schema import foo -schema = Foo +schema = foo.Foo parameter_oapg = api_client.QueryParameter( diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_array_of_enums/post/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_array_of_enums/post/__init__.py index 27f0f8a6165..3f79d88d044 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_array_of_enums/post/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_array_of_enums/post/__init__.py @@ -25,7 +25,7 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.array_of_enums import ArrayOfEnums +from petstore_api.components.schema import array_of_enums from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_array_of_enums/post/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_array_of_enums/post/__init__.pyi index 12054911b73..27b9372e781 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_array_of_enums/post/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_array_of_enums/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.array_of_enums import ArrayOfEnums +from petstore_api.components.schema import array_of_enums from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_array_of_enums/post/request_body.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_array_of_enums/post/request_body.py index 93836bd2e2f..dc3d4114d86 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_array_of_enums/post/request_body.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_array_of_enums/post/request_body.py @@ -24,10 +24,10 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.array_of_enums import ArrayOfEnums +from petstore_api.components.schema import array_of_enums -application_json = ArrayOfEnums +application_json = array_of_enums.ArrayOfEnums parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_array_of_enums/post/response_for_200/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_array_of_enums/post/response_for_200/__init__.py index 28624531904..82f80229aa3 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_array_of_enums/post/response_for_200/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_array_of_enums/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.array_of_enums import ArrayOfEnums +from petstore_api.components.schema import array_of_enums # body schemas -application_json = ArrayOfEnums +application_json = array_of_enums.ArrayOfEnums @dataclasses.dataclass diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_arraymodel/post/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_arraymodel/post/__init__.py index 8d5383d06a1..6c27942075e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_arraymodel/post/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_arraymodel/post/__init__.py @@ -25,7 +25,7 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.animal_farm import AnimalFarm +from petstore_api.components.schema import animal_farm from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_arraymodel/post/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_arraymodel/post/__init__.pyi index 580d19f1ee9..6473183d6c1 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_arraymodel/post/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_arraymodel/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.animal_farm import AnimalFarm +from petstore_api.components.schema import animal_farm from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_arraymodel/post/request_body.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_arraymodel/post/request_body.py index 4df1360a313..41d5a4a320d 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_arraymodel/post/request_body.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_arraymodel/post/request_body.py @@ -24,10 +24,10 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.animal_farm import AnimalFarm +from petstore_api.components.schema import animal_farm -application_json = AnimalFarm +application_json = animal_farm.AnimalFarm parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_arraymodel/post/response_for_200/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_arraymodel/post/response_for_200/__init__.py index 4e9fb43a8a4..be33c1d37ab 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_arraymodel/post/response_for_200/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_arraymodel/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.animal_farm import AnimalFarm +from petstore_api.components.schema import animal_farm # body schemas -application_json = AnimalFarm +application_json = animal_farm.AnimalFarm @dataclasses.dataclass diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_boolean/post/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_boolean/post/__init__.py index 32d2ef4d1ca..f72b9acd0d2 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_boolean/post/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_boolean/post/__init__.py @@ -25,7 +25,7 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.boolean import Boolean +from petstore_api.components.schema import boolean from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_boolean/post/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_boolean/post/__init__.pyi index 6cf6af7fd5d..5a3f8e8b241 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_boolean/post/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_boolean/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.boolean import Boolean +from petstore_api.components.schema import boolean from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_boolean/post/request_body.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_boolean/post/request_body.py index 3e8c74dd784..5911305c7ab 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_boolean/post/request_body.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_boolean/post/request_body.py @@ -24,10 +24,10 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.boolean import Boolean +from petstore_api.components.schema import boolean -application_json = Boolean +application_json = boolean.Boolean parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_boolean/post/response_for_200/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_boolean/post/response_for_200/__init__.py index 7b1d1667384..2298b44d0c8 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_boolean/post/response_for_200/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_boolean/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.boolean import Boolean +from petstore_api.components.schema import boolean # body schemas -application_json = Boolean +application_json = boolean.Boolean @dataclasses.dataclass diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_composed_one_of_number_with_validations/post/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_composed_one_of_number_with_validations/post/__init__.py index ee1aa691151..e6683cbede3 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_composed_one_of_number_with_validations/post/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_composed_one_of_number_with_validations/post/__init__.py @@ -25,7 +25,7 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.composed_one_of_different_types import ComposedOneOfDifferentTypes +from petstore_api.components.schema import composed_one_of_different_types from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_composed_one_of_number_with_validations/post/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_composed_one_of_number_with_validations/post/__init__.pyi index fab3e328084..672c18429ab 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_composed_one_of_number_with_validations/post/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_composed_one_of_number_with_validations/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.composed_one_of_different_types import ComposedOneOfDifferentTypes +from petstore_api.components.schema import composed_one_of_different_types from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_composed_one_of_number_with_validations/post/request_body.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_composed_one_of_number_with_validations/post/request_body.py index 3331b9e18b6..3e82a3e12cf 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_composed_one_of_number_with_validations/post/request_body.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_composed_one_of_number_with_validations/post/request_body.py @@ -24,10 +24,10 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.composed_one_of_different_types import ComposedOneOfDifferentTypes +from petstore_api.components.schema import composed_one_of_different_types -application_json = ComposedOneOfDifferentTypes +application_json = composed_one_of_different_types.ComposedOneOfDifferentTypes parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_composed_one_of_number_with_validations/post/response_for_200/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_composed_one_of_number_with_validations/post/response_for_200/__init__.py index 0350b674f8c..c95df466bcf 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_composed_one_of_number_with_validations/post/response_for_200/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_composed_one_of_number_with_validations/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.composed_one_of_different_types import ComposedOneOfDifferentTypes +from petstore_api.components.schema import composed_one_of_different_types # body schemas -application_json = ComposedOneOfDifferentTypes +application_json = composed_one_of_different_types.ComposedOneOfDifferentTypes @dataclasses.dataclass diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_enum/post/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_enum/post/__init__.py index 094fbab3379..5df7c79a474 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_enum/post/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_enum/post/__init__.py @@ -25,7 +25,7 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.string_enum import StringEnum +from petstore_api.components.schema import string_enum from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_enum/post/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_enum/post/__init__.pyi index 392f6cae55e..7900eb80814 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_enum/post/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_enum/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.string_enum import StringEnum +from petstore_api.components.schema import string_enum from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_enum/post/request_body.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_enum/post/request_body.py index 1070f52f567..2def60051fe 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_enum/post/request_body.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_enum/post/request_body.py @@ -24,10 +24,10 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.string_enum import StringEnum +from petstore_api.components.schema import string_enum -application_json = StringEnum +application_json = string_enum.StringEnum parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_enum/post/response_for_200/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_enum/post/response_for_200/__init__.py index 3f7979ae513..0324d449912 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_enum/post/response_for_200/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_enum/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.string_enum import StringEnum +from petstore_api.components.schema import string_enum # body schemas -application_json = StringEnum +application_json = string_enum.StringEnum @dataclasses.dataclass diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_mammal/post/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_mammal/post/__init__.py index f4c6ed7ca92..86b4a9d797b 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_mammal/post/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_mammal/post/__init__.py @@ -25,7 +25,7 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.mammal import Mammal +from petstore_api.components.schema import mammal from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_mammal/post/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_mammal/post/__init__.pyi index 4f8aafea4da..d35a65d1384 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_mammal/post/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_mammal/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.mammal import Mammal +from petstore_api.components.schema import mammal from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_mammal/post/request_body.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_mammal/post/request_body.py index ce2fda1d8e9..426db3974be 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_mammal/post/request_body.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_mammal/post/request_body.py @@ -24,10 +24,10 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.mammal import Mammal +from petstore_api.components.schema import mammal -application_json = Mammal +application_json = mammal.Mammal parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_mammal/post/response_for_200/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_mammal/post/response_for_200/__init__.py index a511e1ab015..999126d769a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_mammal/post/response_for_200/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_mammal/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.mammal import Mammal +from petstore_api.components.schema import mammal # body schemas -application_json = Mammal +application_json = mammal.Mammal @dataclasses.dataclass diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_number/post/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_number/post/__init__.py index 3ba55f89513..40cc32d9a6b 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_number/post/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_number/post/__init__.py @@ -25,7 +25,7 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.number_with_validations import NumberWithValidations +from petstore_api.components.schema import number_with_validations from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_number/post/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_number/post/__init__.pyi index 0b448cf1a15..4ca5feef7d9 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_number/post/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_number/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.number_with_validations import NumberWithValidations +from petstore_api.components.schema import number_with_validations from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_number/post/request_body.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_number/post/request_body.py index 6e49c9c1f51..ca707395267 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_number/post/request_body.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_number/post/request_body.py @@ -24,10 +24,10 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.number_with_validations import NumberWithValidations +from petstore_api.components.schema import number_with_validations -application_json = NumberWithValidations +application_json = number_with_validations.NumberWithValidations parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_number/post/response_for_200/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_number/post/response_for_200/__init__.py index 20f49f81cf0..c3907476635 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_number/post/response_for_200/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_number/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.number_with_validations import NumberWithValidations +from petstore_api.components.schema import number_with_validations # body schemas -application_json = NumberWithValidations +application_json = number_with_validations.NumberWithValidations @dataclasses.dataclass diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_object_model_with_ref_props/post/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_object_model_with_ref_props/post/__init__.py index 52d2add54c9..ba8f737f14e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_object_model_with_ref_props/post/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_object_model_with_ref_props/post/__init__.py @@ -25,7 +25,7 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.object_model_with_ref_props import ObjectModelWithRefProps +from petstore_api.components.schema import object_model_with_ref_props from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_object_model_with_ref_props/post/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_object_model_with_ref_props/post/__init__.pyi index 94a486bad51..089cd1a8d93 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_object_model_with_ref_props/post/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_object_model_with_ref_props/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.object_model_with_ref_props import ObjectModelWithRefProps +from petstore_api.components.schema import object_model_with_ref_props from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_object_model_with_ref_props/post/request_body.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_object_model_with_ref_props/post/request_body.py index b87a4e42190..e22ef1e6e6a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_object_model_with_ref_props/post/request_body.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_object_model_with_ref_props/post/request_body.py @@ -24,10 +24,10 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.object_model_with_ref_props import ObjectModelWithRefProps +from petstore_api.components.schema import object_model_with_ref_props -application_json = ObjectModelWithRefProps +application_json = object_model_with_ref_props.ObjectModelWithRefProps parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_object_model_with_ref_props/post/response_for_200/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_object_model_with_ref_props/post/response_for_200/__init__.py index cac7ef13ac8..7bdb0fa24a0 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_object_model_with_ref_props/post/response_for_200/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_object_model_with_ref_props/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.object_model_with_ref_props import ObjectModelWithRefProps +from petstore_api.components.schema import object_model_with_ref_props # body schemas -application_json = ObjectModelWithRefProps +application_json = object_model_with_ref_props.ObjectModelWithRefProps @dataclasses.dataclass diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_string/post/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_string/post/__init__.py index 6f45ad60ddf..f09433f62ff 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_string/post/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_string/post/__init__.py @@ -25,7 +25,7 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.string import String +from petstore_api.components.schema import string from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_string/post/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_string/post/__init__.pyi index 215907103f5..b7e6758c6a5 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_string/post/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_string/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.string import String +from petstore_api.components.schema import string from . import response_for_200 from . import request_body diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_string/post/request_body.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_string/post/request_body.py index 7a6d6fe63f2..be7cdb0c3ef 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_string/post/request_body.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_string/post/request_body.py @@ -24,10 +24,10 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.string import String +from petstore_api.components.schema import string -application_json = String +application_json = string.String parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_string/post/response_for_200/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_string/post/response_for_200/__init__.py index e60af4b77b9..17880808697 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_string/post/response_for_200/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_refs_string/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.string import String +from petstore_api.components.schema import string # body schemas -application_json = String +application_json = string.String @dataclasses.dataclass diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/__init__.py index 1918688f203..012dfee8f21 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/__init__.py @@ -24,7 +24,7 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.string_with_validation import StringWithValidation +from petstore_api.components.schema import string_with_validation from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/__init__.pyi index 628a33a0c21..a65281c6370 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/__init__.pyi @@ -24,7 +24,7 @@ import frozendict # noqa: F401 from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.string_with_validation import StringWithValidation +from petstore_api.components.schema import string_with_validation from . import response_for_200 from . import parameter_0 diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_0.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_0.py index d072cb26c7e..543b890bde3 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_0.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_0.py @@ -24,7 +24,7 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.string_with_validation import StringWithValidation +from petstore_api.components.schema import string_with_validation diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_1.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_1.py index edf0ecca72f..dcb2e49542a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_1.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_1.py @@ -24,7 +24,7 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.string_with_validation import StringWithValidation +from petstore_api.components.schema import string_with_validation diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_2.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_2.py index f3cd026d441..8d9f37dab31 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_2.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_2.py @@ -24,7 +24,7 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.string_with_validation import StringWithValidation +from petstore_api.components.schema import string_with_validation diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_3.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_3.py index ef9dcbf3f3a..e8c13c5d25a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_3.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_3.py @@ -24,7 +24,7 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.string_with_validation import StringWithValidation +from petstore_api.components.schema import string_with_validation diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_4.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_4.py index d6fa6a084bf..5a19d1afb1a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_4.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_4.py @@ -24,7 +24,7 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.string_with_validation import StringWithValidation +from petstore_api.components.schema import string_with_validation diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_5.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_5.py index 371bbeededf..cf80f707385 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_5.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_test_query_paramters/put/parameter_5.py @@ -24,10 +24,10 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.string_with_validation import StringWithValidation +from petstore_api.components.schema import string_with_validation -schema = StringWithValidation +schema = string_with_validation.StringWithValidation parameter_oapg = api_client.QueryParameter( diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_file/post/response_for_200/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_file/post/response_for_200/__init__.py index ab0e36067cc..9c57328a637 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_file/post/response_for_200/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_file/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.api_response import ApiResponse +from petstore_api.components.schema import api_response # body schemas -application_json = ApiResponse +application_json = api_response.ApiResponse @dataclasses.dataclass diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_files/post/response_for_200/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_files/post/response_for_200/__init__.py index ab0e36067cc..9c57328a637 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_files/post/response_for_200/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/fake_upload_files/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.api_response import ApiResponse +from petstore_api.components.schema import api_response # body schemas -application_json = ApiResponse +application_json = api_response.ApiResponse @dataclasses.dataclass diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/foo/get/response_for_default/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/foo/get/response_for_default/__init__.py index f4fc7e21887..afa5c679623 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/foo/get/response_for_default/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/foo/get/response_for_default/__init__.py @@ -15,7 +15,7 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.foo import Foo +from petstore_api.components.schema import foo # body schemas @@ -30,14 +30,14 @@ class MetaOapg: class properties: @staticmethod - def string() -> typing.Type['Foo']: - return Foo + def string() -> typing.Type['foo.Foo']: + return foo.Foo __annotations__ = { "string": string, } @typing.overload - def __getitem__(self, name: typing_extensions.Literal["string"]) -> 'Foo': ... + def __getitem__(self, name: typing_extensions.Literal["string"]) -> 'foo.Foo': ... @typing.overload def __getitem__(self, name: str) -> schemas.UnsetAnyTypeSchema: ... @@ -48,7 +48,7 @@ def __getitem__(self, name: typing.Union[typing_extensions.Literal["string", ], @typing.overload - def get_item_oapg(self, name: typing_extensions.Literal["string"]) -> typing.Union['Foo', schemas.Unset]: ... + def get_item_oapg(self, name: typing_extensions.Literal["string"]) -> typing.Union['foo.Foo', schemas.Unset]: ... @typing.overload def get_item_oapg(self, name: str) -> typing.Union[schemas.UnsetAnyTypeSchema, schemas.Unset]: ... @@ -60,7 +60,7 @@ def get_item_oapg(self, name: typing.Union[typing_extensions.Literal["string", ] def __new__( cls, *args: typing.Union[dict, frozendict.frozendict, ], - string: typing.Union['Foo', schemas.Unset] = schemas.unset, + string: typing.Union['foo.Foo', schemas.Unset] = schemas.unset, _configuration: typing.Optional[schemas.Configuration] = None, **kwargs: typing.Union[schemas.AnyTypeSchema, dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, None, list, tuple, bytes], ) -> 'application_json': diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet/post/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/pet/post/__init__.py index 9b40586a3ac..ced09ba85b0 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet/post/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet/post/__init__.py @@ -25,7 +25,7 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.pet import Pet +from petstore_api.components.schema import pet from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet/post/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/pet/post/__init__.pyi index 2b680ad83f6..c51b36c2938 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet/post/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.pet import Pet +from petstore_api.components.schema import pet from . import response_for_200 from . import response_for_405 diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet/post/request_body.py b/samples/openapi3/client/petstore/python/petstore_api/paths/pet/post/request_body.py index 0145a39a14b..f008b260934 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet/post/request_body.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet/post/request_body.py @@ -24,11 +24,11 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.pet import Pet +from petstore_api.components.schema import pet -application_json = Pet -application_xml = Pet +application_json = pet.Pet +application_xml = pet.Pet parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet/put/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/pet/put/__init__.py index 3983a98f9ed..ab3c2826248 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet/put/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet/put/__init__.py @@ -25,7 +25,7 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.pet import Pet +from petstore_api.components.schema import pet from .. import path from . import response_for_400 diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet/put/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/pet/put/__init__.pyi index a9849b58e64..ca70c00f846 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet/put/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet/put/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.pet import Pet +from petstore_api.components.schema import pet from . import response_for_400 from . import response_for_404 diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet/put/request_body.py b/samples/openapi3/client/petstore/python/petstore_api/paths/pet/put/request_body.py index 0145a39a14b..f008b260934 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet/put/request_body.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet/put/request_body.py @@ -24,11 +24,11 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.pet import Pet +from petstore_api.components.schema import pet -application_json = Pet -application_xml = Pet +application_json = pet.Pet +application_xml = pet.Pet parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/response_for_200/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/response_for_200/__init__.py index 4e1663f56e1..678754d0ace 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/response_for_200/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_status/get/response_for_200/__init__.py @@ -15,7 +15,7 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.pet import Pet +from petstore_api.components.schema import pet # body schemas @@ -28,12 +28,12 @@ class application_xml( class MetaOapg: @staticmethod - def items() -> typing.Type['Pet']: - return Pet + def items() -> typing.Type['pet.Pet']: + return pet.Pet def __new__( cls, - arg: typing.Union[typing.Tuple['Pet'], typing.List['Pet']], + arg: typing.Union[typing.Tuple['pet.Pet'], typing.List['pet.Pet']], _configuration: typing.Optional[schemas.Configuration] = None, ) -> 'application_xml': return super().__new__( @@ -42,7 +42,7 @@ def __new__( _configuration=_configuration, ) - def __getitem__(self, i: int) -> 'Pet': + def __getitem__(self, i: int) -> 'pet.Pet': return super().__getitem__(i) @@ -54,12 +54,12 @@ class application_json( class MetaOapg: @staticmethod - def items() -> typing.Type['Pet']: - return Pet + def items() -> typing.Type['pet.Pet']: + return pet.Pet def __new__( cls, - arg: typing.Union[typing.Tuple['Pet'], typing.List['Pet']], + arg: typing.Union[typing.Tuple['pet.Pet'], typing.List['pet.Pet']], _configuration: typing.Optional[schemas.Configuration] = None, ) -> 'application_json': return super().__new__( @@ -68,7 +68,7 @@ def __new__( _configuration=_configuration, ) - def __getitem__(self, i: int) -> 'Pet': + def __getitem__(self, i: int) -> 'pet.Pet': return super().__getitem__(i) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/response_for_200/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/response_for_200/__init__.py index 4e1663f56e1..678754d0ace 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/response_for_200/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_find_by_tags/get/response_for_200/__init__.py @@ -15,7 +15,7 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.pet import Pet +from petstore_api.components.schema import pet # body schemas @@ -28,12 +28,12 @@ class application_xml( class MetaOapg: @staticmethod - def items() -> typing.Type['Pet']: - return Pet + def items() -> typing.Type['pet.Pet']: + return pet.Pet def __new__( cls, - arg: typing.Union[typing.Tuple['Pet'], typing.List['Pet']], + arg: typing.Union[typing.Tuple['pet.Pet'], typing.List['pet.Pet']], _configuration: typing.Optional[schemas.Configuration] = None, ) -> 'application_xml': return super().__new__( @@ -42,7 +42,7 @@ def __new__( _configuration=_configuration, ) - def __getitem__(self, i: int) -> 'Pet': + def __getitem__(self, i: int) -> 'pet.Pet': return super().__getitem__(i) @@ -54,12 +54,12 @@ class application_json( class MetaOapg: @staticmethod - def items() -> typing.Type['Pet']: - return Pet + def items() -> typing.Type['pet.Pet']: + return pet.Pet def __new__( cls, - arg: typing.Union[typing.Tuple['Pet'], typing.List['Pet']], + arg: typing.Union[typing.Tuple['pet.Pet'], typing.List['pet.Pet']], _configuration: typing.Optional[schemas.Configuration] = None, ) -> 'application_json': return super().__new__( @@ -68,7 +68,7 @@ def __new__( _configuration=_configuration, ) - def __getitem__(self, i: int) -> 'Pet': + def __getitem__(self, i: int) -> 'pet.Pet': return super().__getitem__(i) diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/get/response_for_200/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/get/response_for_200/__init__.py index 11c9e70e46e..2f0ee709286 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/get/response_for_200/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id/get/response_for_200/__init__.py @@ -15,11 +15,11 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.pet import Pet +from petstore_api.components.schema import pet # body schemas -application_xml = Pet -application_json = Pet +application_xml = pet.Pet +application_json = pet.Pet @dataclasses.dataclass diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id_upload_image/post/response_for_200/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id_upload_image/post/response_for_200/__init__.py index ab0e36067cc..9c57328a637 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id_upload_image/post/response_for_200/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/pet_pet_id_upload_image/post/response_for_200/__init__.py @@ -15,10 +15,10 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.api_response import ApiResponse +from petstore_api.components.schema import api_response # body schemas -application_json = ApiResponse +application_json = api_response.ApiResponse @dataclasses.dataclass diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/store_order/post/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/store_order/post/__init__.py index 4e5517627b9..373828a5599 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/store_order/post/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/store_order/post/__init__.py @@ -25,7 +25,7 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.order import Order +from petstore_api.components.schema import order from .. import path from . import response_for_200 diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/store_order/post/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/store_order/post/__init__.pyi index bda426265e4..d5340dbdf5a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/store_order/post/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/store_order/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.order import Order +from petstore_api.components.schema import order from . import response_for_200 from . import response_for_400 diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/store_order/post/request_body.py b/samples/openapi3/client/petstore/python/petstore_api/paths/store_order/post/request_body.py index dc4e5e6f06e..9029a910e7c 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/store_order/post/request_body.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/store_order/post/request_body.py @@ -24,10 +24,10 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.order import Order +from petstore_api.components.schema import order -application_json = Order +application_json = order.Order parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/store_order/post/response_for_200/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/store_order/post/response_for_200/__init__.py index 78f0c570940..b70f5acc44f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/store_order/post/response_for_200/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/store_order/post/response_for_200/__init__.py @@ -15,11 +15,11 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.order import Order +from petstore_api.components.schema import order # body schemas -application_xml = Order -application_json = Order +application_xml = order.Order +application_json = order.Order @dataclasses.dataclass diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/store_order_order_id/get/response_for_200/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/store_order_order_id/get/response_for_200/__init__.py index 78f0c570940..b70f5acc44f 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/store_order_order_id/get/response_for_200/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/store_order_order_id/get/response_for_200/__init__.py @@ -15,11 +15,11 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.order import Order +from petstore_api.components.schema import order # body schemas -application_xml = Order -application_json = Order +application_xml = order.Order +application_json = order.Order @dataclasses.dataclass diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/user/post/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/user/post/__init__.py index d1bb99c07ac..71c6a8dcf21 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/user/post/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/user/post/__init__.py @@ -25,7 +25,7 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.user import User +from petstore_api.components.schema import user from .. import path from . import response_for_default diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/user/post/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/user/post/__init__.pyi index 2ff127872e4..5aac2ead1af 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/user/post/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/user/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.user import User +from petstore_api.components.schema import user from . import response_for_default from . import request_body diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/user/post/request_body.py b/samples/openapi3/client/petstore/python/petstore_api/paths/user/post/request_body.py index 3f1331f2070..0ca5138817a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/user/post/request_body.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/user/post/request_body.py @@ -24,10 +24,10 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.user import User +from petstore_api.components.schema import user -application_json = User +application_json = user.User parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/user_create_with_array/post/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/user_create_with_array/post/__init__.py index d2731b1af07..2bb0f277ae9 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/user_create_with_array/post/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/user_create_with_array/post/__init__.py @@ -25,7 +25,7 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.user import User +from petstore_api.components.schema import user from .. import path from . import response_for_default diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/user_create_with_array/post/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/user_create_with_array/post/__init__.pyi index 386050051df..8b71ac23d33 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/user_create_with_array/post/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/user_create_with_array/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.user import User +from petstore_api.components.schema import user from . import response_for_default from . import request_body diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/user_create_with_array/post/request_body.py b/samples/openapi3/client/petstore/python/petstore_api/paths/user_create_with_array/post/request_body.py index 42f2082a112..4783a05d9a3 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/user_create_with_array/post/request_body.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/user_create_with_array/post/request_body.py @@ -24,7 +24,7 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.user import User +from petstore_api.components.schema import user @@ -37,12 +37,12 @@ class application_json( class MetaOapg: @staticmethod - def items() -> typing.Type['User']: - return User + def items() -> typing.Type['user.User']: + return user.User def __new__( cls, - arg: typing.Union[typing.Tuple['User'], typing.List['User']], + arg: typing.Union[typing.Tuple['user.User'], typing.List['user.User']], _configuration: typing.Optional[schemas.Configuration] = None, ) -> 'application_json': return super().__new__( @@ -51,7 +51,7 @@ def __new__( _configuration=_configuration, ) - def __getitem__(self, i: int) -> 'User': + def __getitem__(self, i: int) -> 'user.User': return super().__getitem__(i) parameter_oapg = api_client.RequestBody( diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/user_create_with_list/post/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/user_create_with_list/post/__init__.py index 8b4411e2cb4..e41f550fcc3 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/user_create_with_list/post/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/user_create_with_list/post/__init__.py @@ -25,7 +25,7 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.user import User +from petstore_api.components.schema import user from .. import path from . import response_for_default diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/user_create_with_list/post/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/user_create_with_list/post/__init__.pyi index f8dc24686b7..998c1a90078 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/user_create_with_list/post/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/user_create_with_list/post/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.user import User +from petstore_api.components.schema import user from . import response_for_default from . import request_body diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/user_create_with_list/post/request_body.py b/samples/openapi3/client/petstore/python/petstore_api/paths/user_create_with_list/post/request_body.py index 42f2082a112..4783a05d9a3 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/user_create_with_list/post/request_body.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/user_create_with_list/post/request_body.py @@ -24,7 +24,7 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.user import User +from petstore_api.components.schema import user @@ -37,12 +37,12 @@ class application_json( class MetaOapg: @staticmethod - def items() -> typing.Type['User']: - return User + def items() -> typing.Type['user.User']: + return user.User def __new__( cls, - arg: typing.Union[typing.Tuple['User'], typing.List['User']], + arg: typing.Union[typing.Tuple['user.User'], typing.List['user.User']], _configuration: typing.Optional[schemas.Configuration] = None, ) -> 'application_json': return super().__new__( @@ -51,7 +51,7 @@ def __new__( _configuration=_configuration, ) - def __getitem__(self, i: int) -> 'User': + def __getitem__(self, i: int) -> 'user.User': return super().__getitem__(i) parameter_oapg = api_client.RequestBody( diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/get/response_for_200/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/get/response_for_200/__init__.py index 57c8842cde0..52171eb3151 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/get/response_for_200/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/get/response_for_200/__init__.py @@ -15,11 +15,11 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.user import User +from petstore_api.components.schema import user # body schemas -application_xml = User -application_json = User +application_xml = user.User +application_json = user.User @dataclasses.dataclass diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/put/__init__.py b/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/put/__init__.py index 7619d6766b7..1139094d11e 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/put/__init__.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/put/__init__.py @@ -25,7 +25,7 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.user import User +from petstore_api.components.schema import user from .. import path from . import response_for_400 diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/put/__init__.pyi b/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/put/__init__.pyi index ec95485892e..56e27d28216 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/put/__init__.pyi +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/put/__init__.pyi @@ -25,7 +25,7 @@ import frozendict # noqa: F401 from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.user import User +from petstore_api.components.schema import user from . import response_for_400 from . import response_for_404 diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/put/parameter_0.py b/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/put/parameter_0.py index b830f6cd4b8..bca38591c66 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/put/parameter_0.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/put/parameter_0.py @@ -24,7 +24,7 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.user import User +from petstore_api.components.schema import user schema = schemas.StrSchema diff --git a/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/put/request_body.py b/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/put/request_body.py index 3f1331f2070..0ca5138817a 100644 --- a/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/put/request_body.py +++ b/samples/openapi3/client/petstore/python/petstore_api/paths/user_username/put/request_body.py @@ -24,10 +24,10 @@ from petstore_api import schemas # noqa: F401 -from petstore_api.components.schema.user import User +from petstore_api.components.schema import user -application_json = User +application_json = user.User parameter_oapg = api_client.RequestBody( content={ diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_self_referencing_array_model.py b/samples/openapi3/client/petstore/python/test/components/schema/test_self_referencing_array_model.py new file mode 100644 index 00000000000..0362a2505e5 --- /dev/null +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_self_referencing_array_model.py @@ -0,0 +1,25 @@ +# coding: utf-8 + +""" + OpenAPI Petstore + + This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 + + The version of the OpenAPI document: 1.0.0 + Generated by: https://openapi-generator.tech +""" + +import unittest + +import petstore_api +from petstore_api.components.schema.self_referencing_array_model import SelfReferencingArrayModel +from petstore_api import configuration + + +class TestSelfReferencingArrayModel(unittest.TestCase): + """SelfReferencingArrayModel unit test stubs""" + _configuration = configuration.Configuration() + + +if __name__ == '__main__': + unittest.main() diff --git a/samples/openapi3/client/petstore/python/test/components/schema/test_self_referencing_object_model.py b/samples/openapi3/client/petstore/python/test/components/schema/test_self_referencing_object_model.py new file mode 100644 index 00000000000..8e2f2e6c76f --- /dev/null +++ b/samples/openapi3/client/petstore/python/test/components/schema/test_self_referencing_object_model.py @@ -0,0 +1,25 @@ +# coding: utf-8 + +""" + OpenAPI Petstore + + This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 + + The version of the OpenAPI document: 1.0.0 + Generated by: https://openapi-generator.tech +""" + +import unittest + +import petstore_api +from petstore_api.components.schema.self_referencing_object_model import SelfReferencingObjectModel +from petstore_api import configuration + + +class TestSelfReferencingObjectModel(unittest.TestCase): + """SelfReferencingObjectModel unit test stubs""" + _configuration = configuration.Configuration() + + +if __name__ == '__main__': + unittest.main() diff --git a/samples/openapi3/client/petstore/python/test_python.sh b/samples/openapi3/client/petstore/python/test_python.sh index 9728a9b5316..09751d349d6 100755 --- a/samples/openapi3/client/petstore/python/test_python.sh +++ b/samples/openapi3/client/petstore/python/test_python.sh @@ -1,4 +1,4 @@ -#!/bin/bash +=#!/bin/bash REQUIREMENTS_FILE=dev-requirements.txt REQUIREMENTS_OUT=dev-requirements.txt.log diff --git a/samples/openapi3/client/petstore/python/tests_manual/test_self_referencing_array_model.py b/samples/openapi3/client/petstore/python/tests_manual/test_self_referencing_array_model.py new file mode 100644 index 00000000000..b42b18667dd --- /dev/null +++ b/samples/openapi3/client/petstore/python/tests_manual/test_self_referencing_array_model.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + OpenAPI Petstore + + This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 + + The version of the OpenAPI document: 1.0.0 + Generated by: https://openapi-generator.tech +""" + +import unittest + +import petstore_api +from petstore_api.components.schema.self_referencing_array_model import SelfReferencingArrayModel + + +class TestSelfReferencingArrayModel(unittest.TestCase): + """SelfReferencingArrayModel unit test stubs""" + def test_instantiation(self): + inst = SelfReferencingArrayModel([ + SelfReferencingArrayModel([]) + ]) + assert inst == ( + (), + ) + + invalid_type_args = [ + 1, + [ + 1, + ], + [ + [1] + ] + ] + # error when wrong type passed in + with self.assertRaises(petstore_api.ApiTypeError): + for invalid_type_arg in invalid_type_args: + SelfReferencingArrayModel(invalid_type_arg) + +if __name__ == '__main__': + unittest.main() diff --git a/samples/openapi3/client/petstore/python/tests_manual/test_self_referencing_object_model.py b/samples/openapi3/client/petstore/python/tests_manual/test_self_referencing_object_model.py new file mode 100644 index 00000000000..e0746b6e9c3 --- /dev/null +++ b/samples/openapi3/client/petstore/python/tests_manual/test_self_referencing_object_model.py @@ -0,0 +1,46 @@ +# coding: utf-8 + +""" + OpenAPI Petstore + + This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501 + + The version of the OpenAPI document: 1.0.0 + Generated by: https://openapi-generator.tech +""" + +import unittest + +import petstore_api +from petstore_api.components.schema.self_referencing_object_model import SelfReferencingObjectModel + + +class TestSelfReferencingObjectModel(unittest.TestCase): + """SelfReferencingObjectModel unit test stubs""" + def test_instantiation(self): + inst = SelfReferencingObjectModel( + selfRef=SelfReferencingObjectModel({}), + someAddProp=SelfReferencingObjectModel({}) + ) + assert inst == { + 'selfRef': {}, + 'someAddProp': {} + } + + invalid_type_kwargs = [ + { + 'selfRef': 1, + }, + { + 'someAddProp': 1 + } + ] + # error when wrong type passed in + with self.assertRaises(petstore_api.ApiTypeError): + for invalid_type_kwarg in invalid_type_kwargs: + SelfReferencingObjectModel(**invalid_type_kwarg) + + + +if __name__ == '__main__': + unittest.main()