forked from loafle/openapi-generator-original
Decommission python client generator (#15486)
* decomission python client generator * udpate * update doc
This commit is contained in:
parent
cc2dc65496
commit
780d266fe1
@ -54,7 +54,7 @@ elif [ "$NODE_INDEX" = "3" ]; then
|
|||||||
#sudo make altinstall
|
#sudo make altinstall
|
||||||
pyenv install --list
|
pyenv install --list
|
||||||
pyenv install 3.7.12
|
pyenv install 3.7.12
|
||||||
pyenv install 2.7.14
|
#pyenv install 2.7.14 #python2 no longer supported
|
||||||
pyenv global 3.7.12
|
pyenv global 3.7.12
|
||||||
|
|
||||||
# Install node@stable (for angular 6)
|
# Install node@stable (for angular 6)
|
||||||
@ -78,10 +78,10 @@ elif [ "$NODE_INDEX" = "4" ]; then
|
|||||||
echo "Running node $NODE_INDEX to test 'samples.circleci.node4' defined in pom.xml ..."
|
echo "Running node $NODE_INDEX to test 'samples.circleci.node4' defined in pom.xml ..."
|
||||||
|
|
||||||
#mvn --no-snapshot-updates --quiet verify -Psamples.circleci.node4 -Dorg.slf4j.simpleLogger.defaultLogLevel=error
|
#mvn --no-snapshot-updates --quiet verify -Psamples.circleci.node4 -Dorg.slf4j.simpleLogger.defaultLogLevel=error
|
||||||
(cd samples/openapi3/client/petstore/python && make test)
|
#(cd samples/openapi3/client/petstore/python && make test)
|
||||||
# comment out due to ModuleNotFoundError: No module named 'urllib3.request'
|
# comment out due to ModuleNotFoundError: No module named 'urllib3.request'
|
||||||
#(cd samples/openapi3/client/petstore/python-prior && make test)
|
#(cd samples/openapi3/client/petstore/python-prior && make test)
|
||||||
(cd samples/openapi3/client/3_0_3_unit_test/python && make test)
|
#(cd samples/openapi3/client/3_0_3_unit_test/python && make test)
|
||||||
|
|
||||||
else
|
else
|
||||||
echo "Running node $NODE_INDEX to test 'samples.circleci.others' defined in pom.xml ..."
|
echo "Running node $NODE_INDEX to test 'samples.circleci.others' defined in pom.xml ..."
|
||||||
|
@ -1,6 +0,0 @@
|
|||||||
generatorName: python
|
|
||||||
outputDir: samples/openapi3/client/features/dynamic-servers/python/
|
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/features/dynamic-servers.yaml
|
|
||||||
templateDir: modules/openapi-generator/src/main/resources/python
|
|
||||||
additionalProperties:
|
|
||||||
packageName: dynamic_servers
|
|
@ -1,7 +0,0 @@
|
|||||||
generatorName: python
|
|
||||||
outputDir: samples/openapi3/client/petstore/python
|
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/python/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml
|
|
||||||
templateDir: modules/openapi-generator/src/main/resources/python
|
|
||||||
additionalProperties:
|
|
||||||
packageName: petstore_api
|
|
||||||
recursionLimit: "1234"
|
|
@ -1,6 +0,0 @@
|
|||||||
generatorName: python
|
|
||||||
outputDir: samples/openapi3/client/3_0_3_unit_test/python
|
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/unit_test_spec/3_0_3_unit_test_spec.yaml
|
|
||||||
templateDir: modules/openapi-generator/src/main/resources/python
|
|
||||||
additionalProperties:
|
|
||||||
packageName: unit_test_api
|
|
@ -52,7 +52,6 @@ The following generators are available:
|
|||||||
* [php](generators/php.md)
|
* [php](generators/php.md)
|
||||||
* [php-dt (beta)](generators/php-dt.md)
|
* [php-dt (beta)](generators/php-dt.md)
|
||||||
* [powershell (beta)](generators/powershell.md)
|
* [powershell (beta)](generators/powershell.md)
|
||||||
* [python](generators/python.md)
|
|
||||||
* [python-nextgen](generators/python-nextgen.md)
|
* [python-nextgen](generators/python-nextgen.md)
|
||||||
* [r](generators/r.md)
|
* [r](generators/r.md)
|
||||||
* [ruby](generators/ruby.md)
|
* [ruby](generators/ruby.md)
|
||||||
|
@ -49,7 +49,6 @@ import org.openapitools.codegen.CodegenDiscriminator.MappedModel;
|
|||||||
import org.openapitools.codegen.api.TemplatingEngineAdapter;
|
import org.openapitools.codegen.api.TemplatingEngineAdapter;
|
||||||
import org.openapitools.codegen.config.GlobalSettings;
|
import org.openapitools.codegen.config.GlobalSettings;
|
||||||
import org.openapitools.codegen.examples.ExampleGenerator;
|
import org.openapitools.codegen.examples.ExampleGenerator;
|
||||||
import org.openapitools.codegen.languages.PythonClientCodegen;
|
|
||||||
import org.openapitools.codegen.languages.RustServerCodegen;
|
import org.openapitools.codegen.languages.RustServerCodegen;
|
||||||
import org.openapitools.codegen.meta.FeatureSet;
|
import org.openapitools.codegen.meta.FeatureSet;
|
||||||
import org.openapitools.codegen.meta.GeneratorMetadata;
|
import org.openapitools.codegen.meta.GeneratorMetadata;
|
||||||
@ -651,9 +650,7 @@ public class DefaultCodegen implements CodegenConfig {
|
|||||||
removeSelfReferenceImports(cm);
|
removeSelfReferenceImports(cm);
|
||||||
|
|
||||||
if (!this.getLegacyDiscriminatorBehavior()) {
|
if (!this.getLegacyDiscriminatorBehavior()) {
|
||||||
// skip cleaning up mapped models for python client generator
|
cm.addDiscriminatorMappedModelsImports(true);
|
||||||
// which uses its own logic
|
|
||||||
cm.addDiscriminatorMappedModelsImports(!(this instanceof PythonClientCodegen));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -3777,14 +3774,13 @@ public class DefaultCodegen implements CodegenConfig {
|
|||||||
|
|
||||||
Schema original = null;
|
Schema original = null;
|
||||||
// check if it's allOf (only 1 sub schema) with or without default/nullable/etc set in the top level
|
// check if it's allOf (only 1 sub schema) with or without default/nullable/etc set in the top level
|
||||||
if (ModelUtils.isAllOf(p) && p.getAllOf().size() == 1 && !(this instanceof PythonClientCodegen)) {
|
if (ModelUtils.isAllOf(p) && p.getAllOf().size() == 1) {
|
||||||
if (p.getAllOf().get(0) instanceof Schema) {
|
if (p.getAllOf().get(0) instanceof Schema) {
|
||||||
original = p;
|
original = p;
|
||||||
p = (Schema) p.getAllOf().get(0);
|
p = (Schema) p.getAllOf().get(0);
|
||||||
} else {
|
} else {
|
||||||
LOGGER.error("Unknown type in allOf schema. Please report the issue via openapi-generator's Github issue tracker.");
|
LOGGER.error("Unknown type in allOf schema. Please report the issue via openapi-generator's Github issue tracker.");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
CodegenProperty property = CodegenModelFactory.newInstance(CodegenModelType.PROPERTY);
|
CodegenProperty property = CodegenModelFactory.newInstance(CodegenModelType.PROPERTY);
|
||||||
|
@ -40,7 +40,6 @@ import org.openapitools.codegen.config.GlobalSettings;
|
|||||||
import org.openapitools.codegen.api.TemplatingEngineAdapter;
|
import org.openapitools.codegen.api.TemplatingEngineAdapter;
|
||||||
import org.openapitools.codegen.api.TemplateFileType;
|
import org.openapitools.codegen.api.TemplateFileType;
|
||||||
import org.openapitools.codegen.ignore.CodegenIgnoreProcessor;
|
import org.openapitools.codegen.ignore.CodegenIgnoreProcessor;
|
||||||
import org.openapitools.codegen.languages.PythonClientCodegen;
|
|
||||||
import org.openapitools.codegen.meta.GeneratorMetadata;
|
import org.openapitools.codegen.meta.GeneratorMetadata;
|
||||||
import org.openapitools.codegen.meta.Stability;
|
import org.openapitools.codegen.meta.Stability;
|
||||||
import org.openapitools.codegen.model.ApiInfoMap;
|
import org.openapitools.codegen.model.ApiInfoMap;
|
||||||
@ -546,9 +545,8 @@ public class DefaultGenerator implements Generator {
|
|||||||
ModelMap modelTemplate = modelList.get(0);
|
ModelMap modelTemplate = modelList.get(0);
|
||||||
if (modelTemplate != null && modelTemplate.getModel() != null) {
|
if (modelTemplate != null && modelTemplate.getModel() != null) {
|
||||||
CodegenModel m = modelTemplate.getModel();
|
CodegenModel m = modelTemplate.getModel();
|
||||||
if (m.isAlias && !(config instanceof PythonClientCodegen)) {
|
if (m.isAlias) {
|
||||||
// alias to number, string, enum, etc, which should not be generated as model
|
// alias to number, string, enum, etc, which should not be generated as model
|
||||||
// for PythonClientCodegen, all aliases are generated as models
|
|
||||||
continue; // Don't create user-defined classes for aliases
|
continue; // Don't create user-defined classes for aliases
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -101,7 +101,6 @@ org.openapitools.codegen.languages.PhpDataTransferClientCodegen
|
|||||||
org.openapitools.codegen.languages.PowerShellClientCodegen
|
org.openapitools.codegen.languages.PowerShellClientCodegen
|
||||||
org.openapitools.codegen.languages.ProtobufSchemaCodegen
|
org.openapitools.codegen.languages.ProtobufSchemaCodegen
|
||||||
org.openapitools.codegen.languages.PythonNextgenClientCodegen
|
org.openapitools.codegen.languages.PythonNextgenClientCodegen
|
||||||
org.openapitools.codegen.languages.PythonClientCodegen
|
|
||||||
org.openapitools.codegen.languages.PythonFastAPIServerCodegen
|
org.openapitools.codegen.languages.PythonFastAPIServerCodegen
|
||||||
org.openapitools.codegen.languages.PythonFlaskConnexionServerCodegen
|
org.openapitools.codegen.languages.PythonFlaskConnexionServerCodegen
|
||||||
org.openapitools.codegen.languages.PythonAiohttpConnexionServerCodegen
|
org.openapitools.codegen.languages.PythonAiohttpConnexionServerCodegen
|
||||||
|
@ -708,7 +708,7 @@ public class DefaultGeneratorTest {
|
|||||||
StandardOpenOption.CREATE);
|
StandardOpenOption.CREATE);
|
||||||
|
|
||||||
final CodegenConfigurator configurator = new CodegenConfigurator()
|
final CodegenConfigurator configurator = new CodegenConfigurator()
|
||||||
.setGeneratorName("python")
|
.setGeneratorName("python-nextgen")
|
||||||
.setInputSpec("src/test/resources/3_0/petstore.yaml")
|
.setInputSpec("src/test/resources/3_0/petstore.yaml")
|
||||||
.setPackageName("io.something")
|
.setPackageName("io.something")
|
||||||
.setTemplateDir(templates.toAbsolutePath().toString())
|
.setTemplateDir(templates.toAbsolutePath().toString())
|
||||||
|
@ -1,262 +0,0 @@
|
|||||||
/*
|
|
||||||
* Copyright 2018 OpenAPI-Generator Contributors (https://openapi-generator.tech)
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* https://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
package org.openapitools.codegen.python;
|
|
||||||
|
|
||||||
import com.google.common.io.Resources;
|
|
||||||
import io.swagger.v3.oas.models.OpenAPI;
|
|
||||||
import io.swagger.v3.oas.models.Operation;
|
|
||||||
import io.swagger.v3.oas.models.media.*;
|
|
||||||
import org.openapitools.codegen.*;
|
|
||||||
import org.openapitools.codegen.config.CodegenConfigurator;
|
|
||||||
import org.openapitools.codegen.languages.PythonClientCodegen;
|
|
||||||
import org.openapitools.codegen.model.ModelMap;
|
|
||||||
import org.openapitools.codegen.model.ModelsMap;
|
|
||||||
import org.openapitools.codegen.utils.ModelUtils;
|
|
||||||
import org.testng.Assert;
|
|
||||||
import org.testng.annotations.Test;
|
|
||||||
|
|
||||||
import java.io.File;
|
|
||||||
import java.io.IOException;
|
|
||||||
import java.nio.charset.StandardCharsets;
|
|
||||||
import java.nio.file.Files;
|
|
||||||
import java.nio.file.Path;
|
|
||||||
import java.util.ArrayList;
|
|
||||||
import java.util.Arrays;
|
|
||||||
import java.util.Collections;
|
|
||||||
import java.util.List;
|
|
||||||
import java.util.Map;
|
|
||||||
|
|
||||||
@SuppressWarnings("static-method")
|
|
||||||
public class PythonClientTest {
|
|
||||||
|
|
||||||
@Test(description = "tests RecursiveExampleValueWithCycle")
|
|
||||||
public void testRecursiveExampleValueWithCycle() throws Exception {
|
|
||||||
|
|
||||||
final OpenAPI openAPI = TestUtils.parseSpec("src/test/resources/3_0/issue_7532.yaml");
|
|
||||||
final PythonClientCodegen codegen = new PythonClientCodegen();
|
|
||||||
codegen.setOpenAPI(openAPI);
|
|
||||||
Schema schemaWithCycleInTreesProperty = openAPI.getComponents().getSchemas().get("Forest");
|
|
||||||
String exampleValue = codegen.toExampleValue(schemaWithCycleInTreesProperty, null);
|
|
||||||
|
|
||||||
String expectedValue = Resources.toString(
|
|
||||||
Resources.getResource("3_0/issue_7532_tree_example_value_expected.txt"),
|
|
||||||
StandardCharsets.UTF_8);
|
|
||||||
expectedValue = expectedValue.replaceAll("\\r\\n", "\n");
|
|
||||||
Assert.assertEquals(exampleValue.trim(), expectedValue.trim());
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test(expectedExceptions = RuntimeException.class)
|
|
||||||
public void testSpecWithTooLowVersionThrowsException() {
|
|
||||||
final OpenAPI openAPI = TestUtils.parseSpec("src/test/resources/2_0/petstore.yaml");
|
|
||||||
final PythonClientCodegen codegen = new PythonClientCodegen();
|
|
||||||
codegen.preprocessOpenAPI(openAPI);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
public void testSpecWithAcceptableVersion() {
|
|
||||||
final OpenAPI openAPI = TestUtils.parseSpec("src/test/resources/3_0/petstore.yaml");
|
|
||||||
final PythonClientCodegen codegen = new PythonClientCodegen();
|
|
||||||
codegen.preprocessOpenAPI(openAPI);
|
|
||||||
Assert.assertEquals(openAPI.getOpenapi() , "3.0.0");
|
|
||||||
Assert.assertTrue(openAPI.getExtensions() == null);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
public void testSpecWithAcceptableVersionAndExtension() {
|
|
||||||
final OpenAPI openAPI = TestUtils.parseSpec("src/test/resources/3_0/issue_12196.yaml");
|
|
||||||
final PythonClientCodegen codegen = new PythonClientCodegen();
|
|
||||||
codegen.preprocessOpenAPI(openAPI);
|
|
||||||
Assert.assertEquals(openAPI.getOpenapi() , "3.0.0");
|
|
||||||
Assert.assertFalse(openAPI.getExtensions().isEmpty());
|
|
||||||
Assert.assertFalse(openAPI.getExtensions().containsValue("x-original-swagger-version"));
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test(description = "tests GeoJson Example for GeoJsonGeometry")
|
|
||||||
public void testRecursiveGeoJsonExampleWhenTypeIsGeoJsonGeometry() throws IOException {
|
|
||||||
|
|
||||||
testEndpointExampleValue("/geojson",
|
|
||||||
"src/test/resources/3_0/issue_13043_recursive_model.yaml",
|
|
||||||
"3_0/issue_13043_recursive_model_expected_value.txt");
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test(description = "tests GeoJson Example for GeometryCollection")
|
|
||||||
public void testRecursiveGeoJsonExampleWhenTypeIsGeometryCollection() throws IOException {
|
|
||||||
|
|
||||||
testEndpointExampleValue("/geojson_geometry_collection",
|
|
||||||
"src/test/resources/3_0/issue_13043_recursive_model.yaml",
|
|
||||||
"3_0/issue_13043_geometry_collection_expected_value.txt");
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
private void testEndpointExampleValue(String endpoint, String specFilePath, String expectedAnswerPath) throws IOException {
|
|
||||||
final OpenAPI openAPI = TestUtils.parseFlattenSpec(specFilePath);
|
|
||||||
final PythonClientCodegen codegen = new PythonClientCodegen();
|
|
||||||
codegen.setOpenAPI(openAPI);
|
|
||||||
|
|
||||||
final Operation operation = openAPI.getPaths().get(endpoint).getPost();
|
|
||||||
Schema schema = ModelUtils.getSchemaFromRequestBody(operation.getRequestBody());
|
|
||||||
String exampleValue = codegen.toExampleValue(schema, null);
|
|
||||||
|
|
||||||
// uncomment if you need to regenerate the expected value
|
|
||||||
// PrintWriter printWriter = new PrintWriter("src/test/resources/" + expectedAnswerPath);
|
|
||||||
// printWriter.write(exampleValue);
|
|
||||||
// printWriter.close();
|
|
||||||
// org.junit.Assert.assertTrue(false);
|
|
||||||
|
|
||||||
String expectedValue = Resources.toString(
|
|
||||||
Resources.getResource(expectedAnswerPath),
|
|
||||||
StandardCharsets.UTF_8);
|
|
||||||
expectedValue = expectedValue.replaceAll("\\r\\n", "\n");
|
|
||||||
Assert.assertEquals(exampleValue.trim(), expectedValue.trim());
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
public void testApiTestsNotGenerated() throws Exception {
|
|
||||||
File output = Files.createTempDirectory("test").toFile();
|
|
||||||
|
|
||||||
Map<String, String> globalProperties = Collections.singletonMap("apiTests", "false");
|
|
||||||
final CodegenConfigurator configurator = new CodegenConfigurator()
|
|
||||||
.setGlobalProperties(globalProperties)
|
|
||||||
.setGeneratorName("python")
|
|
||||||
.setInputSpec("src/test/resources/3_0/petstore.yaml")
|
|
||||||
.setOutputDir(output.getAbsolutePath().replace("\\", "/"));
|
|
||||||
|
|
||||||
final ClientOptInput clientOptInput = configurator.toClientOptInput();
|
|
||||||
DefaultGenerator generator = new DefaultGenerator();
|
|
||||||
List<File> files = generator.opts(clientOptInput).generate();
|
|
||||||
Assert.assertTrue(files.size() > 0);
|
|
||||||
|
|
||||||
Path pathThatShouldNotExist = output.toPath().resolve("openapi_client/test/test_paths");
|
|
||||||
Assert.assertFalse(Files.isDirectory(pathThatShouldNotExist));
|
|
||||||
output.deleteOnExit();
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
public void testApisNotGenerated() throws Exception {
|
|
||||||
File output = Files.createTempDirectory("test").toFile();
|
|
||||||
|
|
||||||
Map<String, String> globalProperties = Collections.singletonMap("models", "");
|
|
||||||
final CodegenConfigurator configurator = new CodegenConfigurator()
|
|
||||||
.setGlobalProperties(globalProperties)
|
|
||||||
.setGeneratorName("python")
|
|
||||||
.setInputSpec("src/test/resources/3_0/petstore.yaml")
|
|
||||||
.setOutputDir(output.getAbsolutePath().replace("\\", "/"));
|
|
||||||
|
|
||||||
final ClientOptInput clientOptInput = configurator.toClientOptInput();
|
|
||||||
DefaultGenerator generator = new DefaultGenerator();
|
|
||||||
List<File> files = generator.opts(clientOptInput).generate();
|
|
||||||
Assert.assertTrue(files.size() > 0);
|
|
||||||
|
|
||||||
Path pathThatShouldNotExist = output.toPath().resolve("openapi_client/paths");
|
|
||||||
Assert.assertFalse(Files.isDirectory(pathThatShouldNotExist));
|
|
||||||
output.deleteOnExit();
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
public void testRegexWithoutTrailingSlashWorks() {
|
|
||||||
OpenAPI openAPI = TestUtils.parseFlattenSpec("src/test/resources/3_0/11_regex.yaml");
|
|
||||||
PythonClientCodegen codegen = new PythonClientCodegen();
|
|
||||||
codegen.setOpenAPI(openAPI);
|
|
||||||
|
|
||||||
String modelName = "UUID";
|
|
||||||
Schema schema = openAPI.getComponents().getSchemas().get(modelName);
|
|
||||||
|
|
||||||
CodegenModel cm = codegen.fromModel(modelName, schema);
|
|
||||||
String expectedRegexPattern = "[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}";
|
|
||||||
Assert.assertEquals(cm.getPattern(), expectedRegexPattern);
|
|
||||||
Assert.assertEquals(cm.vendorExtensions.get("x-regex"), expectedRegexPattern);
|
|
||||||
Assert.assertFalse(cm.vendorExtensions.containsKey("x-modifiers"));
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
public void testRegexWithMultipleFlagsWorks() {
|
|
||||||
OpenAPI openAPI = TestUtils.parseFlattenSpec("src/test/resources/3_0/11_regex.yaml");
|
|
||||||
PythonClientCodegen codegen = new PythonClientCodegen();
|
|
||||||
codegen.setOpenAPI(openAPI);
|
|
||||||
|
|
||||||
String modelName = "StringWithRegexWithThreeFlags";
|
|
||||||
Schema schema = openAPI.getComponents().getSchemas().get(modelName);
|
|
||||||
|
|
||||||
CodegenModel cm = codegen.fromModel(modelName, schema);
|
|
||||||
String expectedRegexPattern = "a.";
|
|
||||||
Assert.assertEquals(cm.getPattern(), expectedRegexPattern);
|
|
||||||
Assert.assertEquals(cm.vendorExtensions.get("x-regex"), expectedRegexPattern);
|
|
||||||
Assert.assertEquals(cm.vendorExtensions.get("x-modifiers"), Arrays.asList("DOTALL", "IGNORECASE", "MULTILINE"));
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
public void testEnumNames() {
|
|
||||||
OpenAPI openAPI = TestUtils.parseFlattenSpec("src/test/resources/3_0/13942_schema_enum_names.yaml");
|
|
||||||
PythonClientCodegen codegen = new PythonClientCodegen();
|
|
||||||
codegen.setOpenAPI(openAPI);
|
|
||||||
|
|
||||||
String modelName = "StringEnum";
|
|
||||||
Schema schema = openAPI.getComponents().getSchemas().get(modelName);
|
|
||||||
|
|
||||||
CodegenModel cm = codegen.fromModel(modelName, schema);
|
|
||||||
|
|
||||||
ModelMap modelMap = new ModelMap();
|
|
||||||
modelMap.setModel(cm);
|
|
||||||
|
|
||||||
ModelsMap modelsMap = new ModelsMap();
|
|
||||||
modelsMap.setModels(Collections.singletonList(modelMap));
|
|
||||||
codegen.postProcessModels(modelsMap);
|
|
||||||
|
|
||||||
ArrayList<Map<String, Object>> enumVars = (ArrayList<Map<String, Object>>) cm.getAllowableValues().get("enumVars");
|
|
||||||
Assert.assertEquals(enumVars.size(), 2);
|
|
||||||
Assert.assertEquals(enumVars.get(0).get("name"), "DIGIT_THREE_67B9C");
|
|
||||||
Assert.assertEquals(enumVars.get(1).get("name"), "FFA5A4");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test(description = "format imports of models using a package containing dots")
|
|
||||||
public void testImportWithQualifiedPackageName() throws Exception {
|
|
||||||
final PythonClientCodegen codegen = new PythonClientCodegen();
|
|
||||||
codegen.setPackageName("openapi.client");
|
|
||||||
|
|
||||||
String importValue = codegen.toModelImport("model_name");
|
|
||||||
Assert.assertEquals(importValue, "from openapi.client.model.model_name import ModelName");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
public void testIdenticalSchemasHaveDifferentBasenames() {
|
|
||||||
final PythonClientCodegen codegen = new PythonClientCodegen();
|
|
||||||
|
|
||||||
Schema objSchema = new Schema();
|
|
||||||
objSchema.setType("object");
|
|
||||||
Schema addProp = new Schema();
|
|
||||||
addProp.setType("object");
|
|
||||||
objSchema.setAdditionalProperties(addProp);
|
|
||||||
|
|
||||||
Schema arraySchema = new ArraySchema();
|
|
||||||
Schema items = new Schema();
|
|
||||||
items.setType("object");
|
|
||||||
arraySchema.setItems(items);
|
|
||||||
|
|
||||||
CodegenProperty objSchemaProp = codegen.fromProperty("objSchemaProp", objSchema, false, false);
|
|
||||||
CodegenProperty arraySchemaProp = codegen.fromProperty("arraySchemaProp", arraySchema, false, false);
|
|
||||||
Assert.assertEquals(objSchemaProp.getAdditionalProperties().baseName, "additional_properties");
|
|
||||||
Assert.assertEquals(arraySchemaProp.getItems().baseName, "items");
|
|
||||||
|
|
||||||
CodegenModel objSchemaModel = codegen.fromModel("objSchemaModel", objSchema);
|
|
||||||
CodegenModel arraySchemaModel = codegen.fromModel("arraySchemaModel", arraySchema);
|
|
||||||
Assert.assertEquals(objSchemaModel.getAdditionalProperties().baseName, "additional_properties");
|
|
||||||
Assert.assertEquals(arraySchemaModel.getItems().baseName, "items");
|
|
||||||
}
|
|
||||||
}
|
|
2
pom.xml
2
pom.xml
@ -1249,8 +1249,6 @@
|
|||||||
</property>
|
</property>
|
||||||
</activation>
|
</activation>
|
||||||
<modules>
|
<modules>
|
||||||
<!-- python clients which don't need the server running -->
|
|
||||||
<module>samples/openapi3/client/petstore/python</module>
|
|
||||||
</modules>
|
</modules>
|
||||||
</profile>
|
</profile>
|
||||||
<!-- other tests in CircleCI -->
|
<!-- other tests in CircleCI -->
|
||||||
|
@ -1,67 +0,0 @@
|
|||||||
# Byte-compiled / optimized / DLL files
|
|
||||||
__pycache__/
|
|
||||||
*.py[cod]
|
|
||||||
*$py.class
|
|
||||||
|
|
||||||
# C extensions
|
|
||||||
*.so
|
|
||||||
|
|
||||||
# Distribution / packaging
|
|
||||||
.Python
|
|
||||||
env/
|
|
||||||
build/
|
|
||||||
develop-eggs/
|
|
||||||
dist/
|
|
||||||
downloads/
|
|
||||||
eggs/
|
|
||||||
.eggs/
|
|
||||||
lib/
|
|
||||||
lib64/
|
|
||||||
parts/
|
|
||||||
sdist/
|
|
||||||
var/
|
|
||||||
*.egg-info/
|
|
||||||
.installed.cfg
|
|
||||||
*.egg
|
|
||||||
|
|
||||||
# PyInstaller
|
|
||||||
# Usually these files are written by a python script from a template
|
|
||||||
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
||||||
*.manifest
|
|
||||||
*.spec
|
|
||||||
|
|
||||||
# Installer logs
|
|
||||||
pip-log.txt
|
|
||||||
pip-delete-this-directory.txt
|
|
||||||
dev-requirements.txt.log
|
|
||||||
|
|
||||||
# Unit test / coverage reports
|
|
||||||
htmlcov/
|
|
||||||
.tox/
|
|
||||||
.coverage
|
|
||||||
.coverage.*
|
|
||||||
.cache
|
|
||||||
nosetests.xml
|
|
||||||
coverage.xml
|
|
||||||
*,cover
|
|
||||||
.hypothesis/
|
|
||||||
venv/
|
|
||||||
.venv/
|
|
||||||
.python-version
|
|
||||||
.pytest_cache
|
|
||||||
|
|
||||||
# Translations
|
|
||||||
*.mo
|
|
||||||
*.pot
|
|
||||||
|
|
||||||
# Django stuff:
|
|
||||||
*.log
|
|
||||||
|
|
||||||
# Sphinx documentation
|
|
||||||
docs/_build/
|
|
||||||
|
|
||||||
# PyBuilder
|
|
||||||
target/
|
|
||||||
|
|
||||||
#Ipython Notebook
|
|
||||||
.ipynb_checkpoints
|
|
@ -1,24 +0,0 @@
|
|||||||
# ref: https://docs.gitlab.com/ee/ci/README.html
|
|
||||||
|
|
||||||
stages:
|
|
||||||
- test
|
|
||||||
|
|
||||||
.tests:
|
|
||||||
stage: test
|
|
||||||
script:
|
|
||||||
- pip install -r requirements.txt
|
|
||||||
- pip install -r test-requirements.txt
|
|
||||||
- pytest --cov=unit_test_api
|
|
||||||
|
|
||||||
test-3.5:
|
|
||||||
extends: .tests
|
|
||||||
image: python:3.5-alpine
|
|
||||||
test-3.6:
|
|
||||||
extends: .tests
|
|
||||||
image: python:3.6-alpine
|
|
||||||
test-3.7:
|
|
||||||
extends: .tests
|
|
||||||
image: python:3.7-alpine
|
|
||||||
test-3.8:
|
|
||||||
extends: .tests
|
|
||||||
image: python:3.8-alpine
|
|
@ -1,23 +0,0 @@
|
|||||||
# OpenAPI Generator Ignore
|
|
||||||
# Generated by openapi-generator https://github.com/openapitools/openapi-generator
|
|
||||||
|
|
||||||
# Use this file to prevent files from being overwritten by the generator.
|
|
||||||
# The patterns follow closely to .gitignore or .dockerignore.
|
|
||||||
|
|
||||||
# As an example, the C# client generator defines ApiClient.cs.
|
|
||||||
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
|
|
||||||
#ApiClient.cs
|
|
||||||
|
|
||||||
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
|
|
||||||
#foo/*/qux
|
|
||||||
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
|
|
||||||
|
|
||||||
# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
|
|
||||||
#foo/**/qux
|
|
||||||
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
|
|
||||||
|
|
||||||
# You can also negate patterns with an exclamation (!).
|
|
||||||
# For example, you can ignore all files in a docs folder with the file extension .md:
|
|
||||||
#docs/*.md
|
|
||||||
# Then explicitly reverse the ignore rule for a single file:
|
|
||||||
#!docs/README.md
|
|
@ -1,421 +0,0 @@
|
|||||||
.gitignore
|
|
||||||
.gitlab-ci.yml
|
|
||||||
.travis.yml
|
|
||||||
README.md
|
|
||||||
docs/apis/tags/AdditionalPropertiesApi.md
|
|
||||||
docs/apis/tags/AllOfApi.md
|
|
||||||
docs/apis/tags/AnyOfApi.md
|
|
||||||
docs/apis/tags/ContentTypeJsonApi.md
|
|
||||||
docs/apis/tags/DefaultApi.md
|
|
||||||
docs/apis/tags/EnumApi.md
|
|
||||||
docs/apis/tags/FormatApi.md
|
|
||||||
docs/apis/tags/ItemsApi.md
|
|
||||||
docs/apis/tags/MaxItemsApi.md
|
|
||||||
docs/apis/tags/MaxLengthApi.md
|
|
||||||
docs/apis/tags/MaxPropertiesApi.md
|
|
||||||
docs/apis/tags/MaximumApi.md
|
|
||||||
docs/apis/tags/MinItemsApi.md
|
|
||||||
docs/apis/tags/MinLengthApi.md
|
|
||||||
docs/apis/tags/MinPropertiesApi.md
|
|
||||||
docs/apis/tags/MinimumApi.md
|
|
||||||
docs/apis/tags/ModelNotApi.md
|
|
||||||
docs/apis/tags/MultipleOfApi.md
|
|
||||||
docs/apis/tags/OneOfApi.md
|
|
||||||
docs/apis/tags/OperationRequestBodyApi.md
|
|
||||||
docs/apis/tags/PathPostApi.md
|
|
||||||
docs/apis/tags/PatternApi.md
|
|
||||||
docs/apis/tags/PropertiesApi.md
|
|
||||||
docs/apis/tags/RefApi.md
|
|
||||||
docs/apis/tags/RequiredApi.md
|
|
||||||
docs/apis/tags/ResponseContentContentTypeSchemaApi.md
|
|
||||||
docs/apis/tags/TypeApi.md
|
|
||||||
docs/apis/tags/UniqueItemsApi.md
|
|
||||||
docs/models/AdditionalpropertiesAllowsASchemaWhichShouldValidate.md
|
|
||||||
docs/models/AdditionalpropertiesAreAllowedByDefault.md
|
|
||||||
docs/models/AdditionalpropertiesCanExistByItself.md
|
|
||||||
docs/models/AdditionalpropertiesShouldNotLookInApplicators.md
|
|
||||||
docs/models/Allof.md
|
|
||||||
docs/models/AllofCombinedWithAnyofOneof.md
|
|
||||||
docs/models/AllofSimpleTypes.md
|
|
||||||
docs/models/AllofWithBaseSchema.md
|
|
||||||
docs/models/AllofWithOneEmptySchema.md
|
|
||||||
docs/models/AllofWithTheFirstEmptySchema.md
|
|
||||||
docs/models/AllofWithTheLastEmptySchema.md
|
|
||||||
docs/models/AllofWithTwoEmptySchemas.md
|
|
||||||
docs/models/Anyof.md
|
|
||||||
docs/models/AnyofComplexTypes.md
|
|
||||||
docs/models/AnyofWithBaseSchema.md
|
|
||||||
docs/models/AnyofWithOneEmptySchema.md
|
|
||||||
docs/models/ArrayTypeMatchesArrays.md
|
|
||||||
docs/models/BooleanTypeMatchesBooleans.md
|
|
||||||
docs/models/ByInt.md
|
|
||||||
docs/models/ByNumber.md
|
|
||||||
docs/models/BySmallNumber.md
|
|
||||||
docs/models/DateTimeFormat.md
|
|
||||||
docs/models/EmailFormat.md
|
|
||||||
docs/models/EnumWith0DoesNotMatchFalse.md
|
|
||||||
docs/models/EnumWith1DoesNotMatchTrue.md
|
|
||||||
docs/models/EnumWithEscapedCharacters.md
|
|
||||||
docs/models/EnumWithFalseDoesNotMatch0.md
|
|
||||||
docs/models/EnumWithTrueDoesNotMatch1.md
|
|
||||||
docs/models/EnumsInProperties.md
|
|
||||||
docs/models/ForbiddenProperty.md
|
|
||||||
docs/models/HostnameFormat.md
|
|
||||||
docs/models/IntegerTypeMatchesIntegers.md
|
|
||||||
docs/models/InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf.md
|
|
||||||
docs/models/InvalidStringValueForDefault.md
|
|
||||||
docs/models/Ipv4Format.md
|
|
||||||
docs/models/Ipv6Format.md
|
|
||||||
docs/models/JsonPointerFormat.md
|
|
||||||
docs/models/MaximumValidation.md
|
|
||||||
docs/models/MaximumValidationWithUnsignedInteger.md
|
|
||||||
docs/models/MaxitemsValidation.md
|
|
||||||
docs/models/MaxlengthValidation.md
|
|
||||||
docs/models/Maxproperties0MeansTheObjectIsEmpty.md
|
|
||||||
docs/models/MaxpropertiesValidation.md
|
|
||||||
docs/models/MinimumValidation.md
|
|
||||||
docs/models/MinimumValidationWithSignedInteger.md
|
|
||||||
docs/models/MinitemsValidation.md
|
|
||||||
docs/models/MinlengthValidation.md
|
|
||||||
docs/models/MinpropertiesValidation.md
|
|
||||||
docs/models/ModelNot.md
|
|
||||||
docs/models/NestedAllofToCheckValidationSemantics.md
|
|
||||||
docs/models/NestedAnyofToCheckValidationSemantics.md
|
|
||||||
docs/models/NestedItems.md
|
|
||||||
docs/models/NestedOneofToCheckValidationSemantics.md
|
|
||||||
docs/models/NotMoreComplexSchema.md
|
|
||||||
docs/models/NulCharactersInStrings.md
|
|
||||||
docs/models/NullTypeMatchesOnlyTheNullObject.md
|
|
||||||
docs/models/NumberTypeMatchesNumbers.md
|
|
||||||
docs/models/ObjectPropertiesValidation.md
|
|
||||||
docs/models/Oneof.md
|
|
||||||
docs/models/OneofComplexTypes.md
|
|
||||||
docs/models/OneofWithBaseSchema.md
|
|
||||||
docs/models/OneofWithEmptySchema.md
|
|
||||||
docs/models/OneofWithRequired.md
|
|
||||||
docs/models/PatternIsNotAnchored.md
|
|
||||||
docs/models/PatternValidation.md
|
|
||||||
docs/models/PropertiesWithEscapedCharacters.md
|
|
||||||
docs/models/PropertyNamedRefThatIsNotAReference.md
|
|
||||||
docs/models/RefInAdditionalproperties.md
|
|
||||||
docs/models/RefInAllof.md
|
|
||||||
docs/models/RefInAnyof.md
|
|
||||||
docs/models/RefInItems.md
|
|
||||||
docs/models/RefInNot.md
|
|
||||||
docs/models/RefInOneof.md
|
|
||||||
docs/models/RefInProperty.md
|
|
||||||
docs/models/RequiredDefaultValidation.md
|
|
||||||
docs/models/RequiredValidation.md
|
|
||||||
docs/models/RequiredWithEmptyArray.md
|
|
||||||
docs/models/RequiredWithEscapedCharacters.md
|
|
||||||
docs/models/SimpleEnumValidation.md
|
|
||||||
docs/models/StringTypeMatchesStrings.md
|
|
||||||
docs/models/TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing.md
|
|
||||||
docs/models/UniqueitemsFalseValidation.md
|
|
||||||
docs/models/UniqueitemsValidation.md
|
|
||||||
docs/models/UriFormat.md
|
|
||||||
docs/models/UriReferenceFormat.md
|
|
||||||
docs/models/UriTemplateFormat.md
|
|
||||||
git_push.sh
|
|
||||||
requirements.txt
|
|
||||||
setup.cfg
|
|
||||||
setup.py
|
|
||||||
test-requirements.txt
|
|
||||||
test/__init__.py
|
|
||||||
test/test_models/__init__.py
|
|
||||||
test/test_models/test_additionalproperties_allows_a_schema_which_should_validate.py
|
|
||||||
test/test_models/test_additionalproperties_are_allowed_by_default.py
|
|
||||||
test/test_models/test_additionalproperties_can_exist_by_itself.py
|
|
||||||
test/test_models/test_additionalproperties_should_not_look_in_applicators.py
|
|
||||||
test/test_models/test_allof.py
|
|
||||||
test/test_models/test_allof_combined_with_anyof_oneof.py
|
|
||||||
test/test_models/test_allof_simple_types.py
|
|
||||||
test/test_models/test_allof_with_base_schema.py
|
|
||||||
test/test_models/test_allof_with_one_empty_schema.py
|
|
||||||
test/test_models/test_allof_with_the_first_empty_schema.py
|
|
||||||
test/test_models/test_allof_with_the_last_empty_schema.py
|
|
||||||
test/test_models/test_allof_with_two_empty_schemas.py
|
|
||||||
test/test_models/test_anyof.py
|
|
||||||
test/test_models/test_anyof_complex_types.py
|
|
||||||
test/test_models/test_anyof_with_base_schema.py
|
|
||||||
test/test_models/test_anyof_with_one_empty_schema.py
|
|
||||||
test/test_models/test_array_type_matches_arrays.py
|
|
||||||
test/test_models/test_boolean_type_matches_booleans.py
|
|
||||||
test/test_models/test_by_int.py
|
|
||||||
test/test_models/test_by_number.py
|
|
||||||
test/test_models/test_by_small_number.py
|
|
||||||
test/test_models/test_date_time_format.py
|
|
||||||
test/test_models/test_email_format.py
|
|
||||||
test/test_models/test_enum_with0_does_not_match_false.py
|
|
||||||
test/test_models/test_enum_with1_does_not_match_true.py
|
|
||||||
test/test_models/test_enum_with_escaped_characters.py
|
|
||||||
test/test_models/test_enum_with_false_does_not_match0.py
|
|
||||||
test/test_models/test_enum_with_true_does_not_match1.py
|
|
||||||
test/test_models/test_enums_in_properties.py
|
|
||||||
test/test_models/test_forbidden_property.py
|
|
||||||
test/test_models/test_hostname_format.py
|
|
||||||
test/test_models/test_integer_type_matches_integers.py
|
|
||||||
test/test_models/test_invalid_instance_should_not_raise_error_when_float_division_inf.py
|
|
||||||
test/test_models/test_invalid_string_value_for_default.py
|
|
||||||
test/test_models/test_ipv4_format.py
|
|
||||||
test/test_models/test_ipv6_format.py
|
|
||||||
test/test_models/test_json_pointer_format.py
|
|
||||||
test/test_models/test_maximum_validation.py
|
|
||||||
test/test_models/test_maximum_validation_with_unsigned_integer.py
|
|
||||||
test/test_models/test_maxitems_validation.py
|
|
||||||
test/test_models/test_maxlength_validation.py
|
|
||||||
test/test_models/test_maxproperties0_means_the_object_is_empty.py
|
|
||||||
test/test_models/test_maxproperties_validation.py
|
|
||||||
test/test_models/test_minimum_validation.py
|
|
||||||
test/test_models/test_minimum_validation_with_signed_integer.py
|
|
||||||
test/test_models/test_minitems_validation.py
|
|
||||||
test/test_models/test_minlength_validation.py
|
|
||||||
test/test_models/test_minproperties_validation.py
|
|
||||||
test/test_models/test_model_not.py
|
|
||||||
test/test_models/test_nested_allof_to_check_validation_semantics.py
|
|
||||||
test/test_models/test_nested_anyof_to_check_validation_semantics.py
|
|
||||||
test/test_models/test_nested_items.py
|
|
||||||
test/test_models/test_nested_oneof_to_check_validation_semantics.py
|
|
||||||
test/test_models/test_not_more_complex_schema.py
|
|
||||||
test/test_models/test_nul_characters_in_strings.py
|
|
||||||
test/test_models/test_null_type_matches_only_the_null_object.py
|
|
||||||
test/test_models/test_number_type_matches_numbers.py
|
|
||||||
test/test_models/test_object_properties_validation.py
|
|
||||||
test/test_models/test_oneof.py
|
|
||||||
test/test_models/test_oneof_complex_types.py
|
|
||||||
test/test_models/test_oneof_with_base_schema.py
|
|
||||||
test/test_models/test_oneof_with_empty_schema.py
|
|
||||||
test/test_models/test_oneof_with_required.py
|
|
||||||
test/test_models/test_pattern_is_not_anchored.py
|
|
||||||
test/test_models/test_pattern_validation.py
|
|
||||||
test/test_models/test_properties_with_escaped_characters.py
|
|
||||||
test/test_models/test_property_named_ref_that_is_not_a_reference.py
|
|
||||||
test/test_models/test_ref_in_additionalproperties.py
|
|
||||||
test/test_models/test_ref_in_allof.py
|
|
||||||
test/test_models/test_ref_in_anyof.py
|
|
||||||
test/test_models/test_ref_in_items.py
|
|
||||||
test/test_models/test_ref_in_not.py
|
|
||||||
test/test_models/test_ref_in_oneof.py
|
|
||||||
test/test_models/test_ref_in_property.py
|
|
||||||
test/test_models/test_required_default_validation.py
|
|
||||||
test/test_models/test_required_validation.py
|
|
||||||
test/test_models/test_required_with_empty_array.py
|
|
||||||
test/test_models/test_required_with_escaped_characters.py
|
|
||||||
test/test_models/test_simple_enum_validation.py
|
|
||||||
test/test_models/test_string_type_matches_strings.py
|
|
||||||
test/test_models/test_the_default_keyword_does_not_do_anything_if_the_property_is_missing.py
|
|
||||||
test/test_models/test_uniqueitems_false_validation.py
|
|
||||||
test/test_models/test_uniqueitems_validation.py
|
|
||||||
test/test_models/test_uri_format.py
|
|
||||||
test/test_models/test_uri_reference_format.py
|
|
||||||
test/test_models/test_uri_template_format.py
|
|
||||||
tox.ini
|
|
||||||
unit_test_api/__init__.py
|
|
||||||
unit_test_api/api_client.py
|
|
||||||
unit_test_api/apis/__init__.py
|
|
||||||
unit_test_api/apis/tags/additional_properties_api.py
|
|
||||||
unit_test_api/apis/tags/all_of_api.py
|
|
||||||
unit_test_api/apis/tags/any_of_api.py
|
|
||||||
unit_test_api/apis/tags/content_type_json_api.py
|
|
||||||
unit_test_api/apis/tags/default_api.py
|
|
||||||
unit_test_api/apis/tags/enum_api.py
|
|
||||||
unit_test_api/apis/tags/format_api.py
|
|
||||||
unit_test_api/apis/tags/items_api.py
|
|
||||||
unit_test_api/apis/tags/max_items_api.py
|
|
||||||
unit_test_api/apis/tags/max_length_api.py
|
|
||||||
unit_test_api/apis/tags/max_properties_api.py
|
|
||||||
unit_test_api/apis/tags/maximum_api.py
|
|
||||||
unit_test_api/apis/tags/min_items_api.py
|
|
||||||
unit_test_api/apis/tags/min_length_api.py
|
|
||||||
unit_test_api/apis/tags/min_properties_api.py
|
|
||||||
unit_test_api/apis/tags/minimum_api.py
|
|
||||||
unit_test_api/apis/tags/model_not_api.py
|
|
||||||
unit_test_api/apis/tags/multiple_of_api.py
|
|
||||||
unit_test_api/apis/tags/one_of_api.py
|
|
||||||
unit_test_api/apis/tags/operation_request_body_api.py
|
|
||||||
unit_test_api/apis/tags/path_post_api.py
|
|
||||||
unit_test_api/apis/tags/pattern_api.py
|
|
||||||
unit_test_api/apis/tags/properties_api.py
|
|
||||||
unit_test_api/apis/tags/ref_api.py
|
|
||||||
unit_test_api/apis/tags/required_api.py
|
|
||||||
unit_test_api/apis/tags/response_content_content_type_schema_api.py
|
|
||||||
unit_test_api/apis/tags/type_api.py
|
|
||||||
unit_test_api/apis/tags/unique_items_api.py
|
|
||||||
unit_test_api/configuration.py
|
|
||||||
unit_test_api/exceptions.py
|
|
||||||
unit_test_api/model/__init__.py
|
|
||||||
unit_test_api/model/additionalproperties_allows_a_schema_which_should_validate.py
|
|
||||||
unit_test_api/model/additionalproperties_allows_a_schema_which_should_validate.pyi
|
|
||||||
unit_test_api/model/additionalproperties_are_allowed_by_default.py
|
|
||||||
unit_test_api/model/additionalproperties_are_allowed_by_default.pyi
|
|
||||||
unit_test_api/model/additionalproperties_can_exist_by_itself.py
|
|
||||||
unit_test_api/model/additionalproperties_can_exist_by_itself.pyi
|
|
||||||
unit_test_api/model/additionalproperties_should_not_look_in_applicators.py
|
|
||||||
unit_test_api/model/additionalproperties_should_not_look_in_applicators.pyi
|
|
||||||
unit_test_api/model/allof.py
|
|
||||||
unit_test_api/model/allof.pyi
|
|
||||||
unit_test_api/model/allof_combined_with_anyof_oneof.py
|
|
||||||
unit_test_api/model/allof_combined_with_anyof_oneof.pyi
|
|
||||||
unit_test_api/model/allof_simple_types.py
|
|
||||||
unit_test_api/model/allof_simple_types.pyi
|
|
||||||
unit_test_api/model/allof_with_base_schema.py
|
|
||||||
unit_test_api/model/allof_with_base_schema.pyi
|
|
||||||
unit_test_api/model/allof_with_one_empty_schema.py
|
|
||||||
unit_test_api/model/allof_with_one_empty_schema.pyi
|
|
||||||
unit_test_api/model/allof_with_the_first_empty_schema.py
|
|
||||||
unit_test_api/model/allof_with_the_first_empty_schema.pyi
|
|
||||||
unit_test_api/model/allof_with_the_last_empty_schema.py
|
|
||||||
unit_test_api/model/allof_with_the_last_empty_schema.pyi
|
|
||||||
unit_test_api/model/allof_with_two_empty_schemas.py
|
|
||||||
unit_test_api/model/allof_with_two_empty_schemas.pyi
|
|
||||||
unit_test_api/model/anyof.py
|
|
||||||
unit_test_api/model/anyof.pyi
|
|
||||||
unit_test_api/model/anyof_complex_types.py
|
|
||||||
unit_test_api/model/anyof_complex_types.pyi
|
|
||||||
unit_test_api/model/anyof_with_base_schema.py
|
|
||||||
unit_test_api/model/anyof_with_base_schema.pyi
|
|
||||||
unit_test_api/model/anyof_with_one_empty_schema.py
|
|
||||||
unit_test_api/model/anyof_with_one_empty_schema.pyi
|
|
||||||
unit_test_api/model/array_type_matches_arrays.py
|
|
||||||
unit_test_api/model/array_type_matches_arrays.pyi
|
|
||||||
unit_test_api/model/boolean_type_matches_booleans.py
|
|
||||||
unit_test_api/model/boolean_type_matches_booleans.pyi
|
|
||||||
unit_test_api/model/by_int.py
|
|
||||||
unit_test_api/model/by_int.pyi
|
|
||||||
unit_test_api/model/by_number.py
|
|
||||||
unit_test_api/model/by_number.pyi
|
|
||||||
unit_test_api/model/by_small_number.py
|
|
||||||
unit_test_api/model/by_small_number.pyi
|
|
||||||
unit_test_api/model/date_time_format.py
|
|
||||||
unit_test_api/model/date_time_format.pyi
|
|
||||||
unit_test_api/model/email_format.py
|
|
||||||
unit_test_api/model/email_format.pyi
|
|
||||||
unit_test_api/model/enum_with0_does_not_match_false.py
|
|
||||||
unit_test_api/model/enum_with0_does_not_match_false.pyi
|
|
||||||
unit_test_api/model/enum_with1_does_not_match_true.py
|
|
||||||
unit_test_api/model/enum_with1_does_not_match_true.pyi
|
|
||||||
unit_test_api/model/enum_with_escaped_characters.py
|
|
||||||
unit_test_api/model/enum_with_escaped_characters.pyi
|
|
||||||
unit_test_api/model/enum_with_false_does_not_match0.py
|
|
||||||
unit_test_api/model/enum_with_false_does_not_match0.pyi
|
|
||||||
unit_test_api/model/enum_with_true_does_not_match1.py
|
|
||||||
unit_test_api/model/enum_with_true_does_not_match1.pyi
|
|
||||||
unit_test_api/model/enums_in_properties.py
|
|
||||||
unit_test_api/model/enums_in_properties.pyi
|
|
||||||
unit_test_api/model/forbidden_property.py
|
|
||||||
unit_test_api/model/forbidden_property.pyi
|
|
||||||
unit_test_api/model/hostname_format.py
|
|
||||||
unit_test_api/model/hostname_format.pyi
|
|
||||||
unit_test_api/model/integer_type_matches_integers.py
|
|
||||||
unit_test_api/model/integer_type_matches_integers.pyi
|
|
||||||
unit_test_api/model/invalid_instance_should_not_raise_error_when_float_division_inf.py
|
|
||||||
unit_test_api/model/invalid_instance_should_not_raise_error_when_float_division_inf.pyi
|
|
||||||
unit_test_api/model/invalid_string_value_for_default.py
|
|
||||||
unit_test_api/model/invalid_string_value_for_default.pyi
|
|
||||||
unit_test_api/model/ipv4_format.py
|
|
||||||
unit_test_api/model/ipv4_format.pyi
|
|
||||||
unit_test_api/model/ipv6_format.py
|
|
||||||
unit_test_api/model/ipv6_format.pyi
|
|
||||||
unit_test_api/model/json_pointer_format.py
|
|
||||||
unit_test_api/model/json_pointer_format.pyi
|
|
||||||
unit_test_api/model/maximum_validation.py
|
|
||||||
unit_test_api/model/maximum_validation.pyi
|
|
||||||
unit_test_api/model/maximum_validation_with_unsigned_integer.py
|
|
||||||
unit_test_api/model/maximum_validation_with_unsigned_integer.pyi
|
|
||||||
unit_test_api/model/maxitems_validation.py
|
|
||||||
unit_test_api/model/maxitems_validation.pyi
|
|
||||||
unit_test_api/model/maxlength_validation.py
|
|
||||||
unit_test_api/model/maxlength_validation.pyi
|
|
||||||
unit_test_api/model/maxproperties0_means_the_object_is_empty.py
|
|
||||||
unit_test_api/model/maxproperties0_means_the_object_is_empty.pyi
|
|
||||||
unit_test_api/model/maxproperties_validation.py
|
|
||||||
unit_test_api/model/maxproperties_validation.pyi
|
|
||||||
unit_test_api/model/minimum_validation.py
|
|
||||||
unit_test_api/model/minimum_validation.pyi
|
|
||||||
unit_test_api/model/minimum_validation_with_signed_integer.py
|
|
||||||
unit_test_api/model/minimum_validation_with_signed_integer.pyi
|
|
||||||
unit_test_api/model/minitems_validation.py
|
|
||||||
unit_test_api/model/minitems_validation.pyi
|
|
||||||
unit_test_api/model/minlength_validation.py
|
|
||||||
unit_test_api/model/minlength_validation.pyi
|
|
||||||
unit_test_api/model/minproperties_validation.py
|
|
||||||
unit_test_api/model/minproperties_validation.pyi
|
|
||||||
unit_test_api/model/model_not.py
|
|
||||||
unit_test_api/model/model_not.pyi
|
|
||||||
unit_test_api/model/nested_allof_to_check_validation_semantics.py
|
|
||||||
unit_test_api/model/nested_allof_to_check_validation_semantics.pyi
|
|
||||||
unit_test_api/model/nested_anyof_to_check_validation_semantics.py
|
|
||||||
unit_test_api/model/nested_anyof_to_check_validation_semantics.pyi
|
|
||||||
unit_test_api/model/nested_items.py
|
|
||||||
unit_test_api/model/nested_items.pyi
|
|
||||||
unit_test_api/model/nested_oneof_to_check_validation_semantics.py
|
|
||||||
unit_test_api/model/nested_oneof_to_check_validation_semantics.pyi
|
|
||||||
unit_test_api/model/not_more_complex_schema.py
|
|
||||||
unit_test_api/model/not_more_complex_schema.pyi
|
|
||||||
unit_test_api/model/nul_characters_in_strings.py
|
|
||||||
unit_test_api/model/nul_characters_in_strings.pyi
|
|
||||||
unit_test_api/model/null_type_matches_only_the_null_object.py
|
|
||||||
unit_test_api/model/null_type_matches_only_the_null_object.pyi
|
|
||||||
unit_test_api/model/number_type_matches_numbers.py
|
|
||||||
unit_test_api/model/number_type_matches_numbers.pyi
|
|
||||||
unit_test_api/model/object_properties_validation.py
|
|
||||||
unit_test_api/model/object_properties_validation.pyi
|
|
||||||
unit_test_api/model/oneof.py
|
|
||||||
unit_test_api/model/oneof.pyi
|
|
||||||
unit_test_api/model/oneof_complex_types.py
|
|
||||||
unit_test_api/model/oneof_complex_types.pyi
|
|
||||||
unit_test_api/model/oneof_with_base_schema.py
|
|
||||||
unit_test_api/model/oneof_with_base_schema.pyi
|
|
||||||
unit_test_api/model/oneof_with_empty_schema.py
|
|
||||||
unit_test_api/model/oneof_with_empty_schema.pyi
|
|
||||||
unit_test_api/model/oneof_with_required.py
|
|
||||||
unit_test_api/model/oneof_with_required.pyi
|
|
||||||
unit_test_api/model/pattern_is_not_anchored.py
|
|
||||||
unit_test_api/model/pattern_is_not_anchored.pyi
|
|
||||||
unit_test_api/model/pattern_validation.py
|
|
||||||
unit_test_api/model/pattern_validation.pyi
|
|
||||||
unit_test_api/model/properties_with_escaped_characters.py
|
|
||||||
unit_test_api/model/properties_with_escaped_characters.pyi
|
|
||||||
unit_test_api/model/property_named_ref_that_is_not_a_reference.py
|
|
||||||
unit_test_api/model/property_named_ref_that_is_not_a_reference.pyi
|
|
||||||
unit_test_api/model/ref_in_additionalproperties.py
|
|
||||||
unit_test_api/model/ref_in_additionalproperties.pyi
|
|
||||||
unit_test_api/model/ref_in_allof.py
|
|
||||||
unit_test_api/model/ref_in_allof.pyi
|
|
||||||
unit_test_api/model/ref_in_anyof.py
|
|
||||||
unit_test_api/model/ref_in_anyof.pyi
|
|
||||||
unit_test_api/model/ref_in_items.py
|
|
||||||
unit_test_api/model/ref_in_items.pyi
|
|
||||||
unit_test_api/model/ref_in_not.py
|
|
||||||
unit_test_api/model/ref_in_not.pyi
|
|
||||||
unit_test_api/model/ref_in_oneof.py
|
|
||||||
unit_test_api/model/ref_in_oneof.pyi
|
|
||||||
unit_test_api/model/ref_in_property.py
|
|
||||||
unit_test_api/model/ref_in_property.pyi
|
|
||||||
unit_test_api/model/required_default_validation.py
|
|
||||||
unit_test_api/model/required_default_validation.pyi
|
|
||||||
unit_test_api/model/required_validation.py
|
|
||||||
unit_test_api/model/required_validation.pyi
|
|
||||||
unit_test_api/model/required_with_empty_array.py
|
|
||||||
unit_test_api/model/required_with_empty_array.pyi
|
|
||||||
unit_test_api/model/required_with_escaped_characters.py
|
|
||||||
unit_test_api/model/required_with_escaped_characters.pyi
|
|
||||||
unit_test_api/model/simple_enum_validation.py
|
|
||||||
unit_test_api/model/simple_enum_validation.pyi
|
|
||||||
unit_test_api/model/string_type_matches_strings.py
|
|
||||||
unit_test_api/model/string_type_matches_strings.pyi
|
|
||||||
unit_test_api/model/the_default_keyword_does_not_do_anything_if_the_property_is_missing.py
|
|
||||||
unit_test_api/model/the_default_keyword_does_not_do_anything_if_the_property_is_missing.pyi
|
|
||||||
unit_test_api/model/uniqueitems_false_validation.py
|
|
||||||
unit_test_api/model/uniqueitems_false_validation.pyi
|
|
||||||
unit_test_api/model/uniqueitems_validation.py
|
|
||||||
unit_test_api/model/uniqueitems_validation.pyi
|
|
||||||
unit_test_api/model/uri_format.py
|
|
||||||
unit_test_api/model/uri_format.pyi
|
|
||||||
unit_test_api/model/uri_reference_format.py
|
|
||||||
unit_test_api/model/uri_reference_format.pyi
|
|
||||||
unit_test_api/model/uri_template_format.py
|
|
||||||
unit_test_api/model/uri_template_format.pyi
|
|
||||||
unit_test_api/models/__init__.py
|
|
||||||
unit_test_api/rest.py
|
|
||||||
unit_test_api/schemas.py
|
|
@ -1 +0,0 @@
|
|||||||
7.0.0-SNAPSHOT
|
|
@ -1,13 +0,0 @@
|
|||||||
# ref: https://docs.travis-ci.com/user/languages/python
|
|
||||||
language: python
|
|
||||||
python:
|
|
||||||
- "3.5"
|
|
||||||
- "3.6"
|
|
||||||
- "3.7"
|
|
||||||
- "3.8"
|
|
||||||
# command to install dependencies
|
|
||||||
install:
|
|
||||||
- "pip install -r requirements.txt"
|
|
||||||
- "pip install -r test-requirements.txt"
|
|
||||||
# command to run tests
|
|
||||||
script: pytest --cov=unit_test_api
|
|
@ -1,16 +0,0 @@
|
|||||||
REQUIREMENTS_FILE=dev-requirements.txt
|
|
||||||
REQUIREMENTS_OUT=dev-requirements.txt.log
|
|
||||||
SETUP_OUT=*.egg-info
|
|
||||||
VENV=venv
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -rf $(REQUIREMENTS_OUT)
|
|
||||||
rm -rf $(SETUP_OUT)
|
|
||||||
rm -rf $(VENV)
|
|
||||||
rm -rf .tox
|
|
||||||
rm -rf .coverage
|
|
||||||
find . -name "*.py[oc]" -delete
|
|
||||||
find . -name "__pycache__" -delete
|
|
||||||
|
|
||||||
test: clean
|
|
||||||
bash ./test_python.sh
|
|
File diff suppressed because it is too large
Load Diff
@ -1,2 +0,0 @@
|
|||||||
tox
|
|
||||||
flake8
|
|
@ -1,545 +0,0 @@
|
|||||||
<a id="__pageTop"></a>
|
|
||||||
# unit_test_api.apis.tags.additional_properties_api.AdditionalPropertiesApi
|
|
||||||
|
|
||||||
All URIs are relative to *https://someserver.com/v1*
|
|
||||||
|
|
||||||
Method | HTTP request | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**post_additionalproperties_allows_a_schema_which_should_validate_request_body**](#post_additionalproperties_allows_a_schema_which_should_validate_request_body) | **post** /requestBody/postAdditionalpropertiesAllowsASchemaWhichShouldValidateRequestBody |
|
|
||||||
[**post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types**](#post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types) | **post** /responseBody/postAdditionalpropertiesAllowsASchemaWhichShouldValidateResponseBodyForContentTypes |
|
|
||||||
[**post_additionalproperties_are_allowed_by_default_request_body**](#post_additionalproperties_are_allowed_by_default_request_body) | **post** /requestBody/postAdditionalpropertiesAreAllowedByDefaultRequestBody |
|
|
||||||
[**post_additionalproperties_are_allowed_by_default_response_body_for_content_types**](#post_additionalproperties_are_allowed_by_default_response_body_for_content_types) | **post** /responseBody/postAdditionalpropertiesAreAllowedByDefaultResponseBodyForContentTypes |
|
|
||||||
[**post_additionalproperties_can_exist_by_itself_request_body**](#post_additionalproperties_can_exist_by_itself_request_body) | **post** /requestBody/postAdditionalpropertiesCanExistByItselfRequestBody |
|
|
||||||
[**post_additionalproperties_can_exist_by_itself_response_body_for_content_types**](#post_additionalproperties_can_exist_by_itself_response_body_for_content_types) | **post** /responseBody/postAdditionalpropertiesCanExistByItselfResponseBodyForContentTypes |
|
|
||||||
[**post_additionalproperties_should_not_look_in_applicators_request_body**](#post_additionalproperties_should_not_look_in_applicators_request_body) | **post** /requestBody/postAdditionalpropertiesShouldNotLookInApplicatorsRequestBody |
|
|
||||||
[**post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types**](#post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types) | **post** /responseBody/postAdditionalpropertiesShouldNotLookInApplicatorsResponseBodyForContentTypes |
|
|
||||||
|
|
||||||
# **post_additionalproperties_allows_a_schema_which_should_validate_request_body**
|
|
||||||
<a id="post_additionalproperties_allows_a_schema_which_should_validate_request_body"></a>
|
|
||||||
> post_additionalproperties_allows_a_schema_which_should_validate_request_body(additionalproperties_allows_a_schema_which_should_validate)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import additional_properties_api
|
|
||||||
from unit_test_api.model.additionalproperties_allows_a_schema_which_should_validate import AdditionalpropertiesAllowsASchemaWhichShouldValidate
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = additional_properties_api.AdditionalPropertiesApi(api_client)
|
|
||||||
|
|
||||||
# example passing only required values which don't have defaults set
|
|
||||||
body = AdditionalpropertiesAllowsASchemaWhichShouldValidate(
|
|
||||||
foo=None,
|
|
||||||
bar=None,
|
|
||||||
)
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_additionalproperties_allows_a_schema_which_should_validate_request_body(
|
|
||||||
body=body,
|
|
||||||
)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling AdditionalPropertiesApi->post_additionalproperties_allows_a_schema_which_should_validate_request_body: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
body | typing.Union[SchemaForRequestBodyApplicationJson] | required |
|
|
||||||
content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body
|
|
||||||
stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file
|
|
||||||
timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client
|
|
||||||
skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned
|
|
||||||
|
|
||||||
### body
|
|
||||||
|
|
||||||
# SchemaForRequestBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**AdditionalpropertiesAllowsASchemaWhichShouldValidate**](../../models/AdditionalpropertiesAllowsASchemaWhichShouldValidate.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_additionalproperties_allows_a_schema_which_should_validate_request_body.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_additionalproperties_allows_a_schema_which_should_validate_request_body.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | Unset | body was not defined |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types**
|
|
||||||
<a id="post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types"></a>
|
|
||||||
> AdditionalpropertiesAllowsASchemaWhichShouldValidate post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import additional_properties_api
|
|
||||||
from unit_test_api.model.additionalproperties_allows_a_schema_which_should_validate import AdditionalpropertiesAllowsASchemaWhichShouldValidate
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = additional_properties_api.AdditionalPropertiesApi(api_client)
|
|
||||||
|
|
||||||
# example, this endpoint has no required or optional parameters
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types()
|
|
||||||
pprint(api_response)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling AdditionalPropertiesApi->post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
# SchemaFor200ResponseBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**AdditionalpropertiesAllowsASchemaWhichShouldValidate**](../../models/AdditionalpropertiesAllowsASchemaWhichShouldValidate.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_additionalproperties_are_allowed_by_default_request_body**
|
|
||||||
<a id="post_additionalproperties_are_allowed_by_default_request_body"></a>
|
|
||||||
> post_additionalproperties_are_allowed_by_default_request_body(additionalproperties_are_allowed_by_default)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import additional_properties_api
|
|
||||||
from unit_test_api.model.additionalproperties_are_allowed_by_default import AdditionalpropertiesAreAllowedByDefault
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = additional_properties_api.AdditionalPropertiesApi(api_client)
|
|
||||||
|
|
||||||
# example passing only required values which don't have defaults set
|
|
||||||
body = AdditionalpropertiesAreAllowedByDefault(None)
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_additionalproperties_are_allowed_by_default_request_body(
|
|
||||||
body=body,
|
|
||||||
)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling AdditionalPropertiesApi->post_additionalproperties_are_allowed_by_default_request_body: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
body | typing.Union[SchemaForRequestBodyApplicationJson] | required |
|
|
||||||
content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body
|
|
||||||
stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file
|
|
||||||
timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client
|
|
||||||
skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned
|
|
||||||
|
|
||||||
### body
|
|
||||||
|
|
||||||
# SchemaForRequestBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**AdditionalpropertiesAreAllowedByDefault**](../../models/AdditionalpropertiesAreAllowedByDefault.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_additionalproperties_are_allowed_by_default_request_body.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_additionalproperties_are_allowed_by_default_request_body.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | Unset | body was not defined |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_additionalproperties_are_allowed_by_default_response_body_for_content_types**
|
|
||||||
<a id="post_additionalproperties_are_allowed_by_default_response_body_for_content_types"></a>
|
|
||||||
> AdditionalpropertiesAreAllowedByDefault post_additionalproperties_are_allowed_by_default_response_body_for_content_types()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import additional_properties_api
|
|
||||||
from unit_test_api.model.additionalproperties_are_allowed_by_default import AdditionalpropertiesAreAllowedByDefault
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = additional_properties_api.AdditionalPropertiesApi(api_client)
|
|
||||||
|
|
||||||
# example, this endpoint has no required or optional parameters
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_additionalproperties_are_allowed_by_default_response_body_for_content_types()
|
|
||||||
pprint(api_response)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling AdditionalPropertiesApi->post_additionalproperties_are_allowed_by_default_response_body_for_content_types: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_additionalproperties_are_allowed_by_default_response_body_for_content_types.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_additionalproperties_are_allowed_by_default_response_body_for_content_types.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
# SchemaFor200ResponseBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**AdditionalpropertiesAreAllowedByDefault**](../../models/AdditionalpropertiesAreAllowedByDefault.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_additionalproperties_can_exist_by_itself_request_body**
|
|
||||||
<a id="post_additionalproperties_can_exist_by_itself_request_body"></a>
|
|
||||||
> post_additionalproperties_can_exist_by_itself_request_body(additionalproperties_can_exist_by_itself)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import additional_properties_api
|
|
||||||
from unit_test_api.model.additionalproperties_can_exist_by_itself import AdditionalpropertiesCanExistByItself
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = additional_properties_api.AdditionalPropertiesApi(api_client)
|
|
||||||
|
|
||||||
# example passing only required values which don't have defaults set
|
|
||||||
body = AdditionalpropertiesCanExistByItself(
|
|
||||||
key=True,
|
|
||||||
)
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_additionalproperties_can_exist_by_itself_request_body(
|
|
||||||
body=body,
|
|
||||||
)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling AdditionalPropertiesApi->post_additionalproperties_can_exist_by_itself_request_body: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
body | typing.Union[SchemaForRequestBodyApplicationJson] | required |
|
|
||||||
content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body
|
|
||||||
stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file
|
|
||||||
timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client
|
|
||||||
skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned
|
|
||||||
|
|
||||||
### body
|
|
||||||
|
|
||||||
# SchemaForRequestBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**AdditionalpropertiesCanExistByItself**](../../models/AdditionalpropertiesCanExistByItself.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_additionalproperties_can_exist_by_itself_request_body.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_additionalproperties_can_exist_by_itself_request_body.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | Unset | body was not defined |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_additionalproperties_can_exist_by_itself_response_body_for_content_types**
|
|
||||||
<a id="post_additionalproperties_can_exist_by_itself_response_body_for_content_types"></a>
|
|
||||||
> AdditionalpropertiesCanExistByItself post_additionalproperties_can_exist_by_itself_response_body_for_content_types()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import additional_properties_api
|
|
||||||
from unit_test_api.model.additionalproperties_can_exist_by_itself import AdditionalpropertiesCanExistByItself
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = additional_properties_api.AdditionalPropertiesApi(api_client)
|
|
||||||
|
|
||||||
# example, this endpoint has no required or optional parameters
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_additionalproperties_can_exist_by_itself_response_body_for_content_types()
|
|
||||||
pprint(api_response)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling AdditionalPropertiesApi->post_additionalproperties_can_exist_by_itself_response_body_for_content_types: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_additionalproperties_can_exist_by_itself_response_body_for_content_types.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_additionalproperties_can_exist_by_itself_response_body_for_content_types.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
# SchemaFor200ResponseBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**AdditionalpropertiesCanExistByItself**](../../models/AdditionalpropertiesCanExistByItself.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_additionalproperties_should_not_look_in_applicators_request_body**
|
|
||||||
<a id="post_additionalproperties_should_not_look_in_applicators_request_body"></a>
|
|
||||||
> post_additionalproperties_should_not_look_in_applicators_request_body(additionalproperties_should_not_look_in_applicators)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import additional_properties_api
|
|
||||||
from unit_test_api.model.additionalproperties_should_not_look_in_applicators import AdditionalpropertiesShouldNotLookInApplicators
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = additional_properties_api.AdditionalPropertiesApi(api_client)
|
|
||||||
|
|
||||||
# example passing only required values which don't have defaults set
|
|
||||||
body = AdditionalpropertiesShouldNotLookInApplicators(None)
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_additionalproperties_should_not_look_in_applicators_request_body(
|
|
||||||
body=body,
|
|
||||||
)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling AdditionalPropertiesApi->post_additionalproperties_should_not_look_in_applicators_request_body: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
body | typing.Union[SchemaForRequestBodyApplicationJson] | required |
|
|
||||||
content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body
|
|
||||||
stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file
|
|
||||||
timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client
|
|
||||||
skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned
|
|
||||||
|
|
||||||
### body
|
|
||||||
|
|
||||||
# SchemaForRequestBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**AdditionalpropertiesShouldNotLookInApplicators**](../../models/AdditionalpropertiesShouldNotLookInApplicators.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_additionalproperties_should_not_look_in_applicators_request_body.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_additionalproperties_should_not_look_in_applicators_request_body.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | Unset | body was not defined |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types**
|
|
||||||
<a id="post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types"></a>
|
|
||||||
> AdditionalpropertiesShouldNotLookInApplicators post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import additional_properties_api
|
|
||||||
from unit_test_api.model.additionalproperties_should_not_look_in_applicators import AdditionalpropertiesShouldNotLookInApplicators
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = additional_properties_api.AdditionalPropertiesApi(api_client)
|
|
||||||
|
|
||||||
# example, this endpoint has no required or optional parameters
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types()
|
|
||||||
pprint(api_response)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling AdditionalPropertiesApi->post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
# SchemaFor200ResponseBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**AdditionalpropertiesShouldNotLookInApplicators**](../../models/AdditionalpropertiesShouldNotLookInApplicators.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
@ -1,673 +0,0 @@
|
|||||||
<a id="__pageTop"></a>
|
|
||||||
# unit_test_api.apis.tags.any_of_api.AnyOfApi
|
|
||||||
|
|
||||||
All URIs are relative to *https://someserver.com/v1*
|
|
||||||
|
|
||||||
Method | HTTP request | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**post_anyof_complex_types_request_body**](#post_anyof_complex_types_request_body) | **post** /requestBody/postAnyofComplexTypesRequestBody |
|
|
||||||
[**post_anyof_complex_types_response_body_for_content_types**](#post_anyof_complex_types_response_body_for_content_types) | **post** /responseBody/postAnyofComplexTypesResponseBodyForContentTypes |
|
|
||||||
[**post_anyof_request_body**](#post_anyof_request_body) | **post** /requestBody/postAnyofRequestBody |
|
|
||||||
[**post_anyof_response_body_for_content_types**](#post_anyof_response_body_for_content_types) | **post** /responseBody/postAnyofResponseBodyForContentTypes |
|
|
||||||
[**post_anyof_with_base_schema_request_body**](#post_anyof_with_base_schema_request_body) | **post** /requestBody/postAnyofWithBaseSchemaRequestBody |
|
|
||||||
[**post_anyof_with_base_schema_response_body_for_content_types**](#post_anyof_with_base_schema_response_body_for_content_types) | **post** /responseBody/postAnyofWithBaseSchemaResponseBodyForContentTypes |
|
|
||||||
[**post_anyof_with_one_empty_schema_request_body**](#post_anyof_with_one_empty_schema_request_body) | **post** /requestBody/postAnyofWithOneEmptySchemaRequestBody |
|
|
||||||
[**post_anyof_with_one_empty_schema_response_body_for_content_types**](#post_anyof_with_one_empty_schema_response_body_for_content_types) | **post** /responseBody/postAnyofWithOneEmptySchemaResponseBodyForContentTypes |
|
|
||||||
[**post_nested_anyof_to_check_validation_semantics_request_body**](#post_nested_anyof_to_check_validation_semantics_request_body) | **post** /requestBody/postNestedAnyofToCheckValidationSemanticsRequestBody |
|
|
||||||
[**post_nested_anyof_to_check_validation_semantics_response_body_for_content_types**](#post_nested_anyof_to_check_validation_semantics_response_body_for_content_types) | **post** /responseBody/postNestedAnyofToCheckValidationSemanticsResponseBodyForContentTypes |
|
|
||||||
|
|
||||||
# **post_anyof_complex_types_request_body**
|
|
||||||
<a id="post_anyof_complex_types_request_body"></a>
|
|
||||||
> post_anyof_complex_types_request_body(anyof_complex_types)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import any_of_api
|
|
||||||
from unit_test_api.model.anyof_complex_types import AnyofComplexTypes
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = any_of_api.AnyOfApi(api_client)
|
|
||||||
|
|
||||||
# example passing only required values which don't have defaults set
|
|
||||||
body = AnyofComplexTypes(None)
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_anyof_complex_types_request_body(
|
|
||||||
body=body,
|
|
||||||
)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling AnyOfApi->post_anyof_complex_types_request_body: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
body | typing.Union[SchemaForRequestBodyApplicationJson] | required |
|
|
||||||
content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body
|
|
||||||
stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file
|
|
||||||
timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client
|
|
||||||
skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned
|
|
||||||
|
|
||||||
### body
|
|
||||||
|
|
||||||
# SchemaForRequestBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**AnyofComplexTypes**](../../models/AnyofComplexTypes.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_anyof_complex_types_request_body.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_anyof_complex_types_request_body.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | Unset | body was not defined |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_anyof_complex_types_response_body_for_content_types**
|
|
||||||
<a id="post_anyof_complex_types_response_body_for_content_types"></a>
|
|
||||||
> AnyofComplexTypes post_anyof_complex_types_response_body_for_content_types()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import any_of_api
|
|
||||||
from unit_test_api.model.anyof_complex_types import AnyofComplexTypes
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = any_of_api.AnyOfApi(api_client)
|
|
||||||
|
|
||||||
# example, this endpoint has no required or optional parameters
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_anyof_complex_types_response_body_for_content_types()
|
|
||||||
pprint(api_response)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling AnyOfApi->post_anyof_complex_types_response_body_for_content_types: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_anyof_complex_types_response_body_for_content_types.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_anyof_complex_types_response_body_for_content_types.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
# SchemaFor200ResponseBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**AnyofComplexTypes**](../../models/AnyofComplexTypes.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_anyof_request_body**
|
|
||||||
<a id="post_anyof_request_body"></a>
|
|
||||||
> post_anyof_request_body(anyof)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import any_of_api
|
|
||||||
from unit_test_api.model.anyof 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.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = any_of_api.AnyOfApi(api_client)
|
|
||||||
|
|
||||||
# example passing only required values which don't have defaults set
|
|
||||||
body = Anyof(None)
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_anyof_request_body(
|
|
||||||
body=body,
|
|
||||||
)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling AnyOfApi->post_anyof_request_body: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
body | typing.Union[SchemaForRequestBodyApplicationJson] | required |
|
|
||||||
content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body
|
|
||||||
stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file
|
|
||||||
timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client
|
|
||||||
skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned
|
|
||||||
|
|
||||||
### body
|
|
||||||
|
|
||||||
# SchemaForRequestBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**Anyof**](../../models/Anyof.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_anyof_request_body.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_anyof_request_body.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | Unset | body was not defined |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_anyof_response_body_for_content_types**
|
|
||||||
<a id="post_anyof_response_body_for_content_types"></a>
|
|
||||||
> Anyof post_anyof_response_body_for_content_types()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import any_of_api
|
|
||||||
from unit_test_api.model.anyof 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.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = any_of_api.AnyOfApi(api_client)
|
|
||||||
|
|
||||||
# example, this endpoint has no required or optional parameters
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_anyof_response_body_for_content_types()
|
|
||||||
pprint(api_response)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling AnyOfApi->post_anyof_response_body_for_content_types: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_anyof_response_body_for_content_types.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_anyof_response_body_for_content_types.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
# SchemaFor200ResponseBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**Anyof**](../../models/Anyof.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_anyof_with_base_schema_request_body**
|
|
||||||
<a id="post_anyof_with_base_schema_request_body"></a>
|
|
||||||
> post_anyof_with_base_schema_request_body(body)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import any_of_api
|
|
||||||
from unit_test_api.model.anyof_with_base_schema import AnyofWithBaseSchema
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = any_of_api.AnyOfApi(api_client)
|
|
||||||
|
|
||||||
# example passing only required values which don't have defaults set
|
|
||||||
body = AnyofWithBaseSchema("body_example")
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_anyof_with_base_schema_request_body(
|
|
||||||
body=body,
|
|
||||||
)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling AnyOfApi->post_anyof_with_base_schema_request_body: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
body | typing.Union[SchemaForRequestBodyApplicationJson] | required |
|
|
||||||
content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body
|
|
||||||
stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file
|
|
||||||
timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client
|
|
||||||
skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned
|
|
||||||
|
|
||||||
### body
|
|
||||||
|
|
||||||
# SchemaForRequestBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**AnyofWithBaseSchema**](../../models/AnyofWithBaseSchema.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_anyof_with_base_schema_request_body.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_anyof_with_base_schema_request_body.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | Unset | body was not defined |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_anyof_with_base_schema_response_body_for_content_types**
|
|
||||||
<a id="post_anyof_with_base_schema_response_body_for_content_types"></a>
|
|
||||||
> AnyofWithBaseSchema post_anyof_with_base_schema_response_body_for_content_types()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import any_of_api
|
|
||||||
from unit_test_api.model.anyof_with_base_schema import AnyofWithBaseSchema
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = any_of_api.AnyOfApi(api_client)
|
|
||||||
|
|
||||||
# example, this endpoint has no required or optional parameters
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_anyof_with_base_schema_response_body_for_content_types()
|
|
||||||
pprint(api_response)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling AnyOfApi->post_anyof_with_base_schema_response_body_for_content_types: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_anyof_with_base_schema_response_body_for_content_types.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_anyof_with_base_schema_response_body_for_content_types.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
# SchemaFor200ResponseBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**AnyofWithBaseSchema**](../../models/AnyofWithBaseSchema.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_anyof_with_one_empty_schema_request_body**
|
|
||||||
<a id="post_anyof_with_one_empty_schema_request_body"></a>
|
|
||||||
> post_anyof_with_one_empty_schema_request_body(anyof_with_one_empty_schema)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import any_of_api
|
|
||||||
from unit_test_api.model.anyof_with_one_empty_schema import AnyofWithOneEmptySchema
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = any_of_api.AnyOfApi(api_client)
|
|
||||||
|
|
||||||
# example passing only required values which don't have defaults set
|
|
||||||
body = AnyofWithOneEmptySchema(None)
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_anyof_with_one_empty_schema_request_body(
|
|
||||||
body=body,
|
|
||||||
)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling AnyOfApi->post_anyof_with_one_empty_schema_request_body: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
body | typing.Union[SchemaForRequestBodyApplicationJson] | required |
|
|
||||||
content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body
|
|
||||||
stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file
|
|
||||||
timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client
|
|
||||||
skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned
|
|
||||||
|
|
||||||
### body
|
|
||||||
|
|
||||||
# SchemaForRequestBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**AnyofWithOneEmptySchema**](../../models/AnyofWithOneEmptySchema.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_anyof_with_one_empty_schema_request_body.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_anyof_with_one_empty_schema_request_body.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | Unset | body was not defined |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_anyof_with_one_empty_schema_response_body_for_content_types**
|
|
||||||
<a id="post_anyof_with_one_empty_schema_response_body_for_content_types"></a>
|
|
||||||
> AnyofWithOneEmptySchema post_anyof_with_one_empty_schema_response_body_for_content_types()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import any_of_api
|
|
||||||
from unit_test_api.model.anyof_with_one_empty_schema import AnyofWithOneEmptySchema
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = any_of_api.AnyOfApi(api_client)
|
|
||||||
|
|
||||||
# example, this endpoint has no required or optional parameters
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_anyof_with_one_empty_schema_response_body_for_content_types()
|
|
||||||
pprint(api_response)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling AnyOfApi->post_anyof_with_one_empty_schema_response_body_for_content_types: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_anyof_with_one_empty_schema_response_body_for_content_types.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_anyof_with_one_empty_schema_response_body_for_content_types.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
# SchemaFor200ResponseBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**AnyofWithOneEmptySchema**](../../models/AnyofWithOneEmptySchema.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_nested_anyof_to_check_validation_semantics_request_body**
|
|
||||||
<a id="post_nested_anyof_to_check_validation_semantics_request_body"></a>
|
|
||||||
> post_nested_anyof_to_check_validation_semantics_request_body(nested_anyof_to_check_validation_semantics)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import any_of_api
|
|
||||||
from unit_test_api.model.nested_anyof_to_check_validation_semantics import NestedAnyofToCheckValidationSemantics
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = any_of_api.AnyOfApi(api_client)
|
|
||||||
|
|
||||||
# example passing only required values which don't have defaults set
|
|
||||||
body = NestedAnyofToCheckValidationSemantics(None)
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_nested_anyof_to_check_validation_semantics_request_body(
|
|
||||||
body=body,
|
|
||||||
)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling AnyOfApi->post_nested_anyof_to_check_validation_semantics_request_body: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
body | typing.Union[SchemaForRequestBodyApplicationJson] | required |
|
|
||||||
content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body
|
|
||||||
stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file
|
|
||||||
timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client
|
|
||||||
skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned
|
|
||||||
|
|
||||||
### body
|
|
||||||
|
|
||||||
# SchemaForRequestBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**NestedAnyofToCheckValidationSemantics**](../../models/NestedAnyofToCheckValidationSemantics.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_nested_anyof_to_check_validation_semantics_request_body.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_nested_anyof_to_check_validation_semantics_request_body.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | Unset | body was not defined |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_nested_anyof_to_check_validation_semantics_response_body_for_content_types**
|
|
||||||
<a id="post_nested_anyof_to_check_validation_semantics_response_body_for_content_types"></a>
|
|
||||||
> NestedAnyofToCheckValidationSemantics post_nested_anyof_to_check_validation_semantics_response_body_for_content_types()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import any_of_api
|
|
||||||
from unit_test_api.model.nested_anyof_to_check_validation_semantics import NestedAnyofToCheckValidationSemantics
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = any_of_api.AnyOfApi(api_client)
|
|
||||||
|
|
||||||
# example, this endpoint has no required or optional parameters
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_nested_anyof_to_check_validation_semantics_response_body_for_content_types()
|
|
||||||
pprint(api_response)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling AnyOfApi->post_nested_anyof_to_check_validation_semantics_response_body_for_content_types: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_nested_anyof_to_check_validation_semantics_response_body_for_content_types.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_nested_anyof_to_check_validation_semantics_response_body_for_content_types.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
# SchemaFor200ResponseBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**NestedAnyofToCheckValidationSemantics**](../../models/NestedAnyofToCheckValidationSemantics.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
@ -1,276 +0,0 @@
|
|||||||
<a id="__pageTop"></a>
|
|
||||||
# unit_test_api.apis.tags.default_api.DefaultApi
|
|
||||||
|
|
||||||
All URIs are relative to *https://someserver.com/v1*
|
|
||||||
|
|
||||||
Method | HTTP request | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**post_invalid_string_value_for_default_request_body**](#post_invalid_string_value_for_default_request_body) | **post** /requestBody/postInvalidStringValueForDefaultRequestBody |
|
|
||||||
[**post_invalid_string_value_for_default_response_body_for_content_types**](#post_invalid_string_value_for_default_response_body_for_content_types) | **post** /responseBody/postInvalidStringValueForDefaultResponseBodyForContentTypes |
|
|
||||||
[**post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body**](#post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body) | **post** /requestBody/postTheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissingRequestBody |
|
|
||||||
[**post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types**](#post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types) | **post** /responseBody/postTheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissingResponseBodyForContentTypes |
|
|
||||||
|
|
||||||
# **post_invalid_string_value_for_default_request_body**
|
|
||||||
<a id="post_invalid_string_value_for_default_request_body"></a>
|
|
||||||
> post_invalid_string_value_for_default_request_body(invalid_string_value_for_default)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import default_api
|
|
||||||
from unit_test_api.model.invalid_string_value_for_default import InvalidStringValueForDefault
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = default_api.DefaultApi(api_client)
|
|
||||||
|
|
||||||
# example passing only required values which don't have defaults set
|
|
||||||
body = InvalidStringValueForDefault(None)
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_invalid_string_value_for_default_request_body(
|
|
||||||
body=body,
|
|
||||||
)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling DefaultApi->post_invalid_string_value_for_default_request_body: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
body | typing.Union[SchemaForRequestBodyApplicationJson] | required |
|
|
||||||
content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body
|
|
||||||
stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file
|
|
||||||
timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client
|
|
||||||
skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned
|
|
||||||
|
|
||||||
### body
|
|
||||||
|
|
||||||
# SchemaForRequestBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**InvalidStringValueForDefault**](../../models/InvalidStringValueForDefault.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_invalid_string_value_for_default_request_body.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_invalid_string_value_for_default_request_body.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | Unset | body was not defined |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_invalid_string_value_for_default_response_body_for_content_types**
|
|
||||||
<a id="post_invalid_string_value_for_default_response_body_for_content_types"></a>
|
|
||||||
> InvalidStringValueForDefault post_invalid_string_value_for_default_response_body_for_content_types()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import default_api
|
|
||||||
from unit_test_api.model.invalid_string_value_for_default import InvalidStringValueForDefault
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = default_api.DefaultApi(api_client)
|
|
||||||
|
|
||||||
# example, this endpoint has no required or optional parameters
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_invalid_string_value_for_default_response_body_for_content_types()
|
|
||||||
pprint(api_response)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling DefaultApi->post_invalid_string_value_for_default_response_body_for_content_types: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_invalid_string_value_for_default_response_body_for_content_types.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_invalid_string_value_for_default_response_body_for_content_types.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
# SchemaFor200ResponseBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**InvalidStringValueForDefault**](../../models/InvalidStringValueForDefault.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body**
|
|
||||||
<a id="post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body"></a>
|
|
||||||
> post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body(the_default_keyword_does_not_do_anything_if_the_property_is_missing)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import default_api
|
|
||||||
from unit_test_api.model.the_default_keyword_does_not_do_anything_if_the_property_is_missing import TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = default_api.DefaultApi(api_client)
|
|
||||||
|
|
||||||
# example passing only required values which don't have defaults set
|
|
||||||
body = TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing(
|
|
||||||
alpha=5,
|
|
||||||
)
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body(
|
|
||||||
body=body,
|
|
||||||
)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling DefaultApi->post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
body | typing.Union[SchemaForRequestBodyApplicationJson] | required |
|
|
||||||
content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body
|
|
||||||
stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file
|
|
||||||
timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client
|
|
||||||
skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned
|
|
||||||
|
|
||||||
### body
|
|
||||||
|
|
||||||
# SchemaForRequestBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing**](../../models/TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | Unset | body was not defined |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types**
|
|
||||||
<a id="post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types"></a>
|
|
||||||
> TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import default_api
|
|
||||||
from unit_test_api.model.the_default_keyword_does_not_do_anything_if_the_property_is_missing import TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = default_api.DefaultApi(api_client)
|
|
||||||
|
|
||||||
# example, this endpoint has no required or optional parameters
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types()
|
|
||||||
pprint(api_response)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling DefaultApi->post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
# SchemaFor200ResponseBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing**](../../models/TheDefaultKeywordDoesNotDoAnythingIfThePropertyIsMissing.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,149 +0,0 @@
|
|||||||
<a id="__pageTop"></a>
|
|
||||||
# unit_test_api.apis.tags.items_api.ItemsApi
|
|
||||||
|
|
||||||
All URIs are relative to *https://someserver.com/v1*
|
|
||||||
|
|
||||||
Method | HTTP request | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**post_nested_items_request_body**](#post_nested_items_request_body) | **post** /requestBody/postNestedItemsRequestBody |
|
|
||||||
[**post_nested_items_response_body_for_content_types**](#post_nested_items_response_body_for_content_types) | **post** /responseBody/postNestedItemsResponseBodyForContentTypes |
|
|
||||||
|
|
||||||
# **post_nested_items_request_body**
|
|
||||||
<a id="post_nested_items_request_body"></a>
|
|
||||||
> post_nested_items_request_body(nested_items)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import items_api
|
|
||||||
from unit_test_api.model.nested_items import NestedItems
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = items_api.ItemsApi(api_client)
|
|
||||||
|
|
||||||
# example passing only required values which don't have defaults set
|
|
||||||
body = NestedItems([
|
|
||||||
[
|
|
||||||
[
|
|
||||||
[
|
|
||||||
3.14
|
|
||||||
]
|
|
||||||
]
|
|
||||||
]
|
|
||||||
])
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_nested_items_request_body(
|
|
||||||
body=body,
|
|
||||||
)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling ItemsApi->post_nested_items_request_body: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
body | typing.Union[SchemaForRequestBodyApplicationJson] | required |
|
|
||||||
content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body
|
|
||||||
stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file
|
|
||||||
timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client
|
|
||||||
skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned
|
|
||||||
|
|
||||||
### body
|
|
||||||
|
|
||||||
# SchemaForRequestBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**NestedItems**](../../models/NestedItems.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_nested_items_request_body.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_nested_items_request_body.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | Unset | body was not defined |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_nested_items_response_body_for_content_types**
|
|
||||||
<a id="post_nested_items_response_body_for_content_types"></a>
|
|
||||||
> NestedItems post_nested_items_response_body_for_content_types()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import items_api
|
|
||||||
from unit_test_api.model.nested_items import NestedItems
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = items_api.ItemsApi(api_client)
|
|
||||||
|
|
||||||
# example, this endpoint has no required or optional parameters
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_nested_items_response_body_for_content_types()
|
|
||||||
pprint(api_response)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling ItemsApi->post_nested_items_response_body_for_content_types: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_nested_items_response_body_for_content_types.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_nested_items_response_body_for_content_types.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
# SchemaFor200ResponseBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**NestedItems**](../../models/NestedItems.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
@ -1,141 +0,0 @@
|
|||||||
<a id="__pageTop"></a>
|
|
||||||
# unit_test_api.apis.tags.max_items_api.MaxItemsApi
|
|
||||||
|
|
||||||
All URIs are relative to *https://someserver.com/v1*
|
|
||||||
|
|
||||||
Method | HTTP request | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**post_maxitems_validation_request_body**](#post_maxitems_validation_request_body) | **post** /requestBody/postMaxitemsValidationRequestBody |
|
|
||||||
[**post_maxitems_validation_response_body_for_content_types**](#post_maxitems_validation_response_body_for_content_types) | **post** /responseBody/postMaxitemsValidationResponseBodyForContentTypes |
|
|
||||||
|
|
||||||
# **post_maxitems_validation_request_body**
|
|
||||||
<a id="post_maxitems_validation_request_body"></a>
|
|
||||||
> post_maxitems_validation_request_body(body)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import max_items_api
|
|
||||||
from unit_test_api.model.maxitems_validation import MaxitemsValidation
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = max_items_api.MaxItemsApi(api_client)
|
|
||||||
|
|
||||||
# example passing only required values which don't have defaults set
|
|
||||||
body = MaxitemsValidation(None)
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_maxitems_validation_request_body(
|
|
||||||
body=body,
|
|
||||||
)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling MaxItemsApi->post_maxitems_validation_request_body: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
body | typing.Union[SchemaForRequestBodyApplicationJson] | required |
|
|
||||||
content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body
|
|
||||||
stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file
|
|
||||||
timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client
|
|
||||||
skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned
|
|
||||||
|
|
||||||
### body
|
|
||||||
|
|
||||||
# SchemaForRequestBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**MaxitemsValidation**](../../models/MaxitemsValidation.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_maxitems_validation_request_body.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_maxitems_validation_request_body.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | Unset | body was not defined |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_maxitems_validation_response_body_for_content_types**
|
|
||||||
<a id="post_maxitems_validation_response_body_for_content_types"></a>
|
|
||||||
> MaxitemsValidation post_maxitems_validation_response_body_for_content_types()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import max_items_api
|
|
||||||
from unit_test_api.model.maxitems_validation import MaxitemsValidation
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = max_items_api.MaxItemsApi(api_client)
|
|
||||||
|
|
||||||
# example, this endpoint has no required or optional parameters
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_maxitems_validation_response_body_for_content_types()
|
|
||||||
pprint(api_response)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling MaxItemsApi->post_maxitems_validation_response_body_for_content_types: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_maxitems_validation_response_body_for_content_types.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_maxitems_validation_response_body_for_content_types.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
# SchemaFor200ResponseBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**MaxitemsValidation**](../../models/MaxitemsValidation.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
@ -1,141 +0,0 @@
|
|||||||
<a id="__pageTop"></a>
|
|
||||||
# unit_test_api.apis.tags.max_length_api.MaxLengthApi
|
|
||||||
|
|
||||||
All URIs are relative to *https://someserver.com/v1*
|
|
||||||
|
|
||||||
Method | HTTP request | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**post_maxlength_validation_request_body**](#post_maxlength_validation_request_body) | **post** /requestBody/postMaxlengthValidationRequestBody |
|
|
||||||
[**post_maxlength_validation_response_body_for_content_types**](#post_maxlength_validation_response_body_for_content_types) | **post** /responseBody/postMaxlengthValidationResponseBodyForContentTypes |
|
|
||||||
|
|
||||||
# **post_maxlength_validation_request_body**
|
|
||||||
<a id="post_maxlength_validation_request_body"></a>
|
|
||||||
> post_maxlength_validation_request_body(body)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import max_length_api
|
|
||||||
from unit_test_api.model.maxlength_validation import MaxlengthValidation
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = max_length_api.MaxLengthApi(api_client)
|
|
||||||
|
|
||||||
# example passing only required values which don't have defaults set
|
|
||||||
body = MaxlengthValidation(None)
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_maxlength_validation_request_body(
|
|
||||||
body=body,
|
|
||||||
)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling MaxLengthApi->post_maxlength_validation_request_body: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
body | typing.Union[SchemaForRequestBodyApplicationJson] | required |
|
|
||||||
content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body
|
|
||||||
stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file
|
|
||||||
timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client
|
|
||||||
skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned
|
|
||||||
|
|
||||||
### body
|
|
||||||
|
|
||||||
# SchemaForRequestBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**MaxlengthValidation**](../../models/MaxlengthValidation.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_maxlength_validation_request_body.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_maxlength_validation_request_body.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | Unset | body was not defined |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_maxlength_validation_response_body_for_content_types**
|
|
||||||
<a id="post_maxlength_validation_response_body_for_content_types"></a>
|
|
||||||
> MaxlengthValidation post_maxlength_validation_response_body_for_content_types()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import max_length_api
|
|
||||||
from unit_test_api.model.maxlength_validation import MaxlengthValidation
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = max_length_api.MaxLengthApi(api_client)
|
|
||||||
|
|
||||||
# example, this endpoint has no required or optional parameters
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_maxlength_validation_response_body_for_content_types()
|
|
||||||
pprint(api_response)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling MaxLengthApi->post_maxlength_validation_response_body_for_content_types: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_maxlength_validation_response_body_for_content_types.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_maxlength_validation_response_body_for_content_types.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
# SchemaFor200ResponseBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**MaxlengthValidation**](../../models/MaxlengthValidation.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
@ -1,274 +0,0 @@
|
|||||||
<a id="__pageTop"></a>
|
|
||||||
# unit_test_api.apis.tags.max_properties_api.MaxPropertiesApi
|
|
||||||
|
|
||||||
All URIs are relative to *https://someserver.com/v1*
|
|
||||||
|
|
||||||
Method | HTTP request | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**post_maxproperties0_means_the_object_is_empty_request_body**](#post_maxproperties0_means_the_object_is_empty_request_body) | **post** /requestBody/postMaxproperties0MeansTheObjectIsEmptyRequestBody |
|
|
||||||
[**post_maxproperties0_means_the_object_is_empty_response_body_for_content_types**](#post_maxproperties0_means_the_object_is_empty_response_body_for_content_types) | **post** /responseBody/postMaxproperties0MeansTheObjectIsEmptyResponseBodyForContentTypes |
|
|
||||||
[**post_maxproperties_validation_request_body**](#post_maxproperties_validation_request_body) | **post** /requestBody/postMaxpropertiesValidationRequestBody |
|
|
||||||
[**post_maxproperties_validation_response_body_for_content_types**](#post_maxproperties_validation_response_body_for_content_types) | **post** /responseBody/postMaxpropertiesValidationResponseBodyForContentTypes |
|
|
||||||
|
|
||||||
# **post_maxproperties0_means_the_object_is_empty_request_body**
|
|
||||||
<a id="post_maxproperties0_means_the_object_is_empty_request_body"></a>
|
|
||||||
> post_maxproperties0_means_the_object_is_empty_request_body(body)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import max_properties_api
|
|
||||||
from unit_test_api.model.maxproperties0_means_the_object_is_empty import Maxproperties0MeansTheObjectIsEmpty
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = max_properties_api.MaxPropertiesApi(api_client)
|
|
||||||
|
|
||||||
# example passing only required values which don't have defaults set
|
|
||||||
body = Maxproperties0MeansTheObjectIsEmpty(None)
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_maxproperties0_means_the_object_is_empty_request_body(
|
|
||||||
body=body,
|
|
||||||
)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling MaxPropertiesApi->post_maxproperties0_means_the_object_is_empty_request_body: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
body | typing.Union[SchemaForRequestBodyApplicationJson] | required |
|
|
||||||
content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body
|
|
||||||
stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file
|
|
||||||
timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client
|
|
||||||
skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned
|
|
||||||
|
|
||||||
### body
|
|
||||||
|
|
||||||
# SchemaForRequestBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**Maxproperties0MeansTheObjectIsEmpty**](../../models/Maxproperties0MeansTheObjectIsEmpty.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_maxproperties0_means_the_object_is_empty_request_body.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_maxproperties0_means_the_object_is_empty_request_body.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | Unset | body was not defined |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_maxproperties0_means_the_object_is_empty_response_body_for_content_types**
|
|
||||||
<a id="post_maxproperties0_means_the_object_is_empty_response_body_for_content_types"></a>
|
|
||||||
> Maxproperties0MeansTheObjectIsEmpty post_maxproperties0_means_the_object_is_empty_response_body_for_content_types()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import max_properties_api
|
|
||||||
from unit_test_api.model.maxproperties0_means_the_object_is_empty import Maxproperties0MeansTheObjectIsEmpty
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = max_properties_api.MaxPropertiesApi(api_client)
|
|
||||||
|
|
||||||
# example, this endpoint has no required or optional parameters
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_maxproperties0_means_the_object_is_empty_response_body_for_content_types()
|
|
||||||
pprint(api_response)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling MaxPropertiesApi->post_maxproperties0_means_the_object_is_empty_response_body_for_content_types: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_maxproperties0_means_the_object_is_empty_response_body_for_content_types.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_maxproperties0_means_the_object_is_empty_response_body_for_content_types.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
# SchemaFor200ResponseBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**Maxproperties0MeansTheObjectIsEmpty**](../../models/Maxproperties0MeansTheObjectIsEmpty.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_maxproperties_validation_request_body**
|
|
||||||
<a id="post_maxproperties_validation_request_body"></a>
|
|
||||||
> post_maxproperties_validation_request_body(body)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import max_properties_api
|
|
||||||
from unit_test_api.model.maxproperties_validation import MaxpropertiesValidation
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = max_properties_api.MaxPropertiesApi(api_client)
|
|
||||||
|
|
||||||
# example passing only required values which don't have defaults set
|
|
||||||
body = MaxpropertiesValidation(None)
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_maxproperties_validation_request_body(
|
|
||||||
body=body,
|
|
||||||
)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling MaxPropertiesApi->post_maxproperties_validation_request_body: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
body | typing.Union[SchemaForRequestBodyApplicationJson] | required |
|
|
||||||
content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body
|
|
||||||
stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file
|
|
||||||
timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client
|
|
||||||
skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned
|
|
||||||
|
|
||||||
### body
|
|
||||||
|
|
||||||
# SchemaForRequestBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**MaxpropertiesValidation**](../../models/MaxpropertiesValidation.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_maxproperties_validation_request_body.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_maxproperties_validation_request_body.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | Unset | body was not defined |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_maxproperties_validation_response_body_for_content_types**
|
|
||||||
<a id="post_maxproperties_validation_response_body_for_content_types"></a>
|
|
||||||
> MaxpropertiesValidation post_maxproperties_validation_response_body_for_content_types()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import max_properties_api
|
|
||||||
from unit_test_api.model.maxproperties_validation import MaxpropertiesValidation
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = max_properties_api.MaxPropertiesApi(api_client)
|
|
||||||
|
|
||||||
# example, this endpoint has no required or optional parameters
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_maxproperties_validation_response_body_for_content_types()
|
|
||||||
pprint(api_response)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling MaxPropertiesApi->post_maxproperties_validation_response_body_for_content_types: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_maxproperties_validation_response_body_for_content_types.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_maxproperties_validation_response_body_for_content_types.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
# SchemaFor200ResponseBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**MaxpropertiesValidation**](../../models/MaxpropertiesValidation.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
@ -1,274 +0,0 @@
|
|||||||
<a id="__pageTop"></a>
|
|
||||||
# unit_test_api.apis.tags.maximum_api.MaximumApi
|
|
||||||
|
|
||||||
All URIs are relative to *https://someserver.com/v1*
|
|
||||||
|
|
||||||
Method | HTTP request | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**post_maximum_validation_request_body**](#post_maximum_validation_request_body) | **post** /requestBody/postMaximumValidationRequestBody |
|
|
||||||
[**post_maximum_validation_response_body_for_content_types**](#post_maximum_validation_response_body_for_content_types) | **post** /responseBody/postMaximumValidationResponseBodyForContentTypes |
|
|
||||||
[**post_maximum_validation_with_unsigned_integer_request_body**](#post_maximum_validation_with_unsigned_integer_request_body) | **post** /requestBody/postMaximumValidationWithUnsignedIntegerRequestBody |
|
|
||||||
[**post_maximum_validation_with_unsigned_integer_response_body_for_content_types**](#post_maximum_validation_with_unsigned_integer_response_body_for_content_types) | **post** /responseBody/postMaximumValidationWithUnsignedIntegerResponseBodyForContentTypes |
|
|
||||||
|
|
||||||
# **post_maximum_validation_request_body**
|
|
||||||
<a id="post_maximum_validation_request_body"></a>
|
|
||||||
> post_maximum_validation_request_body(body)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import maximum_api
|
|
||||||
from unit_test_api.model.maximum_validation import MaximumValidation
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = maximum_api.MaximumApi(api_client)
|
|
||||||
|
|
||||||
# example passing only required values which don't have defaults set
|
|
||||||
body = MaximumValidation(None)
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_maximum_validation_request_body(
|
|
||||||
body=body,
|
|
||||||
)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling MaximumApi->post_maximum_validation_request_body: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
body | typing.Union[SchemaForRequestBodyApplicationJson] | required |
|
|
||||||
content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body
|
|
||||||
stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file
|
|
||||||
timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client
|
|
||||||
skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned
|
|
||||||
|
|
||||||
### body
|
|
||||||
|
|
||||||
# SchemaForRequestBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**MaximumValidation**](../../models/MaximumValidation.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_maximum_validation_request_body.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_maximum_validation_request_body.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | Unset | body was not defined |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_maximum_validation_response_body_for_content_types**
|
|
||||||
<a id="post_maximum_validation_response_body_for_content_types"></a>
|
|
||||||
> MaximumValidation post_maximum_validation_response_body_for_content_types()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import maximum_api
|
|
||||||
from unit_test_api.model.maximum_validation import MaximumValidation
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = maximum_api.MaximumApi(api_client)
|
|
||||||
|
|
||||||
# example, this endpoint has no required or optional parameters
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_maximum_validation_response_body_for_content_types()
|
|
||||||
pprint(api_response)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling MaximumApi->post_maximum_validation_response_body_for_content_types: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_maximum_validation_response_body_for_content_types.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_maximum_validation_response_body_for_content_types.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
# SchemaFor200ResponseBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**MaximumValidation**](../../models/MaximumValidation.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_maximum_validation_with_unsigned_integer_request_body**
|
|
||||||
<a id="post_maximum_validation_with_unsigned_integer_request_body"></a>
|
|
||||||
> post_maximum_validation_with_unsigned_integer_request_body(body)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import maximum_api
|
|
||||||
from unit_test_api.model.maximum_validation_with_unsigned_integer import MaximumValidationWithUnsignedInteger
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = maximum_api.MaximumApi(api_client)
|
|
||||||
|
|
||||||
# example passing only required values which don't have defaults set
|
|
||||||
body = MaximumValidationWithUnsignedInteger(None)
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_maximum_validation_with_unsigned_integer_request_body(
|
|
||||||
body=body,
|
|
||||||
)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling MaximumApi->post_maximum_validation_with_unsigned_integer_request_body: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
body | typing.Union[SchemaForRequestBodyApplicationJson] | required |
|
|
||||||
content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body
|
|
||||||
stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file
|
|
||||||
timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client
|
|
||||||
skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned
|
|
||||||
|
|
||||||
### body
|
|
||||||
|
|
||||||
# SchemaForRequestBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**MaximumValidationWithUnsignedInteger**](../../models/MaximumValidationWithUnsignedInteger.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_maximum_validation_with_unsigned_integer_request_body.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_maximum_validation_with_unsigned_integer_request_body.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | Unset | body was not defined |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_maximum_validation_with_unsigned_integer_response_body_for_content_types**
|
|
||||||
<a id="post_maximum_validation_with_unsigned_integer_response_body_for_content_types"></a>
|
|
||||||
> MaximumValidationWithUnsignedInteger post_maximum_validation_with_unsigned_integer_response_body_for_content_types()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import maximum_api
|
|
||||||
from unit_test_api.model.maximum_validation_with_unsigned_integer import MaximumValidationWithUnsignedInteger
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = maximum_api.MaximumApi(api_client)
|
|
||||||
|
|
||||||
# example, this endpoint has no required or optional parameters
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_maximum_validation_with_unsigned_integer_response_body_for_content_types()
|
|
||||||
pprint(api_response)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling MaximumApi->post_maximum_validation_with_unsigned_integer_response_body_for_content_types: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_maximum_validation_with_unsigned_integer_response_body_for_content_types.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_maximum_validation_with_unsigned_integer_response_body_for_content_types.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
# SchemaFor200ResponseBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**MaximumValidationWithUnsignedInteger**](../../models/MaximumValidationWithUnsignedInteger.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
@ -1,141 +0,0 @@
|
|||||||
<a id="__pageTop"></a>
|
|
||||||
# unit_test_api.apis.tags.min_items_api.MinItemsApi
|
|
||||||
|
|
||||||
All URIs are relative to *https://someserver.com/v1*
|
|
||||||
|
|
||||||
Method | HTTP request | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**post_minitems_validation_request_body**](#post_minitems_validation_request_body) | **post** /requestBody/postMinitemsValidationRequestBody |
|
|
||||||
[**post_minitems_validation_response_body_for_content_types**](#post_minitems_validation_response_body_for_content_types) | **post** /responseBody/postMinitemsValidationResponseBodyForContentTypes |
|
|
||||||
|
|
||||||
# **post_minitems_validation_request_body**
|
|
||||||
<a id="post_minitems_validation_request_body"></a>
|
|
||||||
> post_minitems_validation_request_body(body)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import min_items_api
|
|
||||||
from unit_test_api.model.minitems_validation import MinitemsValidation
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = min_items_api.MinItemsApi(api_client)
|
|
||||||
|
|
||||||
# example passing only required values which don't have defaults set
|
|
||||||
body = MinitemsValidation(None)
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_minitems_validation_request_body(
|
|
||||||
body=body,
|
|
||||||
)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling MinItemsApi->post_minitems_validation_request_body: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
body | typing.Union[SchemaForRequestBodyApplicationJson] | required |
|
|
||||||
content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body
|
|
||||||
stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file
|
|
||||||
timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client
|
|
||||||
skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned
|
|
||||||
|
|
||||||
### body
|
|
||||||
|
|
||||||
# SchemaForRequestBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**MinitemsValidation**](../../models/MinitemsValidation.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_minitems_validation_request_body.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_minitems_validation_request_body.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | Unset | body was not defined |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_minitems_validation_response_body_for_content_types**
|
|
||||||
<a id="post_minitems_validation_response_body_for_content_types"></a>
|
|
||||||
> MinitemsValidation post_minitems_validation_response_body_for_content_types()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import min_items_api
|
|
||||||
from unit_test_api.model.minitems_validation import MinitemsValidation
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = min_items_api.MinItemsApi(api_client)
|
|
||||||
|
|
||||||
# example, this endpoint has no required or optional parameters
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_minitems_validation_response_body_for_content_types()
|
|
||||||
pprint(api_response)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling MinItemsApi->post_minitems_validation_response_body_for_content_types: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_minitems_validation_response_body_for_content_types.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_minitems_validation_response_body_for_content_types.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
# SchemaFor200ResponseBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**MinitemsValidation**](../../models/MinitemsValidation.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
@ -1,141 +0,0 @@
|
|||||||
<a id="__pageTop"></a>
|
|
||||||
# unit_test_api.apis.tags.min_length_api.MinLengthApi
|
|
||||||
|
|
||||||
All URIs are relative to *https://someserver.com/v1*
|
|
||||||
|
|
||||||
Method | HTTP request | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**post_minlength_validation_request_body**](#post_minlength_validation_request_body) | **post** /requestBody/postMinlengthValidationRequestBody |
|
|
||||||
[**post_minlength_validation_response_body_for_content_types**](#post_minlength_validation_response_body_for_content_types) | **post** /responseBody/postMinlengthValidationResponseBodyForContentTypes |
|
|
||||||
|
|
||||||
# **post_minlength_validation_request_body**
|
|
||||||
<a id="post_minlength_validation_request_body"></a>
|
|
||||||
> post_minlength_validation_request_body(body)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import min_length_api
|
|
||||||
from unit_test_api.model.minlength_validation import MinlengthValidation
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = min_length_api.MinLengthApi(api_client)
|
|
||||||
|
|
||||||
# example passing only required values which don't have defaults set
|
|
||||||
body = MinlengthValidation(None)
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_minlength_validation_request_body(
|
|
||||||
body=body,
|
|
||||||
)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling MinLengthApi->post_minlength_validation_request_body: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
body | typing.Union[SchemaForRequestBodyApplicationJson] | required |
|
|
||||||
content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body
|
|
||||||
stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file
|
|
||||||
timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client
|
|
||||||
skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned
|
|
||||||
|
|
||||||
### body
|
|
||||||
|
|
||||||
# SchemaForRequestBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**MinlengthValidation**](../../models/MinlengthValidation.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_minlength_validation_request_body.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_minlength_validation_request_body.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | Unset | body was not defined |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_minlength_validation_response_body_for_content_types**
|
|
||||||
<a id="post_minlength_validation_response_body_for_content_types"></a>
|
|
||||||
> MinlengthValidation post_minlength_validation_response_body_for_content_types()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import min_length_api
|
|
||||||
from unit_test_api.model.minlength_validation import MinlengthValidation
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = min_length_api.MinLengthApi(api_client)
|
|
||||||
|
|
||||||
# example, this endpoint has no required or optional parameters
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_minlength_validation_response_body_for_content_types()
|
|
||||||
pprint(api_response)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling MinLengthApi->post_minlength_validation_response_body_for_content_types: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_minlength_validation_response_body_for_content_types.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_minlength_validation_response_body_for_content_types.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
# SchemaFor200ResponseBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**MinlengthValidation**](../../models/MinlengthValidation.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
@ -1,141 +0,0 @@
|
|||||||
<a id="__pageTop"></a>
|
|
||||||
# unit_test_api.apis.tags.min_properties_api.MinPropertiesApi
|
|
||||||
|
|
||||||
All URIs are relative to *https://someserver.com/v1*
|
|
||||||
|
|
||||||
Method | HTTP request | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**post_minproperties_validation_request_body**](#post_minproperties_validation_request_body) | **post** /requestBody/postMinpropertiesValidationRequestBody |
|
|
||||||
[**post_minproperties_validation_response_body_for_content_types**](#post_minproperties_validation_response_body_for_content_types) | **post** /responseBody/postMinpropertiesValidationResponseBodyForContentTypes |
|
|
||||||
|
|
||||||
# **post_minproperties_validation_request_body**
|
|
||||||
<a id="post_minproperties_validation_request_body"></a>
|
|
||||||
> post_minproperties_validation_request_body(body)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import min_properties_api
|
|
||||||
from unit_test_api.model.minproperties_validation import MinpropertiesValidation
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = min_properties_api.MinPropertiesApi(api_client)
|
|
||||||
|
|
||||||
# example passing only required values which don't have defaults set
|
|
||||||
body = MinpropertiesValidation(None)
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_minproperties_validation_request_body(
|
|
||||||
body=body,
|
|
||||||
)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling MinPropertiesApi->post_minproperties_validation_request_body: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
body | typing.Union[SchemaForRequestBodyApplicationJson] | required |
|
|
||||||
content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body
|
|
||||||
stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file
|
|
||||||
timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client
|
|
||||||
skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned
|
|
||||||
|
|
||||||
### body
|
|
||||||
|
|
||||||
# SchemaForRequestBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**MinpropertiesValidation**](../../models/MinpropertiesValidation.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_minproperties_validation_request_body.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_minproperties_validation_request_body.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | Unset | body was not defined |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_minproperties_validation_response_body_for_content_types**
|
|
||||||
<a id="post_minproperties_validation_response_body_for_content_types"></a>
|
|
||||||
> MinpropertiesValidation post_minproperties_validation_response_body_for_content_types()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import min_properties_api
|
|
||||||
from unit_test_api.model.minproperties_validation import MinpropertiesValidation
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = min_properties_api.MinPropertiesApi(api_client)
|
|
||||||
|
|
||||||
# example, this endpoint has no required or optional parameters
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_minproperties_validation_response_body_for_content_types()
|
|
||||||
pprint(api_response)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling MinPropertiesApi->post_minproperties_validation_response_body_for_content_types: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_minproperties_validation_response_body_for_content_types.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_minproperties_validation_response_body_for_content_types.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
# SchemaFor200ResponseBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**MinpropertiesValidation**](../../models/MinpropertiesValidation.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
@ -1,274 +0,0 @@
|
|||||||
<a id="__pageTop"></a>
|
|
||||||
# unit_test_api.apis.tags.minimum_api.MinimumApi
|
|
||||||
|
|
||||||
All URIs are relative to *https://someserver.com/v1*
|
|
||||||
|
|
||||||
Method | HTTP request | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**post_minimum_validation_request_body**](#post_minimum_validation_request_body) | **post** /requestBody/postMinimumValidationRequestBody |
|
|
||||||
[**post_minimum_validation_response_body_for_content_types**](#post_minimum_validation_response_body_for_content_types) | **post** /responseBody/postMinimumValidationResponseBodyForContentTypes |
|
|
||||||
[**post_minimum_validation_with_signed_integer_request_body**](#post_minimum_validation_with_signed_integer_request_body) | **post** /requestBody/postMinimumValidationWithSignedIntegerRequestBody |
|
|
||||||
[**post_minimum_validation_with_signed_integer_response_body_for_content_types**](#post_minimum_validation_with_signed_integer_response_body_for_content_types) | **post** /responseBody/postMinimumValidationWithSignedIntegerResponseBodyForContentTypes |
|
|
||||||
|
|
||||||
# **post_minimum_validation_request_body**
|
|
||||||
<a id="post_minimum_validation_request_body"></a>
|
|
||||||
> post_minimum_validation_request_body(body)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import minimum_api
|
|
||||||
from unit_test_api.model.minimum_validation import MinimumValidation
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = minimum_api.MinimumApi(api_client)
|
|
||||||
|
|
||||||
# example passing only required values which don't have defaults set
|
|
||||||
body = MinimumValidation(None)
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_minimum_validation_request_body(
|
|
||||||
body=body,
|
|
||||||
)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling MinimumApi->post_minimum_validation_request_body: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
body | typing.Union[SchemaForRequestBodyApplicationJson] | required |
|
|
||||||
content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body
|
|
||||||
stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file
|
|
||||||
timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client
|
|
||||||
skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned
|
|
||||||
|
|
||||||
### body
|
|
||||||
|
|
||||||
# SchemaForRequestBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**MinimumValidation**](../../models/MinimumValidation.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_minimum_validation_request_body.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_minimum_validation_request_body.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | Unset | body was not defined |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_minimum_validation_response_body_for_content_types**
|
|
||||||
<a id="post_minimum_validation_response_body_for_content_types"></a>
|
|
||||||
> MinimumValidation post_minimum_validation_response_body_for_content_types()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import minimum_api
|
|
||||||
from unit_test_api.model.minimum_validation import MinimumValidation
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = minimum_api.MinimumApi(api_client)
|
|
||||||
|
|
||||||
# example, this endpoint has no required or optional parameters
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_minimum_validation_response_body_for_content_types()
|
|
||||||
pprint(api_response)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling MinimumApi->post_minimum_validation_response_body_for_content_types: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_minimum_validation_response_body_for_content_types.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_minimum_validation_response_body_for_content_types.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
# SchemaFor200ResponseBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**MinimumValidation**](../../models/MinimumValidation.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_minimum_validation_with_signed_integer_request_body**
|
|
||||||
<a id="post_minimum_validation_with_signed_integer_request_body"></a>
|
|
||||||
> post_minimum_validation_with_signed_integer_request_body(body)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import minimum_api
|
|
||||||
from unit_test_api.model.minimum_validation_with_signed_integer import MinimumValidationWithSignedInteger
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = minimum_api.MinimumApi(api_client)
|
|
||||||
|
|
||||||
# example passing only required values which don't have defaults set
|
|
||||||
body = MinimumValidationWithSignedInteger(None)
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_minimum_validation_with_signed_integer_request_body(
|
|
||||||
body=body,
|
|
||||||
)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling MinimumApi->post_minimum_validation_with_signed_integer_request_body: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
body | typing.Union[SchemaForRequestBodyApplicationJson] | required |
|
|
||||||
content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body
|
|
||||||
stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file
|
|
||||||
timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client
|
|
||||||
skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned
|
|
||||||
|
|
||||||
### body
|
|
||||||
|
|
||||||
# SchemaForRequestBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**MinimumValidationWithSignedInteger**](../../models/MinimumValidationWithSignedInteger.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_minimum_validation_with_signed_integer_request_body.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_minimum_validation_with_signed_integer_request_body.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | Unset | body was not defined |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_minimum_validation_with_signed_integer_response_body_for_content_types**
|
|
||||||
<a id="post_minimum_validation_with_signed_integer_response_body_for_content_types"></a>
|
|
||||||
> MinimumValidationWithSignedInteger post_minimum_validation_with_signed_integer_response_body_for_content_types()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import minimum_api
|
|
||||||
from unit_test_api.model.minimum_validation_with_signed_integer import MinimumValidationWithSignedInteger
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = minimum_api.MinimumApi(api_client)
|
|
||||||
|
|
||||||
# example, this endpoint has no required or optional parameters
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_minimum_validation_with_signed_integer_response_body_for_content_types()
|
|
||||||
pprint(api_response)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling MinimumApi->post_minimum_validation_with_signed_integer_response_body_for_content_types: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_minimum_validation_with_signed_integer_response_body_for_content_types.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_minimum_validation_with_signed_integer_response_body_for_content_types.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
# SchemaFor200ResponseBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**MinimumValidationWithSignedInteger**](../../models/MinimumValidationWithSignedInteger.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
@ -1,471 +0,0 @@
|
|||||||
<a id="__pageTop"></a>
|
|
||||||
# unit_test_api.apis.tags.model_not_api.ModelNotApi
|
|
||||||
|
|
||||||
All URIs are relative to *https://someserver.com/v1*
|
|
||||||
|
|
||||||
Method | HTTP request | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**post_forbidden_property_request_body**](#post_forbidden_property_request_body) | **post** /requestBody/postForbiddenPropertyRequestBody |
|
|
||||||
[**post_forbidden_property_response_body_for_content_types**](#post_forbidden_property_response_body_for_content_types) | **post** /responseBody/postForbiddenPropertyResponseBodyForContentTypes |
|
|
||||||
[**post_not_more_complex_schema_request_body**](#post_not_more_complex_schema_request_body) | **post** /requestBody/postNotMoreComplexSchemaRequestBody |
|
|
||||||
[**post_not_more_complex_schema_response_body_for_content_types**](#post_not_more_complex_schema_response_body_for_content_types) | **post** /responseBody/postNotMoreComplexSchemaResponseBodyForContentTypes |
|
|
||||||
[**post_not_request_body**](#post_not_request_body) | **post** /requestBody/postNotRequestBody |
|
|
||||||
[**post_not_response_body_for_content_types**](#post_not_response_body_for_content_types) | **post** /responseBody/postNotResponseBodyForContentTypes |
|
|
||||||
|
|
||||||
# **post_forbidden_property_request_body**
|
|
||||||
<a id="post_forbidden_property_request_body"></a>
|
|
||||||
> post_forbidden_property_request_body(forbidden_property)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import model_not_api
|
|
||||||
from unit_test_api.model.forbidden_property import ForbiddenProperty
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = model_not_api.ModelNotApi(api_client)
|
|
||||||
|
|
||||||
# example passing only required values which don't have defaults set
|
|
||||||
body = ForbiddenProperty(None)
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_forbidden_property_request_body(
|
|
||||||
body=body,
|
|
||||||
)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling ModelNotApi->post_forbidden_property_request_body: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
body | typing.Union[SchemaForRequestBodyApplicationJson] | required |
|
|
||||||
content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body
|
|
||||||
stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file
|
|
||||||
timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client
|
|
||||||
skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned
|
|
||||||
|
|
||||||
### body
|
|
||||||
|
|
||||||
# SchemaForRequestBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**ForbiddenProperty**](../../models/ForbiddenProperty.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_forbidden_property_request_body.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_forbidden_property_request_body.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | Unset | body was not defined |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_forbidden_property_response_body_for_content_types**
|
|
||||||
<a id="post_forbidden_property_response_body_for_content_types"></a>
|
|
||||||
> ForbiddenProperty post_forbidden_property_response_body_for_content_types()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import model_not_api
|
|
||||||
from unit_test_api.model.forbidden_property import ForbiddenProperty
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = model_not_api.ModelNotApi(api_client)
|
|
||||||
|
|
||||||
# example, this endpoint has no required or optional parameters
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_forbidden_property_response_body_for_content_types()
|
|
||||||
pprint(api_response)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling ModelNotApi->post_forbidden_property_response_body_for_content_types: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_forbidden_property_response_body_for_content_types.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_forbidden_property_response_body_for_content_types.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
# SchemaFor200ResponseBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**ForbiddenProperty**](../../models/ForbiddenProperty.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_not_more_complex_schema_request_body**
|
|
||||||
<a id="post_not_more_complex_schema_request_body"></a>
|
|
||||||
> post_not_more_complex_schema_request_body(body)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import model_not_api
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = model_not_api.ModelNotApi(api_client)
|
|
||||||
|
|
||||||
# example passing only required values which don't have defaults set
|
|
||||||
body = None
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_not_more_complex_schema_request_body(
|
|
||||||
body=body,
|
|
||||||
)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling ModelNotApi->post_not_more_complex_schema_request_body: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
body | typing.Union[SchemaForRequestBodyApplicationJson] | required |
|
|
||||||
content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body
|
|
||||||
stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file
|
|
||||||
timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client
|
|
||||||
skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned
|
|
||||||
|
|
||||||
### body
|
|
||||||
|
|
||||||
# SchemaForRequestBodyApplicationJson
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
### Composed Schemas (allOf/anyOf/oneOf/not)
|
|
||||||
#### not
|
|
||||||
Class Name | Input Type | Accessed Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | ------------- | -------------
|
|
||||||
[not_schema](#not_schema) | dict, frozendict.frozendict, | frozendict.frozendict, | |
|
|
||||||
|
|
||||||
# not_schema
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, | frozendict.frozendict, | |
|
|
||||||
|
|
||||||
### Dictionary Keys
|
|
||||||
Key | Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | ------------- | -------------
|
|
||||||
**foo** | str, | str, | | [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]
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_not_more_complex_schema_request_body.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_not_more_complex_schema_request_body.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | Unset | body was not defined |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_not_more_complex_schema_response_body_for_content_types**
|
|
||||||
<a id="post_not_more_complex_schema_response_body_for_content_types"></a>
|
|
||||||
> bool, date, datetime, dict, float, int, list, str, none_type post_not_more_complex_schema_response_body_for_content_types()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import model_not_api
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = model_not_api.ModelNotApi(api_client)
|
|
||||||
|
|
||||||
# example, this endpoint has no required or optional parameters
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_not_more_complex_schema_response_body_for_content_types()
|
|
||||||
pprint(api_response)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling ModelNotApi->post_not_more_complex_schema_response_body_for_content_types: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_not_more_complex_schema_response_body_for_content_types.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_not_more_complex_schema_response_body_for_content_types.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
# SchemaFor200ResponseBodyApplicationJson
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
### Composed Schemas (allOf/anyOf/oneOf/not)
|
|
||||||
#### not
|
|
||||||
Class Name | Input Type | Accessed Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | ------------- | -------------
|
|
||||||
[not_schema](#not_schema) | dict, frozendict.frozendict, | frozendict.frozendict, | |
|
|
||||||
|
|
||||||
# not_schema
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, | frozendict.frozendict, | |
|
|
||||||
|
|
||||||
### Dictionary Keys
|
|
||||||
Key | Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | ------------- | -------------
|
|
||||||
**foo** | str, | str, | | [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
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_not_request_body**
|
|
||||||
<a id="post_not_request_body"></a>
|
|
||||||
> post_not_request_body(body)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import model_not_api
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = model_not_api.ModelNotApi(api_client)
|
|
||||||
|
|
||||||
# example passing only required values which don't have defaults set
|
|
||||||
body = None
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_not_request_body(
|
|
||||||
body=body,
|
|
||||||
)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling ModelNotApi->post_not_request_body: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
body | typing.Union[SchemaForRequestBodyApplicationJson] | required |
|
|
||||||
content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body
|
|
||||||
stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file
|
|
||||||
timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client
|
|
||||||
skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned
|
|
||||||
|
|
||||||
### body
|
|
||||||
|
|
||||||
# SchemaForRequestBodyApplicationJson
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
### Composed Schemas (allOf/anyOf/oneOf/not)
|
|
||||||
#### not
|
|
||||||
Class Name | Input Type | Accessed Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | ------------- | -------------
|
|
||||||
[not_schema](#not_schema) | decimal.Decimal, int, | decimal.Decimal, | |
|
|
||||||
|
|
||||||
# not_schema
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
decimal.Decimal, int, | decimal.Decimal, | |
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_not_request_body.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_not_request_body.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | Unset | body was not defined |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_not_response_body_for_content_types**
|
|
||||||
<a id="post_not_response_body_for_content_types"></a>
|
|
||||||
> bool, date, datetime, dict, float, int, list, str, none_type post_not_response_body_for_content_types()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import model_not_api
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = model_not_api.ModelNotApi(api_client)
|
|
||||||
|
|
||||||
# example, this endpoint has no required or optional parameters
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_not_response_body_for_content_types()
|
|
||||||
pprint(api_response)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling ModelNotApi->post_not_response_body_for_content_types: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_not_response_body_for_content_types.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_not_response_body_for_content_types.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
# SchemaFor200ResponseBodyApplicationJson
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
### Composed Schemas (allOf/anyOf/oneOf/not)
|
|
||||||
#### not
|
|
||||||
Class Name | Input Type | Accessed Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | ------------- | -------------
|
|
||||||
[not_schema](#not_schema) | decimal.Decimal, int, | decimal.Decimal, | |
|
|
||||||
|
|
||||||
# not_schema
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
decimal.Decimal, int, | decimal.Decimal, | |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
@ -1,540 +0,0 @@
|
|||||||
<a id="__pageTop"></a>
|
|
||||||
# unit_test_api.apis.tags.multiple_of_api.MultipleOfApi
|
|
||||||
|
|
||||||
All URIs are relative to *https://someserver.com/v1*
|
|
||||||
|
|
||||||
Method | HTTP request | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**post_by_int_request_body**](#post_by_int_request_body) | **post** /requestBody/postByIntRequestBody |
|
|
||||||
[**post_by_int_response_body_for_content_types**](#post_by_int_response_body_for_content_types) | **post** /responseBody/postByIntResponseBodyForContentTypes |
|
|
||||||
[**post_by_number_request_body**](#post_by_number_request_body) | **post** /requestBody/postByNumberRequestBody |
|
|
||||||
[**post_by_number_response_body_for_content_types**](#post_by_number_response_body_for_content_types) | **post** /responseBody/postByNumberResponseBodyForContentTypes |
|
|
||||||
[**post_by_small_number_request_body**](#post_by_small_number_request_body) | **post** /requestBody/postBySmallNumberRequestBody |
|
|
||||||
[**post_by_small_number_response_body_for_content_types**](#post_by_small_number_response_body_for_content_types) | **post** /responseBody/postBySmallNumberResponseBodyForContentTypes |
|
|
||||||
[**post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body**](#post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body) | **post** /requestBody/postInvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInfRequestBody |
|
|
||||||
[**post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types**](#post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types) | **post** /responseBody/postInvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInfResponseBodyForContentTypes |
|
|
||||||
|
|
||||||
# **post_by_int_request_body**
|
|
||||||
<a id="post_by_int_request_body"></a>
|
|
||||||
> post_by_int_request_body(body)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import multiple_of_api
|
|
||||||
from unit_test_api.model.by_int import ByInt
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = multiple_of_api.MultipleOfApi(api_client)
|
|
||||||
|
|
||||||
# example passing only required values which don't have defaults set
|
|
||||||
body = ByInt(None)
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_by_int_request_body(
|
|
||||||
body=body,
|
|
||||||
)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling MultipleOfApi->post_by_int_request_body: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
body | typing.Union[SchemaForRequestBodyApplicationJson] | required |
|
|
||||||
content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body
|
|
||||||
stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file
|
|
||||||
timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client
|
|
||||||
skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned
|
|
||||||
|
|
||||||
### body
|
|
||||||
|
|
||||||
# SchemaForRequestBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**ByInt**](../../models/ByInt.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_by_int_request_body.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_by_int_request_body.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | Unset | body was not defined |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_by_int_response_body_for_content_types**
|
|
||||||
<a id="post_by_int_response_body_for_content_types"></a>
|
|
||||||
> ByInt post_by_int_response_body_for_content_types()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import multiple_of_api
|
|
||||||
from unit_test_api.model.by_int import ByInt
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = multiple_of_api.MultipleOfApi(api_client)
|
|
||||||
|
|
||||||
# example, this endpoint has no required or optional parameters
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_by_int_response_body_for_content_types()
|
|
||||||
pprint(api_response)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling MultipleOfApi->post_by_int_response_body_for_content_types: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_by_int_response_body_for_content_types.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_by_int_response_body_for_content_types.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
# SchemaFor200ResponseBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**ByInt**](../../models/ByInt.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_by_number_request_body**
|
|
||||||
<a id="post_by_number_request_body"></a>
|
|
||||||
> post_by_number_request_body(body)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import multiple_of_api
|
|
||||||
from unit_test_api.model.by_number import ByNumber
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = multiple_of_api.MultipleOfApi(api_client)
|
|
||||||
|
|
||||||
# example passing only required values which don't have defaults set
|
|
||||||
body = ByNumber(None)
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_by_number_request_body(
|
|
||||||
body=body,
|
|
||||||
)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling MultipleOfApi->post_by_number_request_body: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
body | typing.Union[SchemaForRequestBodyApplicationJson] | required |
|
|
||||||
content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body
|
|
||||||
stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file
|
|
||||||
timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client
|
|
||||||
skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned
|
|
||||||
|
|
||||||
### body
|
|
||||||
|
|
||||||
# SchemaForRequestBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**ByNumber**](../../models/ByNumber.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_by_number_request_body.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_by_number_request_body.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | Unset | body was not defined |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_by_number_response_body_for_content_types**
|
|
||||||
<a id="post_by_number_response_body_for_content_types"></a>
|
|
||||||
> ByNumber post_by_number_response_body_for_content_types()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import multiple_of_api
|
|
||||||
from unit_test_api.model.by_number import ByNumber
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = multiple_of_api.MultipleOfApi(api_client)
|
|
||||||
|
|
||||||
# example, this endpoint has no required or optional parameters
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_by_number_response_body_for_content_types()
|
|
||||||
pprint(api_response)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling MultipleOfApi->post_by_number_response_body_for_content_types: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_by_number_response_body_for_content_types.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_by_number_response_body_for_content_types.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
# SchemaFor200ResponseBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**ByNumber**](../../models/ByNumber.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_by_small_number_request_body**
|
|
||||||
<a id="post_by_small_number_request_body"></a>
|
|
||||||
> post_by_small_number_request_body(body)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import multiple_of_api
|
|
||||||
from unit_test_api.model.by_small_number import BySmallNumber
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = multiple_of_api.MultipleOfApi(api_client)
|
|
||||||
|
|
||||||
# example passing only required values which don't have defaults set
|
|
||||||
body = BySmallNumber(None)
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_by_small_number_request_body(
|
|
||||||
body=body,
|
|
||||||
)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling MultipleOfApi->post_by_small_number_request_body: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
body | typing.Union[SchemaForRequestBodyApplicationJson] | required |
|
|
||||||
content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body
|
|
||||||
stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file
|
|
||||||
timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client
|
|
||||||
skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned
|
|
||||||
|
|
||||||
### body
|
|
||||||
|
|
||||||
# SchemaForRequestBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**BySmallNumber**](../../models/BySmallNumber.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_by_small_number_request_body.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_by_small_number_request_body.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | Unset | body was not defined |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_by_small_number_response_body_for_content_types**
|
|
||||||
<a id="post_by_small_number_response_body_for_content_types"></a>
|
|
||||||
> BySmallNumber post_by_small_number_response_body_for_content_types()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import multiple_of_api
|
|
||||||
from unit_test_api.model.by_small_number import BySmallNumber
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = multiple_of_api.MultipleOfApi(api_client)
|
|
||||||
|
|
||||||
# example, this endpoint has no required or optional parameters
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_by_small_number_response_body_for_content_types()
|
|
||||||
pprint(api_response)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling MultipleOfApi->post_by_small_number_response_body_for_content_types: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_by_small_number_response_body_for_content_types.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_by_small_number_response_body_for_content_types.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
# SchemaFor200ResponseBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**BySmallNumber**](../../models/BySmallNumber.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body**
|
|
||||||
<a id="post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body"></a>
|
|
||||||
> post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body(body)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import multiple_of_api
|
|
||||||
from unit_test_api.model.invalid_instance_should_not_raise_error_when_float_division_inf import InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = multiple_of_api.MultipleOfApi(api_client)
|
|
||||||
|
|
||||||
# example passing only required values which don't have defaults set
|
|
||||||
body = InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf(1)
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body(
|
|
||||||
body=body,
|
|
||||||
)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling MultipleOfApi->post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
body | typing.Union[SchemaForRequestBodyApplicationJson] | required |
|
|
||||||
content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body
|
|
||||||
stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file
|
|
||||||
timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client
|
|
||||||
skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned
|
|
||||||
|
|
||||||
### body
|
|
||||||
|
|
||||||
# SchemaForRequestBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf**](../../models/InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | Unset | body was not defined |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types**
|
|
||||||
<a id="post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types"></a>
|
|
||||||
> InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import multiple_of_api
|
|
||||||
from unit_test_api.model.invalid_instance_should_not_raise_error_when_float_division_inf import InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = multiple_of_api.MultipleOfApi(api_client)
|
|
||||||
|
|
||||||
# example, this endpoint has no required or optional parameters
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types()
|
|
||||||
pprint(api_response)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling MultipleOfApi->post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
# SchemaFor200ResponseBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf**](../../models/InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
@ -1,806 +0,0 @@
|
|||||||
<a id="__pageTop"></a>
|
|
||||||
# unit_test_api.apis.tags.one_of_api.OneOfApi
|
|
||||||
|
|
||||||
All URIs are relative to *https://someserver.com/v1*
|
|
||||||
|
|
||||||
Method | HTTP request | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**post_nested_oneof_to_check_validation_semantics_request_body**](#post_nested_oneof_to_check_validation_semantics_request_body) | **post** /requestBody/postNestedOneofToCheckValidationSemanticsRequestBody |
|
|
||||||
[**post_nested_oneof_to_check_validation_semantics_response_body_for_content_types**](#post_nested_oneof_to_check_validation_semantics_response_body_for_content_types) | **post** /responseBody/postNestedOneofToCheckValidationSemanticsResponseBodyForContentTypes |
|
|
||||||
[**post_oneof_complex_types_request_body**](#post_oneof_complex_types_request_body) | **post** /requestBody/postOneofComplexTypesRequestBody |
|
|
||||||
[**post_oneof_complex_types_response_body_for_content_types**](#post_oneof_complex_types_response_body_for_content_types) | **post** /responseBody/postOneofComplexTypesResponseBodyForContentTypes |
|
|
||||||
[**post_oneof_request_body**](#post_oneof_request_body) | **post** /requestBody/postOneofRequestBody |
|
|
||||||
[**post_oneof_response_body_for_content_types**](#post_oneof_response_body_for_content_types) | **post** /responseBody/postOneofResponseBodyForContentTypes |
|
|
||||||
[**post_oneof_with_base_schema_request_body**](#post_oneof_with_base_schema_request_body) | **post** /requestBody/postOneofWithBaseSchemaRequestBody |
|
|
||||||
[**post_oneof_with_base_schema_response_body_for_content_types**](#post_oneof_with_base_schema_response_body_for_content_types) | **post** /responseBody/postOneofWithBaseSchemaResponseBodyForContentTypes |
|
|
||||||
[**post_oneof_with_empty_schema_request_body**](#post_oneof_with_empty_schema_request_body) | **post** /requestBody/postOneofWithEmptySchemaRequestBody |
|
|
||||||
[**post_oneof_with_empty_schema_response_body_for_content_types**](#post_oneof_with_empty_schema_response_body_for_content_types) | **post** /responseBody/postOneofWithEmptySchemaResponseBodyForContentTypes |
|
|
||||||
[**post_oneof_with_required_request_body**](#post_oneof_with_required_request_body) | **post** /requestBody/postOneofWithRequiredRequestBody |
|
|
||||||
[**post_oneof_with_required_response_body_for_content_types**](#post_oneof_with_required_response_body_for_content_types) | **post** /responseBody/postOneofWithRequiredResponseBodyForContentTypes |
|
|
||||||
|
|
||||||
# **post_nested_oneof_to_check_validation_semantics_request_body**
|
|
||||||
<a id="post_nested_oneof_to_check_validation_semantics_request_body"></a>
|
|
||||||
> post_nested_oneof_to_check_validation_semantics_request_body(nested_oneof_to_check_validation_semantics)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import one_of_api
|
|
||||||
from unit_test_api.model.nested_oneof_to_check_validation_semantics import NestedOneofToCheckValidationSemantics
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = one_of_api.OneOfApi(api_client)
|
|
||||||
|
|
||||||
# example passing only required values which don't have defaults set
|
|
||||||
body = NestedOneofToCheckValidationSemantics(None)
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_nested_oneof_to_check_validation_semantics_request_body(
|
|
||||||
body=body,
|
|
||||||
)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling OneOfApi->post_nested_oneof_to_check_validation_semantics_request_body: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
body | typing.Union[SchemaForRequestBodyApplicationJson] | required |
|
|
||||||
content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body
|
|
||||||
stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file
|
|
||||||
timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client
|
|
||||||
skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned
|
|
||||||
|
|
||||||
### body
|
|
||||||
|
|
||||||
# SchemaForRequestBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**NestedOneofToCheckValidationSemantics**](../../models/NestedOneofToCheckValidationSemantics.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_nested_oneof_to_check_validation_semantics_request_body.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_nested_oneof_to_check_validation_semantics_request_body.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | Unset | body was not defined |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_nested_oneof_to_check_validation_semantics_response_body_for_content_types**
|
|
||||||
<a id="post_nested_oneof_to_check_validation_semantics_response_body_for_content_types"></a>
|
|
||||||
> NestedOneofToCheckValidationSemantics post_nested_oneof_to_check_validation_semantics_response_body_for_content_types()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import one_of_api
|
|
||||||
from unit_test_api.model.nested_oneof_to_check_validation_semantics import NestedOneofToCheckValidationSemantics
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = one_of_api.OneOfApi(api_client)
|
|
||||||
|
|
||||||
# example, this endpoint has no required or optional parameters
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_nested_oneof_to_check_validation_semantics_response_body_for_content_types()
|
|
||||||
pprint(api_response)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling OneOfApi->post_nested_oneof_to_check_validation_semantics_response_body_for_content_types: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_nested_oneof_to_check_validation_semantics_response_body_for_content_types.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_nested_oneof_to_check_validation_semantics_response_body_for_content_types.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
# SchemaFor200ResponseBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**NestedOneofToCheckValidationSemantics**](../../models/NestedOneofToCheckValidationSemantics.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_oneof_complex_types_request_body**
|
|
||||||
<a id="post_oneof_complex_types_request_body"></a>
|
|
||||||
> post_oneof_complex_types_request_body(oneof_complex_types)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import one_of_api
|
|
||||||
from unit_test_api.model.oneof_complex_types import OneofComplexTypes
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = one_of_api.OneOfApi(api_client)
|
|
||||||
|
|
||||||
# example passing only required values which don't have defaults set
|
|
||||||
body = OneofComplexTypes(None)
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_oneof_complex_types_request_body(
|
|
||||||
body=body,
|
|
||||||
)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling OneOfApi->post_oneof_complex_types_request_body: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
body | typing.Union[SchemaForRequestBodyApplicationJson] | required |
|
|
||||||
content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body
|
|
||||||
stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file
|
|
||||||
timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client
|
|
||||||
skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned
|
|
||||||
|
|
||||||
### body
|
|
||||||
|
|
||||||
# SchemaForRequestBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**OneofComplexTypes**](../../models/OneofComplexTypes.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_oneof_complex_types_request_body.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_oneof_complex_types_request_body.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | Unset | body was not defined |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_oneof_complex_types_response_body_for_content_types**
|
|
||||||
<a id="post_oneof_complex_types_response_body_for_content_types"></a>
|
|
||||||
> OneofComplexTypes post_oneof_complex_types_response_body_for_content_types()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import one_of_api
|
|
||||||
from unit_test_api.model.oneof_complex_types import OneofComplexTypes
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = one_of_api.OneOfApi(api_client)
|
|
||||||
|
|
||||||
# example, this endpoint has no required or optional parameters
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_oneof_complex_types_response_body_for_content_types()
|
|
||||||
pprint(api_response)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling OneOfApi->post_oneof_complex_types_response_body_for_content_types: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_oneof_complex_types_response_body_for_content_types.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_oneof_complex_types_response_body_for_content_types.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
# SchemaFor200ResponseBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**OneofComplexTypes**](../../models/OneofComplexTypes.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_oneof_request_body**
|
|
||||||
<a id="post_oneof_request_body"></a>
|
|
||||||
> post_oneof_request_body(oneof)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import one_of_api
|
|
||||||
from unit_test_api.model.oneof 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.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = one_of_api.OneOfApi(api_client)
|
|
||||||
|
|
||||||
# example passing only required values which don't have defaults set
|
|
||||||
body = Oneof(None)
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_oneof_request_body(
|
|
||||||
body=body,
|
|
||||||
)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling OneOfApi->post_oneof_request_body: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
body | typing.Union[SchemaForRequestBodyApplicationJson] | required |
|
|
||||||
content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body
|
|
||||||
stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file
|
|
||||||
timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client
|
|
||||||
skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned
|
|
||||||
|
|
||||||
### body
|
|
||||||
|
|
||||||
# SchemaForRequestBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**Oneof**](../../models/Oneof.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_oneof_request_body.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_oneof_request_body.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | Unset | body was not defined |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_oneof_response_body_for_content_types**
|
|
||||||
<a id="post_oneof_response_body_for_content_types"></a>
|
|
||||||
> Oneof post_oneof_response_body_for_content_types()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import one_of_api
|
|
||||||
from unit_test_api.model.oneof 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.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = one_of_api.OneOfApi(api_client)
|
|
||||||
|
|
||||||
# example, this endpoint has no required or optional parameters
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_oneof_response_body_for_content_types()
|
|
||||||
pprint(api_response)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling OneOfApi->post_oneof_response_body_for_content_types: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_oneof_response_body_for_content_types.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_oneof_response_body_for_content_types.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
# SchemaFor200ResponseBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**Oneof**](../../models/Oneof.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_oneof_with_base_schema_request_body**
|
|
||||||
<a id="post_oneof_with_base_schema_request_body"></a>
|
|
||||||
> post_oneof_with_base_schema_request_body(body)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import one_of_api
|
|
||||||
from unit_test_api.model.oneof_with_base_schema import OneofWithBaseSchema
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = one_of_api.OneOfApi(api_client)
|
|
||||||
|
|
||||||
# example passing only required values which don't have defaults set
|
|
||||||
body = OneofWithBaseSchema("body_example")
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_oneof_with_base_schema_request_body(
|
|
||||||
body=body,
|
|
||||||
)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling OneOfApi->post_oneof_with_base_schema_request_body: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
body | typing.Union[SchemaForRequestBodyApplicationJson] | required |
|
|
||||||
content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body
|
|
||||||
stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file
|
|
||||||
timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client
|
|
||||||
skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned
|
|
||||||
|
|
||||||
### body
|
|
||||||
|
|
||||||
# SchemaForRequestBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**OneofWithBaseSchema**](../../models/OneofWithBaseSchema.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_oneof_with_base_schema_request_body.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_oneof_with_base_schema_request_body.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | Unset | body was not defined |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_oneof_with_base_schema_response_body_for_content_types**
|
|
||||||
<a id="post_oneof_with_base_schema_response_body_for_content_types"></a>
|
|
||||||
> OneofWithBaseSchema post_oneof_with_base_schema_response_body_for_content_types()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import one_of_api
|
|
||||||
from unit_test_api.model.oneof_with_base_schema import OneofWithBaseSchema
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = one_of_api.OneOfApi(api_client)
|
|
||||||
|
|
||||||
# example, this endpoint has no required or optional parameters
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_oneof_with_base_schema_response_body_for_content_types()
|
|
||||||
pprint(api_response)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling OneOfApi->post_oneof_with_base_schema_response_body_for_content_types: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_oneof_with_base_schema_response_body_for_content_types.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_oneof_with_base_schema_response_body_for_content_types.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
# SchemaFor200ResponseBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**OneofWithBaseSchema**](../../models/OneofWithBaseSchema.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_oneof_with_empty_schema_request_body**
|
|
||||||
<a id="post_oneof_with_empty_schema_request_body"></a>
|
|
||||||
> post_oneof_with_empty_schema_request_body(oneof_with_empty_schema)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import one_of_api
|
|
||||||
from unit_test_api.model.oneof_with_empty_schema import OneofWithEmptySchema
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = one_of_api.OneOfApi(api_client)
|
|
||||||
|
|
||||||
# example passing only required values which don't have defaults set
|
|
||||||
body = OneofWithEmptySchema(None)
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_oneof_with_empty_schema_request_body(
|
|
||||||
body=body,
|
|
||||||
)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling OneOfApi->post_oneof_with_empty_schema_request_body: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
body | typing.Union[SchemaForRequestBodyApplicationJson] | required |
|
|
||||||
content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body
|
|
||||||
stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file
|
|
||||||
timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client
|
|
||||||
skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned
|
|
||||||
|
|
||||||
### body
|
|
||||||
|
|
||||||
# SchemaForRequestBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**OneofWithEmptySchema**](../../models/OneofWithEmptySchema.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_oneof_with_empty_schema_request_body.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_oneof_with_empty_schema_request_body.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | Unset | body was not defined |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_oneof_with_empty_schema_response_body_for_content_types**
|
|
||||||
<a id="post_oneof_with_empty_schema_response_body_for_content_types"></a>
|
|
||||||
> OneofWithEmptySchema post_oneof_with_empty_schema_response_body_for_content_types()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import one_of_api
|
|
||||||
from unit_test_api.model.oneof_with_empty_schema import OneofWithEmptySchema
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = one_of_api.OneOfApi(api_client)
|
|
||||||
|
|
||||||
# example, this endpoint has no required or optional parameters
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_oneof_with_empty_schema_response_body_for_content_types()
|
|
||||||
pprint(api_response)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling OneOfApi->post_oneof_with_empty_schema_response_body_for_content_types: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_oneof_with_empty_schema_response_body_for_content_types.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_oneof_with_empty_schema_response_body_for_content_types.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
# SchemaFor200ResponseBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**OneofWithEmptySchema**](../../models/OneofWithEmptySchema.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_oneof_with_required_request_body**
|
|
||||||
<a id="post_oneof_with_required_request_body"></a>
|
|
||||||
> post_oneof_with_required_request_body(oneof_with_required)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import one_of_api
|
|
||||||
from unit_test_api.model.oneof_with_required import OneofWithRequired
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = one_of_api.OneOfApi(api_client)
|
|
||||||
|
|
||||||
# example passing only required values which don't have defaults set
|
|
||||||
body = OneofWithRequired()
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_oneof_with_required_request_body(
|
|
||||||
body=body,
|
|
||||||
)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling OneOfApi->post_oneof_with_required_request_body: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
body | typing.Union[SchemaForRequestBodyApplicationJson] | required |
|
|
||||||
content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body
|
|
||||||
stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file
|
|
||||||
timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client
|
|
||||||
skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned
|
|
||||||
|
|
||||||
### body
|
|
||||||
|
|
||||||
# SchemaForRequestBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**OneofWithRequired**](../../models/OneofWithRequired.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_oneof_with_required_request_body.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_oneof_with_required_request_body.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | Unset | body was not defined |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_oneof_with_required_response_body_for_content_types**
|
|
||||||
<a id="post_oneof_with_required_response_body_for_content_types"></a>
|
|
||||||
> OneofWithRequired post_oneof_with_required_response_body_for_content_types()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import one_of_api
|
|
||||||
from unit_test_api.model.oneof_with_required import OneofWithRequired
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = one_of_api.OneOfApi(api_client)
|
|
||||||
|
|
||||||
# example, this endpoint has no required or optional parameters
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_oneof_with_required_response_body_for_content_types()
|
|
||||||
pprint(api_response)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling OneOfApi->post_oneof_with_required_response_body_for_content_types: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_oneof_with_required_response_body_for_content_types.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_oneof_with_required_response_body_for_content_types.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
# SchemaFor200ResponseBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**OneofWithRequired**](../../models/OneofWithRequired.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,274 +0,0 @@
|
|||||||
<a id="__pageTop"></a>
|
|
||||||
# unit_test_api.apis.tags.pattern_api.PatternApi
|
|
||||||
|
|
||||||
All URIs are relative to *https://someserver.com/v1*
|
|
||||||
|
|
||||||
Method | HTTP request | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**post_pattern_is_not_anchored_request_body**](#post_pattern_is_not_anchored_request_body) | **post** /requestBody/postPatternIsNotAnchoredRequestBody |
|
|
||||||
[**post_pattern_is_not_anchored_response_body_for_content_types**](#post_pattern_is_not_anchored_response_body_for_content_types) | **post** /responseBody/postPatternIsNotAnchoredResponseBodyForContentTypes |
|
|
||||||
[**post_pattern_validation_request_body**](#post_pattern_validation_request_body) | **post** /requestBody/postPatternValidationRequestBody |
|
|
||||||
[**post_pattern_validation_response_body_for_content_types**](#post_pattern_validation_response_body_for_content_types) | **post** /responseBody/postPatternValidationResponseBodyForContentTypes |
|
|
||||||
|
|
||||||
# **post_pattern_is_not_anchored_request_body**
|
|
||||||
<a id="post_pattern_is_not_anchored_request_body"></a>
|
|
||||||
> post_pattern_is_not_anchored_request_body(body)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import pattern_api
|
|
||||||
from unit_test_api.model.pattern_is_not_anchored import PatternIsNotAnchored
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = pattern_api.PatternApi(api_client)
|
|
||||||
|
|
||||||
# example passing only required values which don't have defaults set
|
|
||||||
body = PatternIsNotAnchored(None)
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_pattern_is_not_anchored_request_body(
|
|
||||||
body=body,
|
|
||||||
)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling PatternApi->post_pattern_is_not_anchored_request_body: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
body | typing.Union[SchemaForRequestBodyApplicationJson] | required |
|
|
||||||
content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body
|
|
||||||
stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file
|
|
||||||
timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client
|
|
||||||
skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned
|
|
||||||
|
|
||||||
### body
|
|
||||||
|
|
||||||
# SchemaForRequestBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**PatternIsNotAnchored**](../../models/PatternIsNotAnchored.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_pattern_is_not_anchored_request_body.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_pattern_is_not_anchored_request_body.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | Unset | body was not defined |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_pattern_is_not_anchored_response_body_for_content_types**
|
|
||||||
<a id="post_pattern_is_not_anchored_response_body_for_content_types"></a>
|
|
||||||
> PatternIsNotAnchored post_pattern_is_not_anchored_response_body_for_content_types()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import pattern_api
|
|
||||||
from unit_test_api.model.pattern_is_not_anchored import PatternIsNotAnchored
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = pattern_api.PatternApi(api_client)
|
|
||||||
|
|
||||||
# example, this endpoint has no required or optional parameters
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_pattern_is_not_anchored_response_body_for_content_types()
|
|
||||||
pprint(api_response)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling PatternApi->post_pattern_is_not_anchored_response_body_for_content_types: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_pattern_is_not_anchored_response_body_for_content_types.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_pattern_is_not_anchored_response_body_for_content_types.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
# SchemaFor200ResponseBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**PatternIsNotAnchored**](../../models/PatternIsNotAnchored.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_pattern_validation_request_body**
|
|
||||||
<a id="post_pattern_validation_request_body"></a>
|
|
||||||
> post_pattern_validation_request_body(body)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import pattern_api
|
|
||||||
from unit_test_api.model.pattern_validation import PatternValidation
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = pattern_api.PatternApi(api_client)
|
|
||||||
|
|
||||||
# example passing only required values which don't have defaults set
|
|
||||||
body = PatternValidation(None)
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_pattern_validation_request_body(
|
|
||||||
body=body,
|
|
||||||
)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling PatternApi->post_pattern_validation_request_body: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
body | typing.Union[SchemaForRequestBodyApplicationJson] | required |
|
|
||||||
content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body
|
|
||||||
stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file
|
|
||||||
timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client
|
|
||||||
skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned
|
|
||||||
|
|
||||||
### body
|
|
||||||
|
|
||||||
# SchemaForRequestBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**PatternValidation**](../../models/PatternValidation.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_pattern_validation_request_body.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_pattern_validation_request_body.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | Unset | body was not defined |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_pattern_validation_response_body_for_content_types**
|
|
||||||
<a id="post_pattern_validation_response_body_for_content_types"></a>
|
|
||||||
> PatternValidation post_pattern_validation_response_body_for_content_types()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import pattern_api
|
|
||||||
from unit_test_api.model.pattern_validation import PatternValidation
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = pattern_api.PatternApi(api_client)
|
|
||||||
|
|
||||||
# example, this endpoint has no required or optional parameters
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_pattern_validation_response_body_for_content_types()
|
|
||||||
pprint(api_response)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling PatternApi->post_pattern_validation_response_body_for_content_types: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_pattern_validation_response_body_for_content_types.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_pattern_validation_response_body_for_content_types.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
# SchemaFor200ResponseBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**PatternValidation**](../../models/PatternValidation.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
@ -1,274 +0,0 @@
|
|||||||
<a id="__pageTop"></a>
|
|
||||||
# unit_test_api.apis.tags.properties_api.PropertiesApi
|
|
||||||
|
|
||||||
All URIs are relative to *https://someserver.com/v1*
|
|
||||||
|
|
||||||
Method | HTTP request | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**post_object_properties_validation_request_body**](#post_object_properties_validation_request_body) | **post** /requestBody/postObjectPropertiesValidationRequestBody |
|
|
||||||
[**post_object_properties_validation_response_body_for_content_types**](#post_object_properties_validation_response_body_for_content_types) | **post** /responseBody/postObjectPropertiesValidationResponseBodyForContentTypes |
|
|
||||||
[**post_properties_with_escaped_characters_request_body**](#post_properties_with_escaped_characters_request_body) | **post** /requestBody/postPropertiesWithEscapedCharactersRequestBody |
|
|
||||||
[**post_properties_with_escaped_characters_response_body_for_content_types**](#post_properties_with_escaped_characters_response_body_for_content_types) | **post** /responseBody/postPropertiesWithEscapedCharactersResponseBodyForContentTypes |
|
|
||||||
|
|
||||||
# **post_object_properties_validation_request_body**
|
|
||||||
<a id="post_object_properties_validation_request_body"></a>
|
|
||||||
> post_object_properties_validation_request_body(object_properties_validation)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import properties_api
|
|
||||||
from unit_test_api.model.object_properties_validation import ObjectPropertiesValidation
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = properties_api.PropertiesApi(api_client)
|
|
||||||
|
|
||||||
# example passing only required values which don't have defaults set
|
|
||||||
body = ObjectPropertiesValidation(None)
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_object_properties_validation_request_body(
|
|
||||||
body=body,
|
|
||||||
)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling PropertiesApi->post_object_properties_validation_request_body: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
body | typing.Union[SchemaForRequestBodyApplicationJson] | required |
|
|
||||||
content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body
|
|
||||||
stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file
|
|
||||||
timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client
|
|
||||||
skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned
|
|
||||||
|
|
||||||
### body
|
|
||||||
|
|
||||||
# SchemaForRequestBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**ObjectPropertiesValidation**](../../models/ObjectPropertiesValidation.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_object_properties_validation_request_body.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_object_properties_validation_request_body.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | Unset | body was not defined |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_object_properties_validation_response_body_for_content_types**
|
|
||||||
<a id="post_object_properties_validation_response_body_for_content_types"></a>
|
|
||||||
> ObjectPropertiesValidation post_object_properties_validation_response_body_for_content_types()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import properties_api
|
|
||||||
from unit_test_api.model.object_properties_validation import ObjectPropertiesValidation
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = properties_api.PropertiesApi(api_client)
|
|
||||||
|
|
||||||
# example, this endpoint has no required or optional parameters
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_object_properties_validation_response_body_for_content_types()
|
|
||||||
pprint(api_response)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling PropertiesApi->post_object_properties_validation_response_body_for_content_types: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_object_properties_validation_response_body_for_content_types.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_object_properties_validation_response_body_for_content_types.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
# SchemaFor200ResponseBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**ObjectPropertiesValidation**](../../models/ObjectPropertiesValidation.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_properties_with_escaped_characters_request_body**
|
|
||||||
<a id="post_properties_with_escaped_characters_request_body"></a>
|
|
||||||
> post_properties_with_escaped_characters_request_body(properties_with_escaped_characters)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import properties_api
|
|
||||||
from unit_test_api.model.properties_with_escaped_characters import PropertiesWithEscapedCharacters
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = properties_api.PropertiesApi(api_client)
|
|
||||||
|
|
||||||
# example passing only required values which don't have defaults set
|
|
||||||
body = PropertiesWithEscapedCharacters(None)
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_properties_with_escaped_characters_request_body(
|
|
||||||
body=body,
|
|
||||||
)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling PropertiesApi->post_properties_with_escaped_characters_request_body: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
body | typing.Union[SchemaForRequestBodyApplicationJson] | required |
|
|
||||||
content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body
|
|
||||||
stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file
|
|
||||||
timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client
|
|
||||||
skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned
|
|
||||||
|
|
||||||
### body
|
|
||||||
|
|
||||||
# SchemaForRequestBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**PropertiesWithEscapedCharacters**](../../models/PropertiesWithEscapedCharacters.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_properties_with_escaped_characters_request_body.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_properties_with_escaped_characters_request_body.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | Unset | body was not defined |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_properties_with_escaped_characters_response_body_for_content_types**
|
|
||||||
<a id="post_properties_with_escaped_characters_response_body_for_content_types"></a>
|
|
||||||
> PropertiesWithEscapedCharacters post_properties_with_escaped_characters_response_body_for_content_types()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import properties_api
|
|
||||||
from unit_test_api.model.properties_with_escaped_characters import PropertiesWithEscapedCharacters
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = properties_api.PropertiesApi(api_client)
|
|
||||||
|
|
||||||
# example, this endpoint has no required or optional parameters
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_properties_with_escaped_characters_response_body_for_content_types()
|
|
||||||
pprint(api_response)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling PropertiesApi->post_properties_with_escaped_characters_response_body_for_content_types: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_properties_with_escaped_characters_response_body_for_content_types.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_properties_with_escaped_characters_response_body_for_content_types.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
# SchemaFor200ResponseBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**PropertiesWithEscapedCharacters**](../../models/PropertiesWithEscapedCharacters.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
@ -1,540 +0,0 @@
|
|||||||
<a id="__pageTop"></a>
|
|
||||||
# unit_test_api.apis.tags.required_api.RequiredApi
|
|
||||||
|
|
||||||
All URIs are relative to *https://someserver.com/v1*
|
|
||||||
|
|
||||||
Method | HTTP request | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**post_required_default_validation_request_body**](#post_required_default_validation_request_body) | **post** /requestBody/postRequiredDefaultValidationRequestBody |
|
|
||||||
[**post_required_default_validation_response_body_for_content_types**](#post_required_default_validation_response_body_for_content_types) | **post** /responseBody/postRequiredDefaultValidationResponseBodyForContentTypes |
|
|
||||||
[**post_required_validation_request_body**](#post_required_validation_request_body) | **post** /requestBody/postRequiredValidationRequestBody |
|
|
||||||
[**post_required_validation_response_body_for_content_types**](#post_required_validation_response_body_for_content_types) | **post** /responseBody/postRequiredValidationResponseBodyForContentTypes |
|
|
||||||
[**post_required_with_empty_array_request_body**](#post_required_with_empty_array_request_body) | **post** /requestBody/postRequiredWithEmptyArrayRequestBody |
|
|
||||||
[**post_required_with_empty_array_response_body_for_content_types**](#post_required_with_empty_array_response_body_for_content_types) | **post** /responseBody/postRequiredWithEmptyArrayResponseBodyForContentTypes |
|
|
||||||
[**post_required_with_escaped_characters_request_body**](#post_required_with_escaped_characters_request_body) | **post** /requestBody/postRequiredWithEscapedCharactersRequestBody |
|
|
||||||
[**post_required_with_escaped_characters_response_body_for_content_types**](#post_required_with_escaped_characters_response_body_for_content_types) | **post** /responseBody/postRequiredWithEscapedCharactersResponseBodyForContentTypes |
|
|
||||||
|
|
||||||
# **post_required_default_validation_request_body**
|
|
||||||
<a id="post_required_default_validation_request_body"></a>
|
|
||||||
> post_required_default_validation_request_body(required_default_validation)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import required_api
|
|
||||||
from unit_test_api.model.required_default_validation import RequiredDefaultValidation
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = required_api.RequiredApi(api_client)
|
|
||||||
|
|
||||||
# example passing only required values which don't have defaults set
|
|
||||||
body = RequiredDefaultValidation(None)
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_required_default_validation_request_body(
|
|
||||||
body=body,
|
|
||||||
)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling RequiredApi->post_required_default_validation_request_body: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
body | typing.Union[SchemaForRequestBodyApplicationJson] | required |
|
|
||||||
content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body
|
|
||||||
stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file
|
|
||||||
timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client
|
|
||||||
skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned
|
|
||||||
|
|
||||||
### body
|
|
||||||
|
|
||||||
# SchemaForRequestBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**RequiredDefaultValidation**](../../models/RequiredDefaultValidation.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_required_default_validation_request_body.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_required_default_validation_request_body.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | Unset | body was not defined |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_required_default_validation_response_body_for_content_types**
|
|
||||||
<a id="post_required_default_validation_response_body_for_content_types"></a>
|
|
||||||
> RequiredDefaultValidation post_required_default_validation_response_body_for_content_types()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import required_api
|
|
||||||
from unit_test_api.model.required_default_validation import RequiredDefaultValidation
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = required_api.RequiredApi(api_client)
|
|
||||||
|
|
||||||
# example, this endpoint has no required or optional parameters
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_required_default_validation_response_body_for_content_types()
|
|
||||||
pprint(api_response)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling RequiredApi->post_required_default_validation_response_body_for_content_types: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_required_default_validation_response_body_for_content_types.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_required_default_validation_response_body_for_content_types.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
# SchemaFor200ResponseBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**RequiredDefaultValidation**](../../models/RequiredDefaultValidation.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_required_validation_request_body**
|
|
||||||
<a id="post_required_validation_request_body"></a>
|
|
||||||
> post_required_validation_request_body(required_validation)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import required_api
|
|
||||||
from unit_test_api.model.required_validation import RequiredValidation
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = required_api.RequiredApi(api_client)
|
|
||||||
|
|
||||||
# example passing only required values which don't have defaults set
|
|
||||||
body = RequiredValidation(None)
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_required_validation_request_body(
|
|
||||||
body=body,
|
|
||||||
)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling RequiredApi->post_required_validation_request_body: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
body | typing.Union[SchemaForRequestBodyApplicationJson] | required |
|
|
||||||
content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body
|
|
||||||
stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file
|
|
||||||
timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client
|
|
||||||
skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned
|
|
||||||
|
|
||||||
### body
|
|
||||||
|
|
||||||
# SchemaForRequestBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**RequiredValidation**](../../models/RequiredValidation.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_required_validation_request_body.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_required_validation_request_body.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | Unset | body was not defined |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_required_validation_response_body_for_content_types**
|
|
||||||
<a id="post_required_validation_response_body_for_content_types"></a>
|
|
||||||
> RequiredValidation post_required_validation_response_body_for_content_types()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import required_api
|
|
||||||
from unit_test_api.model.required_validation import RequiredValidation
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = required_api.RequiredApi(api_client)
|
|
||||||
|
|
||||||
# example, this endpoint has no required or optional parameters
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_required_validation_response_body_for_content_types()
|
|
||||||
pprint(api_response)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling RequiredApi->post_required_validation_response_body_for_content_types: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_required_validation_response_body_for_content_types.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_required_validation_response_body_for_content_types.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
# SchemaFor200ResponseBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**RequiredValidation**](../../models/RequiredValidation.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_required_with_empty_array_request_body**
|
|
||||||
<a id="post_required_with_empty_array_request_body"></a>
|
|
||||||
> post_required_with_empty_array_request_body(required_with_empty_array)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import required_api
|
|
||||||
from unit_test_api.model.required_with_empty_array import RequiredWithEmptyArray
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = required_api.RequiredApi(api_client)
|
|
||||||
|
|
||||||
# example passing only required values which don't have defaults set
|
|
||||||
body = RequiredWithEmptyArray(None)
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_required_with_empty_array_request_body(
|
|
||||||
body=body,
|
|
||||||
)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling RequiredApi->post_required_with_empty_array_request_body: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
body | typing.Union[SchemaForRequestBodyApplicationJson] | required |
|
|
||||||
content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body
|
|
||||||
stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file
|
|
||||||
timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client
|
|
||||||
skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned
|
|
||||||
|
|
||||||
### body
|
|
||||||
|
|
||||||
# SchemaForRequestBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**RequiredWithEmptyArray**](../../models/RequiredWithEmptyArray.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_required_with_empty_array_request_body.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_required_with_empty_array_request_body.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | Unset | body was not defined |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_required_with_empty_array_response_body_for_content_types**
|
|
||||||
<a id="post_required_with_empty_array_response_body_for_content_types"></a>
|
|
||||||
> RequiredWithEmptyArray post_required_with_empty_array_response_body_for_content_types()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import required_api
|
|
||||||
from unit_test_api.model.required_with_empty_array import RequiredWithEmptyArray
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = required_api.RequiredApi(api_client)
|
|
||||||
|
|
||||||
# example, this endpoint has no required or optional parameters
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_required_with_empty_array_response_body_for_content_types()
|
|
||||||
pprint(api_response)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling RequiredApi->post_required_with_empty_array_response_body_for_content_types: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_required_with_empty_array_response_body_for_content_types.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_required_with_empty_array_response_body_for_content_types.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
# SchemaFor200ResponseBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**RequiredWithEmptyArray**](../../models/RequiredWithEmptyArray.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_required_with_escaped_characters_request_body**
|
|
||||||
<a id="post_required_with_escaped_characters_request_body"></a>
|
|
||||||
> post_required_with_escaped_characters_request_body(body)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import required_api
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = required_api.RequiredApi(api_client)
|
|
||||||
|
|
||||||
# example passing only required values which don't have defaults set
|
|
||||||
body = None
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_required_with_escaped_characters_request_body(
|
|
||||||
body=body,
|
|
||||||
)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling RequiredApi->post_required_with_escaped_characters_request_body: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
body | typing.Union[SchemaForRequestBodyApplicationJson] | required |
|
|
||||||
content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body
|
|
||||||
stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file
|
|
||||||
timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client
|
|
||||||
skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned
|
|
||||||
|
|
||||||
### body
|
|
||||||
|
|
||||||
# SchemaForRequestBodyApplicationJson
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_required_with_escaped_characters_request_body.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_required_with_escaped_characters_request_body.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | Unset | body was not defined |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_required_with_escaped_characters_response_body_for_content_types**
|
|
||||||
<a id="post_required_with_escaped_characters_response_body_for_content_types"></a>
|
|
||||||
> bool, date, datetime, dict, float, int, list, str, none_type post_required_with_escaped_characters_response_body_for_content_types()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import required_api
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = required_api.RequiredApi(api_client)
|
|
||||||
|
|
||||||
# example, this endpoint has no required or optional parameters
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_required_with_escaped_characters_response_body_for_content_types()
|
|
||||||
pprint(api_response)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling RequiredApi->post_required_with_escaped_characters_response_body_for_content_types: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_required_with_escaped_characters_response_body_for_content_types.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_required_with_escaped_characters_response_body_for_content_types.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
# SchemaFor200ResponseBodyApplicationJson
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
@ -1,941 +0,0 @@
|
|||||||
<a id="__pageTop"></a>
|
|
||||||
# unit_test_api.apis.tags.type_api.TypeApi
|
|
||||||
|
|
||||||
All URIs are relative to *https://someserver.com/v1*
|
|
||||||
|
|
||||||
Method | HTTP request | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**post_array_type_matches_arrays_request_body**](#post_array_type_matches_arrays_request_body) | **post** /requestBody/postArrayTypeMatchesArraysRequestBody |
|
|
||||||
[**post_array_type_matches_arrays_response_body_for_content_types**](#post_array_type_matches_arrays_response_body_for_content_types) | **post** /responseBody/postArrayTypeMatchesArraysResponseBodyForContentTypes |
|
|
||||||
[**post_boolean_type_matches_booleans_request_body**](#post_boolean_type_matches_booleans_request_body) | **post** /requestBody/postBooleanTypeMatchesBooleansRequestBody |
|
|
||||||
[**post_boolean_type_matches_booleans_response_body_for_content_types**](#post_boolean_type_matches_booleans_response_body_for_content_types) | **post** /responseBody/postBooleanTypeMatchesBooleansResponseBodyForContentTypes |
|
|
||||||
[**post_integer_type_matches_integers_request_body**](#post_integer_type_matches_integers_request_body) | **post** /requestBody/postIntegerTypeMatchesIntegersRequestBody |
|
|
||||||
[**post_integer_type_matches_integers_response_body_for_content_types**](#post_integer_type_matches_integers_response_body_for_content_types) | **post** /responseBody/postIntegerTypeMatchesIntegersResponseBodyForContentTypes |
|
|
||||||
[**post_null_type_matches_only_the_null_object_request_body**](#post_null_type_matches_only_the_null_object_request_body) | **post** /requestBody/postNullTypeMatchesOnlyTheNullObjectRequestBody |
|
|
||||||
[**post_null_type_matches_only_the_null_object_response_body_for_content_types**](#post_null_type_matches_only_the_null_object_response_body_for_content_types) | **post** /responseBody/postNullTypeMatchesOnlyTheNullObjectResponseBodyForContentTypes |
|
|
||||||
[**post_number_type_matches_numbers_request_body**](#post_number_type_matches_numbers_request_body) | **post** /requestBody/postNumberTypeMatchesNumbersRequestBody |
|
|
||||||
[**post_number_type_matches_numbers_response_body_for_content_types**](#post_number_type_matches_numbers_response_body_for_content_types) | **post** /responseBody/postNumberTypeMatchesNumbersResponseBodyForContentTypes |
|
|
||||||
[**post_object_type_matches_objects_request_body**](#post_object_type_matches_objects_request_body) | **post** /requestBody/postObjectTypeMatchesObjectsRequestBody |
|
|
||||||
[**post_object_type_matches_objects_response_body_for_content_types**](#post_object_type_matches_objects_response_body_for_content_types) | **post** /responseBody/postObjectTypeMatchesObjectsResponseBodyForContentTypes |
|
|
||||||
[**post_string_type_matches_strings_request_body**](#post_string_type_matches_strings_request_body) | **post** /requestBody/postStringTypeMatchesStringsRequestBody |
|
|
||||||
[**post_string_type_matches_strings_response_body_for_content_types**](#post_string_type_matches_strings_response_body_for_content_types) | **post** /responseBody/postStringTypeMatchesStringsResponseBodyForContentTypes |
|
|
||||||
|
|
||||||
# **post_array_type_matches_arrays_request_body**
|
|
||||||
<a id="post_array_type_matches_arrays_request_body"></a>
|
|
||||||
> post_array_type_matches_arrays_request_body(array_type_matches_arrays)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import type_api
|
|
||||||
from unit_test_api.model.array_type_matches_arrays import ArrayTypeMatchesArrays
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = type_api.TypeApi(api_client)
|
|
||||||
|
|
||||||
# example passing only required values which don't have defaults set
|
|
||||||
body = ArrayTypeMatchesArrays([
|
|
||||||
None
|
|
||||||
])
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_array_type_matches_arrays_request_body(
|
|
||||||
body=body,
|
|
||||||
)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling TypeApi->post_array_type_matches_arrays_request_body: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
body | typing.Union[SchemaForRequestBodyApplicationJson] | required |
|
|
||||||
content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body
|
|
||||||
stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file
|
|
||||||
timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client
|
|
||||||
skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned
|
|
||||||
|
|
||||||
### body
|
|
||||||
|
|
||||||
# SchemaForRequestBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**ArrayTypeMatchesArrays**](../../models/ArrayTypeMatchesArrays.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_array_type_matches_arrays_request_body.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_array_type_matches_arrays_request_body.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | Unset | body was not defined |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_array_type_matches_arrays_response_body_for_content_types**
|
|
||||||
<a id="post_array_type_matches_arrays_response_body_for_content_types"></a>
|
|
||||||
> ArrayTypeMatchesArrays post_array_type_matches_arrays_response_body_for_content_types()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import type_api
|
|
||||||
from unit_test_api.model.array_type_matches_arrays import ArrayTypeMatchesArrays
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = type_api.TypeApi(api_client)
|
|
||||||
|
|
||||||
# example, this endpoint has no required or optional parameters
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_array_type_matches_arrays_response_body_for_content_types()
|
|
||||||
pprint(api_response)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling TypeApi->post_array_type_matches_arrays_response_body_for_content_types: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_array_type_matches_arrays_response_body_for_content_types.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_array_type_matches_arrays_response_body_for_content_types.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
# SchemaFor200ResponseBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**ArrayTypeMatchesArrays**](../../models/ArrayTypeMatchesArrays.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_boolean_type_matches_booleans_request_body**
|
|
||||||
<a id="post_boolean_type_matches_booleans_request_body"></a>
|
|
||||||
> post_boolean_type_matches_booleans_request_body(body)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import type_api
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = type_api.TypeApi(api_client)
|
|
||||||
|
|
||||||
# example passing only required values which don't have defaults set
|
|
||||||
body = True
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_boolean_type_matches_booleans_request_body(
|
|
||||||
body=body,
|
|
||||||
)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling TypeApi->post_boolean_type_matches_booleans_request_body: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
body | typing.Union[SchemaForRequestBodyApplicationJson] | required |
|
|
||||||
content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body
|
|
||||||
stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file
|
|
||||||
timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client
|
|
||||||
skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned
|
|
||||||
|
|
||||||
### body
|
|
||||||
|
|
||||||
# SchemaForRequestBodyApplicationJson
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
bool, | BoolClass, | |
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_boolean_type_matches_booleans_request_body.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_boolean_type_matches_booleans_request_body.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | Unset | body was not defined |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_boolean_type_matches_booleans_response_body_for_content_types**
|
|
||||||
<a id="post_boolean_type_matches_booleans_response_body_for_content_types"></a>
|
|
||||||
> bool post_boolean_type_matches_booleans_response_body_for_content_types()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import type_api
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = type_api.TypeApi(api_client)
|
|
||||||
|
|
||||||
# example, this endpoint has no required or optional parameters
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_boolean_type_matches_booleans_response_body_for_content_types()
|
|
||||||
pprint(api_response)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling TypeApi->post_boolean_type_matches_booleans_response_body_for_content_types: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_boolean_type_matches_booleans_response_body_for_content_types.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_boolean_type_matches_booleans_response_body_for_content_types.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
# SchemaFor200ResponseBodyApplicationJson
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
bool, | BoolClass, | |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_integer_type_matches_integers_request_body**
|
|
||||||
<a id="post_integer_type_matches_integers_request_body"></a>
|
|
||||||
> post_integer_type_matches_integers_request_body(body)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import type_api
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = type_api.TypeApi(api_client)
|
|
||||||
|
|
||||||
# example passing only required values which don't have defaults set
|
|
||||||
body = 1
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_integer_type_matches_integers_request_body(
|
|
||||||
body=body,
|
|
||||||
)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling TypeApi->post_integer_type_matches_integers_request_body: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
body | typing.Union[SchemaForRequestBodyApplicationJson] | required |
|
|
||||||
content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body
|
|
||||||
stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file
|
|
||||||
timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client
|
|
||||||
skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned
|
|
||||||
|
|
||||||
### body
|
|
||||||
|
|
||||||
# SchemaForRequestBodyApplicationJson
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
decimal.Decimal, int, | decimal.Decimal, | |
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_integer_type_matches_integers_request_body.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_integer_type_matches_integers_request_body.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | Unset | body was not defined |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_integer_type_matches_integers_response_body_for_content_types**
|
|
||||||
<a id="post_integer_type_matches_integers_response_body_for_content_types"></a>
|
|
||||||
> int post_integer_type_matches_integers_response_body_for_content_types()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import type_api
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = type_api.TypeApi(api_client)
|
|
||||||
|
|
||||||
# example, this endpoint has no required or optional parameters
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_integer_type_matches_integers_response_body_for_content_types()
|
|
||||||
pprint(api_response)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling TypeApi->post_integer_type_matches_integers_response_body_for_content_types: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_integer_type_matches_integers_response_body_for_content_types.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_integer_type_matches_integers_response_body_for_content_types.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
# SchemaFor200ResponseBodyApplicationJson
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
decimal.Decimal, int, | decimal.Decimal, | |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_null_type_matches_only_the_null_object_request_body**
|
|
||||||
<a id="post_null_type_matches_only_the_null_object_request_body"></a>
|
|
||||||
> post_null_type_matches_only_the_null_object_request_body(body)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import type_api
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = type_api.TypeApi(api_client)
|
|
||||||
|
|
||||||
# example passing only required values which don't have defaults set
|
|
||||||
body = None
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_null_type_matches_only_the_null_object_request_body(
|
|
||||||
body=body,
|
|
||||||
)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling TypeApi->post_null_type_matches_only_the_null_object_request_body: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
body | typing.Union[SchemaForRequestBodyApplicationJson] | required |
|
|
||||||
content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body
|
|
||||||
stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file
|
|
||||||
timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client
|
|
||||||
skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned
|
|
||||||
|
|
||||||
### body
|
|
||||||
|
|
||||||
# SchemaForRequestBodyApplicationJson
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
None, | NoneClass, | |
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_null_type_matches_only_the_null_object_request_body.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_null_type_matches_only_the_null_object_request_body.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | Unset | body was not defined |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_null_type_matches_only_the_null_object_response_body_for_content_types**
|
|
||||||
<a id="post_null_type_matches_only_the_null_object_response_body_for_content_types"></a>
|
|
||||||
> none_type post_null_type_matches_only_the_null_object_response_body_for_content_types()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import type_api
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = type_api.TypeApi(api_client)
|
|
||||||
|
|
||||||
# example, this endpoint has no required or optional parameters
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_null_type_matches_only_the_null_object_response_body_for_content_types()
|
|
||||||
pprint(api_response)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling TypeApi->post_null_type_matches_only_the_null_object_response_body_for_content_types: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_null_type_matches_only_the_null_object_response_body_for_content_types.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_null_type_matches_only_the_null_object_response_body_for_content_types.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
# SchemaFor200ResponseBodyApplicationJson
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
None, | NoneClass, | |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_number_type_matches_numbers_request_body**
|
|
||||||
<a id="post_number_type_matches_numbers_request_body"></a>
|
|
||||||
> post_number_type_matches_numbers_request_body(body)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import type_api
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = type_api.TypeApi(api_client)
|
|
||||||
|
|
||||||
# example passing only required values which don't have defaults set
|
|
||||||
body = 3.14
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_number_type_matches_numbers_request_body(
|
|
||||||
body=body,
|
|
||||||
)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling TypeApi->post_number_type_matches_numbers_request_body: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
body | typing.Union[SchemaForRequestBodyApplicationJson] | required |
|
|
||||||
content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body
|
|
||||||
stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file
|
|
||||||
timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client
|
|
||||||
skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned
|
|
||||||
|
|
||||||
### body
|
|
||||||
|
|
||||||
# SchemaForRequestBodyApplicationJson
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
decimal.Decimal, int, float, | decimal.Decimal, | |
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_number_type_matches_numbers_request_body.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_number_type_matches_numbers_request_body.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | Unset | body was not defined |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_number_type_matches_numbers_response_body_for_content_types**
|
|
||||||
<a id="post_number_type_matches_numbers_response_body_for_content_types"></a>
|
|
||||||
> int, float post_number_type_matches_numbers_response_body_for_content_types()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import type_api
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = type_api.TypeApi(api_client)
|
|
||||||
|
|
||||||
# example, this endpoint has no required or optional parameters
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_number_type_matches_numbers_response_body_for_content_types()
|
|
||||||
pprint(api_response)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling TypeApi->post_number_type_matches_numbers_response_body_for_content_types: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_number_type_matches_numbers_response_body_for_content_types.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_number_type_matches_numbers_response_body_for_content_types.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
# SchemaFor200ResponseBodyApplicationJson
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
decimal.Decimal, int, float, | decimal.Decimal, | |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_object_type_matches_objects_request_body**
|
|
||||||
<a id="post_object_type_matches_objects_request_body"></a>
|
|
||||||
> post_object_type_matches_objects_request_body(body)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import type_api
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = type_api.TypeApi(api_client)
|
|
||||||
|
|
||||||
# example passing only required values which don't have defaults set
|
|
||||||
body = dict()
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_object_type_matches_objects_request_body(
|
|
||||||
body=body,
|
|
||||||
)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling TypeApi->post_object_type_matches_objects_request_body: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
body | typing.Union[SchemaForRequestBodyApplicationJson] | required |
|
|
||||||
content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body
|
|
||||||
stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file
|
|
||||||
timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client
|
|
||||||
skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned
|
|
||||||
|
|
||||||
### body
|
|
||||||
|
|
||||||
# SchemaForRequestBodyApplicationJson
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, | frozendict.frozendict, | |
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_object_type_matches_objects_request_body.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_object_type_matches_objects_request_body.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | Unset | body was not defined |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_object_type_matches_objects_response_body_for_content_types**
|
|
||||||
<a id="post_object_type_matches_objects_response_body_for_content_types"></a>
|
|
||||||
> {str: (bool, date, datetime, dict, float, int, list, str, none_type)} post_object_type_matches_objects_response_body_for_content_types()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import type_api
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = type_api.TypeApi(api_client)
|
|
||||||
|
|
||||||
# example, this endpoint has no required or optional parameters
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_object_type_matches_objects_response_body_for_content_types()
|
|
||||||
pprint(api_response)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling TypeApi->post_object_type_matches_objects_response_body_for_content_types: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_object_type_matches_objects_response_body_for_content_types.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_object_type_matches_objects_response_body_for_content_types.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
# SchemaFor200ResponseBodyApplicationJson
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, | frozendict.frozendict, | |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_string_type_matches_strings_request_body**
|
|
||||||
<a id="post_string_type_matches_strings_request_body"></a>
|
|
||||||
> post_string_type_matches_strings_request_body(body)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import type_api
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = type_api.TypeApi(api_client)
|
|
||||||
|
|
||||||
# example passing only required values which don't have defaults set
|
|
||||||
body = "body_example"
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_string_type_matches_strings_request_body(
|
|
||||||
body=body,
|
|
||||||
)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling TypeApi->post_string_type_matches_strings_request_body: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
body | typing.Union[SchemaForRequestBodyApplicationJson] | required |
|
|
||||||
content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body
|
|
||||||
stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file
|
|
||||||
timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client
|
|
||||||
skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned
|
|
||||||
|
|
||||||
### body
|
|
||||||
|
|
||||||
# SchemaForRequestBodyApplicationJson
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
str, | str, | |
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_string_type_matches_strings_request_body.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_string_type_matches_strings_request_body.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | Unset | body was not defined |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_string_type_matches_strings_response_body_for_content_types**
|
|
||||||
<a id="post_string_type_matches_strings_response_body_for_content_types"></a>
|
|
||||||
> str post_string_type_matches_strings_response_body_for_content_types()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import type_api
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = type_api.TypeApi(api_client)
|
|
||||||
|
|
||||||
# example, this endpoint has no required or optional parameters
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_string_type_matches_strings_response_body_for_content_types()
|
|
||||||
pprint(api_response)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling TypeApi->post_string_type_matches_strings_response_body_for_content_types: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_string_type_matches_strings_response_body_for_content_types.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_string_type_matches_strings_response_body_for_content_types.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
# SchemaFor200ResponseBodyApplicationJson
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
str, | str, | |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
@ -1,274 +0,0 @@
|
|||||||
<a id="__pageTop"></a>
|
|
||||||
# unit_test_api.apis.tags.unique_items_api.UniqueItemsApi
|
|
||||||
|
|
||||||
All URIs are relative to *https://someserver.com/v1*
|
|
||||||
|
|
||||||
Method | HTTP request | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**post_uniqueitems_false_validation_request_body**](#post_uniqueitems_false_validation_request_body) | **post** /requestBody/postUniqueitemsFalseValidationRequestBody |
|
|
||||||
[**post_uniqueitems_false_validation_response_body_for_content_types**](#post_uniqueitems_false_validation_response_body_for_content_types) | **post** /responseBody/postUniqueitemsFalseValidationResponseBodyForContentTypes |
|
|
||||||
[**post_uniqueitems_validation_request_body**](#post_uniqueitems_validation_request_body) | **post** /requestBody/postUniqueitemsValidationRequestBody |
|
|
||||||
[**post_uniqueitems_validation_response_body_for_content_types**](#post_uniqueitems_validation_response_body_for_content_types) | **post** /responseBody/postUniqueitemsValidationResponseBodyForContentTypes |
|
|
||||||
|
|
||||||
# **post_uniqueitems_false_validation_request_body**
|
|
||||||
<a id="post_uniqueitems_false_validation_request_body"></a>
|
|
||||||
> post_uniqueitems_false_validation_request_body(body)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import unique_items_api
|
|
||||||
from unit_test_api.model.uniqueitems_false_validation import UniqueitemsFalseValidation
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = unique_items_api.UniqueItemsApi(api_client)
|
|
||||||
|
|
||||||
# example passing only required values which don't have defaults set
|
|
||||||
body = UniqueitemsFalseValidation(None)
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_uniqueitems_false_validation_request_body(
|
|
||||||
body=body,
|
|
||||||
)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling UniqueItemsApi->post_uniqueitems_false_validation_request_body: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
body | typing.Union[SchemaForRequestBodyApplicationJson] | required |
|
|
||||||
content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body
|
|
||||||
stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file
|
|
||||||
timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client
|
|
||||||
skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned
|
|
||||||
|
|
||||||
### body
|
|
||||||
|
|
||||||
# SchemaForRequestBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**UniqueitemsFalseValidation**](../../models/UniqueitemsFalseValidation.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_uniqueitems_false_validation_request_body.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_uniqueitems_false_validation_request_body.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | Unset | body was not defined |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_uniqueitems_false_validation_response_body_for_content_types**
|
|
||||||
<a id="post_uniqueitems_false_validation_response_body_for_content_types"></a>
|
|
||||||
> UniqueitemsFalseValidation post_uniqueitems_false_validation_response_body_for_content_types()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import unique_items_api
|
|
||||||
from unit_test_api.model.uniqueitems_false_validation import UniqueitemsFalseValidation
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = unique_items_api.UniqueItemsApi(api_client)
|
|
||||||
|
|
||||||
# example, this endpoint has no required or optional parameters
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_uniqueitems_false_validation_response_body_for_content_types()
|
|
||||||
pprint(api_response)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling UniqueItemsApi->post_uniqueitems_false_validation_response_body_for_content_types: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_uniqueitems_false_validation_response_body_for_content_types.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_uniqueitems_false_validation_response_body_for_content_types.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
# SchemaFor200ResponseBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**UniqueitemsFalseValidation**](../../models/UniqueitemsFalseValidation.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_uniqueitems_validation_request_body**
|
|
||||||
<a id="post_uniqueitems_validation_request_body"></a>
|
|
||||||
> post_uniqueitems_validation_request_body(body)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import unique_items_api
|
|
||||||
from unit_test_api.model.uniqueitems_validation import UniqueitemsValidation
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = unique_items_api.UniqueItemsApi(api_client)
|
|
||||||
|
|
||||||
# example passing only required values which don't have defaults set
|
|
||||||
body = UniqueitemsValidation(None)
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_uniqueitems_validation_request_body(
|
|
||||||
body=body,
|
|
||||||
)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling UniqueItemsApi->post_uniqueitems_validation_request_body: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
body | typing.Union[SchemaForRequestBodyApplicationJson] | required |
|
|
||||||
content_type | str | optional, default is 'application/json' | Selects the schema and serialization of the request body
|
|
||||||
stream | bool | default is False | if True then the response.content will be streamed and loaded from a file like object. When downloading a file, set this to True to force the code to deserialize the content to a FileSchema file
|
|
||||||
timeout | typing.Optional[typing.Union[int, typing.Tuple]] | default is None | the timeout used by the rest client
|
|
||||||
skip_deserialization | bool | default is False | when True, headers and body will be unset and an instance of api_client.ApiResponseWithoutDeserialization will be returned
|
|
||||||
|
|
||||||
### body
|
|
||||||
|
|
||||||
# SchemaForRequestBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**UniqueitemsValidation**](../../models/UniqueitemsValidation.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_uniqueitems_validation_request_body.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_uniqueitems_validation_request_body.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | Unset | body was not defined |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
||||||
# **post_uniqueitems_validation_response_body_for_content_types**
|
|
||||||
<a id="post_uniqueitems_validation_response_body_for_content_types"></a>
|
|
||||||
> UniqueitemsValidation post_uniqueitems_validation_response_body_for_content_types()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Example
|
|
||||||
|
|
||||||
```python
|
|
||||||
import unit_test_api
|
|
||||||
from unit_test_api.apis.tags import unique_items_api
|
|
||||||
from unit_test_api.model.uniqueitems_validation import UniqueitemsValidation
|
|
||||||
from pprint import pprint
|
|
||||||
# Defining the host is optional and defaults to https://someserver.com/v1
|
|
||||||
# See configuration.py for a list of all supported configuration parameters.
|
|
||||||
configuration = unit_test_api.Configuration(
|
|
||||||
host = "https://someserver.com/v1"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Enter a context with an instance of the API client
|
|
||||||
with unit_test_api.ApiClient(configuration) as api_client:
|
|
||||||
# Create an instance of the API class
|
|
||||||
api_instance = unique_items_api.UniqueItemsApi(api_client)
|
|
||||||
|
|
||||||
# example, this endpoint has no required or optional parameters
|
|
||||||
try:
|
|
||||||
api_response = api_instance.post_uniqueitems_validation_response_body_for_content_types()
|
|
||||||
pprint(api_response)
|
|
||||||
except unit_test_api.ApiException as e:
|
|
||||||
print("Exception when calling UniqueItemsApi->post_uniqueitems_validation_response_body_for_content_types: %s\n" % e)
|
|
||||||
```
|
|
||||||
### Parameters
|
|
||||||
This endpoint does not need any parameter.
|
|
||||||
|
|
||||||
### Return Types, Responses
|
|
||||||
|
|
||||||
Code | Class | Description
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
n/a | api_client.ApiResponseWithoutDeserialization | When skip_deserialization is True this response is returned
|
|
||||||
200 | [ApiResponseFor200](#post_uniqueitems_validation_response_body_for_content_types.ApiResponseFor200) | success
|
|
||||||
|
|
||||||
#### post_uniqueitems_validation_response_body_for_content_types.ApiResponseFor200
|
|
||||||
Name | Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | -------------
|
|
||||||
response | urllib3.HTTPResponse | Raw response |
|
|
||||||
body | typing.Union[SchemaFor200ResponseBodyApplicationJson, ] | |
|
|
||||||
headers | Unset | headers were not defined |
|
|
||||||
|
|
||||||
# SchemaFor200ResponseBodyApplicationJson
|
|
||||||
Type | Description | Notes
|
|
||||||
------------- | ------------- | -------------
|
|
||||||
[**UniqueitemsValidation**](../../models/UniqueitemsValidation.md) | |
|
|
||||||
|
|
||||||
|
|
||||||
### Authorization
|
|
||||||
|
|
||||||
No authorization required
|
|
||||||
|
|
||||||
[[Back to top]](#__pageTop) [[Back to API list]](../../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../../README.md#documentation-for-models) [[Back to README]](../../../README.md)
|
|
||||||
|
|
@ -1,16 +0,0 @@
|
|||||||
# unit_test_api.model.additionalproperties_allows_a_schema_which_should_validate.AdditionalpropertiesAllowsASchemaWhichShouldValidate
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, | frozendict.frozendict, | |
|
|
||||||
|
|
||||||
### Dictionary Keys
|
|
||||||
Key | Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | ------------- | -------------
|
|
||||||
**foo** | dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | | [optional]
|
|
||||||
**bar** | dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | | [optional]
|
|
||||||
**any_string_name** | bool, | BoolClass, | 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)
|
|
||||||
|
|
@ -1,16 +0,0 @@
|
|||||||
# unit_test_api.model.additionalproperties_are_allowed_by_default.AdditionalpropertiesAreAllowedByDefault
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
### Dictionary Keys
|
|
||||||
Key | Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | ------------- | -------------
|
|
||||||
**foo** | dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | | [optional]
|
|
||||||
**bar** | dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | | [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)
|
|
||||||
|
|
@ -1,14 +0,0 @@
|
|||||||
# unit_test_api.model.additionalproperties_can_exist_by_itself.AdditionalpropertiesCanExistByItself
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, | frozendict.frozendict, | |
|
|
||||||
|
|
||||||
### Dictionary Keys
|
|
||||||
Key | Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | ------------- | -------------
|
|
||||||
**any_string_name** | bool, | BoolClass, | any string name can be used but the value must be the correct type | [optional]
|
|
||||||
|
|
||||||
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
|
|
||||||
|
|
@ -1,33 +0,0 @@
|
|||||||
# unit_test_api.model.additionalproperties_should_not_look_in_applicators.AdditionalpropertiesShouldNotLookInApplicators
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
### Dictionary Keys
|
|
||||||
Key | Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | ------------- | -------------
|
|
||||||
**any_string_name** | bool, | BoolClass, | any string name can be used but the value must be the correct type | [optional]
|
|
||||||
|
|
||||||
### Composed Schemas (allOf/anyOf/oneOf/not)
|
|
||||||
#### allOf
|
|
||||||
Class Name | Input Type | Accessed Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | ------------- | -------------
|
|
||||||
[all_of_0](#all_of_0) | dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
# all_of_0
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
### Dictionary Keys
|
|
||||||
Key | Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | ------------- | -------------
|
|
||||||
**foo** | dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | | [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)
|
|
||||||
|
|
@ -1,42 +0,0 @@
|
|||||||
# unit_test_api.model.allof.Allof
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
### Composed Schemas (allOf/anyOf/oneOf/not)
|
|
||||||
#### allOf
|
|
||||||
Class Name | Input Type | Accessed Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | ------------- | -------------
|
|
||||||
[all_of_0](#all_of_0) | dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
[all_of_1](#all_of_1) | dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
# all_of_0
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
### Dictionary Keys
|
|
||||||
Key | Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | ------------- | -------------
|
|
||||||
**bar** | decimal.Decimal, int, | decimal.Decimal, | |
|
|
||||||
**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]
|
|
||||||
|
|
||||||
# all_of_1
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
### Dictionary Keys
|
|
||||||
Key | Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | ------------- | -------------
|
|
||||||
**foo** | str, | str, | |
|
|
||||||
**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)
|
|
||||||
|
|
@ -1,44 +0,0 @@
|
|||||||
# unit_test_api.model.allof_combined_with_anyof_oneof.AllofCombinedWithAnyofOneof
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
### Composed Schemas (allOf/anyOf/oneOf/not)
|
|
||||||
#### allOf
|
|
||||||
Class Name | Input Type | Accessed Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | ------------- | -------------
|
|
||||||
[all_of_0](#all_of_0) | dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
# all_of_0
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
#### anyOf
|
|
||||||
Class Name | Input Type | Accessed Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | ------------- | -------------
|
|
||||||
[any_of_0](#any_of_0) | dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
# any_of_0
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
#### oneOf
|
|
||||||
Class Name | Input Type | Accessed Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | ------------- | -------------
|
|
||||||
[one_of_0](#one_of_0) | dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
# one_of_0
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
|
|
||||||
|
|
@ -1,30 +0,0 @@
|
|||||||
# unit_test_api.model.allof_simple_types.AllofSimpleTypes
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
### Composed Schemas (allOf/anyOf/oneOf/not)
|
|
||||||
#### allOf
|
|
||||||
Class Name | Input Type | Accessed Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | ------------- | -------------
|
|
||||||
[all_of_0](#all_of_0) | dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
[all_of_1](#all_of_1) | dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
# all_of_0
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
# all_of_1
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
|
|
||||||
|
|
@ -1,48 +0,0 @@
|
|||||||
# unit_test_api.model.allof_with_base_schema.AllofWithBaseSchema
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
### Dictionary Keys
|
|
||||||
Key | Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | ------------- | -------------
|
|
||||||
**bar** | decimal.Decimal, int, | decimal.Decimal, | |
|
|
||||||
**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]
|
|
||||||
|
|
||||||
### Composed Schemas (allOf/anyOf/oneOf/not)
|
|
||||||
#### allOf
|
|
||||||
Class Name | Input Type | Accessed Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | ------------- | -------------
|
|
||||||
[all_of_0](#all_of_0) | dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
[all_of_1](#all_of_1) | dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
# all_of_0
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
### Dictionary Keys
|
|
||||||
Key | Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | ------------- | -------------
|
|
||||||
**foo** | str, | str, | |
|
|
||||||
**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]
|
|
||||||
|
|
||||||
# all_of_1
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
### Dictionary Keys
|
|
||||||
Key | Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | ------------- | -------------
|
|
||||||
**baz** | None, | NoneClass, | |
|
|
||||||
**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)
|
|
||||||
|
|
@ -1,22 +0,0 @@
|
|||||||
# unit_test_api.model.allof_with_one_empty_schema.AllofWithOneEmptySchema
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
### Composed Schemas (allOf/anyOf/oneOf/not)
|
|
||||||
#### allOf
|
|
||||||
Class Name | Input Type | Accessed Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | ------------- | -------------
|
|
||||||
[all_of_0](#all_of_0) | dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
# all_of_0
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
|
|
||||||
|
|
@ -1,30 +0,0 @@
|
|||||||
# unit_test_api.model.allof_with_the_first_empty_schema.AllofWithTheFirstEmptySchema
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
### Composed Schemas (allOf/anyOf/oneOf/not)
|
|
||||||
#### allOf
|
|
||||||
Class Name | Input Type | Accessed Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | ------------- | -------------
|
|
||||||
[all_of_0](#all_of_0) | dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
[all_of_1](#all_of_1) | decimal.Decimal, int, float, | decimal.Decimal, | |
|
|
||||||
|
|
||||||
# all_of_0
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
# all_of_1
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
decimal.Decimal, int, float, | decimal.Decimal, | |
|
|
||||||
|
|
||||||
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
|
|
||||||
|
|
@ -1,30 +0,0 @@
|
|||||||
# unit_test_api.model.allof_with_the_last_empty_schema.AllofWithTheLastEmptySchema
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
### Composed Schemas (allOf/anyOf/oneOf/not)
|
|
||||||
#### allOf
|
|
||||||
Class Name | Input Type | Accessed Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | ------------- | -------------
|
|
||||||
[all_of_0](#all_of_0) | decimal.Decimal, int, float, | decimal.Decimal, | |
|
|
||||||
[all_of_1](#all_of_1) | dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
# all_of_0
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
decimal.Decimal, int, float, | decimal.Decimal, | |
|
|
||||||
|
|
||||||
# all_of_1
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
|
|
||||||
|
|
@ -1,30 +0,0 @@
|
|||||||
# unit_test_api.model.allof_with_two_empty_schemas.AllofWithTwoEmptySchemas
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
### Composed Schemas (allOf/anyOf/oneOf/not)
|
|
||||||
#### allOf
|
|
||||||
Class Name | Input Type | Accessed Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | ------------- | -------------
|
|
||||||
[all_of_0](#all_of_0) | dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
[all_of_1](#all_of_1) | dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
# all_of_0
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
# all_of_1
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
|
|
||||||
|
|
@ -1,30 +0,0 @@
|
|||||||
# unit_test_api.model.anyof.Anyof
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
### Composed Schemas (allOf/anyOf/oneOf/not)
|
|
||||||
#### anyOf
|
|
||||||
Class Name | Input Type | Accessed Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | ------------- | -------------
|
|
||||||
[any_of_0](#any_of_0) | decimal.Decimal, int, | decimal.Decimal, | |
|
|
||||||
[any_of_1](#any_of_1) | dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
# any_of_0
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
decimal.Decimal, int, | decimal.Decimal, | |
|
|
||||||
|
|
||||||
# any_of_1
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
|
|
||||||
|
|
@ -1,42 +0,0 @@
|
|||||||
# unit_test_api.model.anyof_complex_types.AnyofComplexTypes
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
### Composed Schemas (allOf/anyOf/oneOf/not)
|
|
||||||
#### anyOf
|
|
||||||
Class Name | Input Type | Accessed Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | ------------- | -------------
|
|
||||||
[any_of_0](#any_of_0) | dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
[any_of_1](#any_of_1) | dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
# any_of_0
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
### Dictionary Keys
|
|
||||||
Key | Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | ------------- | -------------
|
|
||||||
**bar** | decimal.Decimal, int, | decimal.Decimal, | |
|
|
||||||
**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]
|
|
||||||
|
|
||||||
# any_of_1
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
### Dictionary Keys
|
|
||||||
Key | Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | ------------- | -------------
|
|
||||||
**foo** | str, | str, | |
|
|
||||||
**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)
|
|
||||||
|
|
@ -1,30 +0,0 @@
|
|||||||
# unit_test_api.model.anyof_with_base_schema.AnyofWithBaseSchema
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
str, | str, | |
|
|
||||||
|
|
||||||
### Composed Schemas (allOf/anyOf/oneOf/not)
|
|
||||||
#### anyOf
|
|
||||||
Class Name | Input Type | Accessed Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | ------------- | -------------
|
|
||||||
[any_of_0](#any_of_0) | dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
[any_of_1](#any_of_1) | dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
# any_of_0
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
# any_of_1
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
|
|
||||||
|
|
@ -1,30 +0,0 @@
|
|||||||
# unit_test_api.model.anyof_with_one_empty_schema.AnyofWithOneEmptySchema
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
### Composed Schemas (allOf/anyOf/oneOf/not)
|
|
||||||
#### anyOf
|
|
||||||
Class Name | Input Type | Accessed Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | ------------- | -------------
|
|
||||||
[any_of_0](#any_of_0) | decimal.Decimal, int, float, | decimal.Decimal, | |
|
|
||||||
[any_of_1](#any_of_1) | dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
# any_of_0
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
decimal.Decimal, int, float, | decimal.Decimal, | |
|
|
||||||
|
|
||||||
# any_of_1
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
|
|
||||||
|
|
@ -1,14 +0,0 @@
|
|||||||
# unit_test_api.model.array_type_matches_arrays.ArrayTypeMatchesArrays
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
list, tuple, | tuple, | |
|
|
||||||
|
|
||||||
### Tuple Items
|
|
||||||
Class Name | Input Type | Accessed Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | ------------- | -------------
|
|
||||||
items | dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
|||||||
# unit_test_api.model.boolean_type_matches_booleans.BooleanTypeMatchesBooleans
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
bool, | BoolClass, | |
|
|
||||||
|
|
||||||
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
|||||||
# unit_test_api.model.by_int.ByInt
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
|||||||
# unit_test_api.model.by_number.ByNumber
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
|||||||
# unit_test_api.model.by_small_number.BySmallNumber
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
|||||||
# unit_test_api.model.date_time_format.DateTimeFormat
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | | value must conform to RFC-3339 date-time
|
|
||||||
|
|
||||||
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
|||||||
# unit_test_api.model.email_format.EmailFormat
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
|||||||
# unit_test_api.model.enum_with0_does_not_match_false.EnumWith0DoesNotMatchFalse
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
decimal.Decimal, int, float, | decimal.Decimal, | | must be one of [0, ]
|
|
||||||
|
|
||||||
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
|||||||
# unit_test_api.model.enum_with1_does_not_match_true.EnumWith1DoesNotMatchTrue
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
decimal.Decimal, int, float, | decimal.Decimal, | | must be one of [1, ]
|
|
||||||
|
|
||||||
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
|||||||
# unit_test_api.model.enum_with_escaped_characters.EnumWithEscapedCharacters
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
str, | str, | | must be one of ["foo\nbar", "foo\rbar", ]
|
|
||||||
|
|
||||||
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
|||||||
# unit_test_api.model.enum_with_false_does_not_match0.EnumWithFalseDoesNotMatch0
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
bool, | BoolClass, | | must be one of [False, ]
|
|
||||||
|
|
||||||
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
|||||||
# unit_test_api.model.enum_with_true_does_not_match1.EnumWithTrueDoesNotMatch1
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
bool, | BoolClass, | | must be one of [True, ]
|
|
||||||
|
|
||||||
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
|
|
||||||
|
|
@ -1,16 +0,0 @@
|
|||||||
# unit_test_api.model.enums_in_properties.EnumsInProperties
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, | frozendict.frozendict, | |
|
|
||||||
|
|
||||||
### Dictionary Keys
|
|
||||||
Key | Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | ------------- | -------------
|
|
||||||
**bar** | str, | str, | | must be one of ["bar", ]
|
|
||||||
**foo** | str, | str, | | [optional] must be one of ["foo", ]
|
|
||||||
**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)
|
|
||||||
|
|
@ -1,35 +0,0 @@
|
|||||||
# unit_test_api.model.forbidden_property.ForbiddenProperty
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
### Dictionary Keys
|
|
||||||
Key | Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | ------------- | -------------
|
|
||||||
**[foo](#foo)** | dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | | [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]
|
|
||||||
|
|
||||||
# foo
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
### Composed Schemas (allOf/anyOf/oneOf/not)
|
|
||||||
#### not
|
|
||||||
Class Name | Input Type | Accessed Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | ------------- | -------------
|
|
||||||
[not_schema](#not_schema) | dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
# not_schema
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
|||||||
# unit_test_api.model.hostname_format.HostnameFormat
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
|||||||
# unit_test_api.model.integer_type_matches_integers.IntegerTypeMatchesIntegers
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
decimal.Decimal, int, | decimal.Decimal, | |
|
|
||||||
|
|
||||||
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
|||||||
# unit_test_api.model.invalid_instance_should_not_raise_error_when_float_division_inf.InvalidInstanceShouldNotRaiseErrorWhenFloatDivisionInf
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
decimal.Decimal, int, | decimal.Decimal, | |
|
|
||||||
|
|
||||||
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
|
|
||||||
|
|
@ -1,15 +0,0 @@
|
|||||||
# unit_test_api.model.invalid_string_value_for_default.InvalidStringValueForDefault
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
### Dictionary Keys
|
|
||||||
Key | Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | ------------- | -------------
|
|
||||||
**bar** | str, | str, | | [optional] if omitted the server will use the default value of "bad"
|
|
||||||
**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)
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
|||||||
# unit_test_api.model.ipv4_format.Ipv4Format
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
|||||||
# unit_test_api.model.ipv6_format.Ipv6Format
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
|||||||
# unit_test_api.model.json_pointer_format.JsonPointerFormat
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
|||||||
# unit_test_api.model.maximum_validation.MaximumValidation
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
|||||||
# unit_test_api.model.maximum_validation_with_unsigned_integer.MaximumValidationWithUnsignedInteger
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
|||||||
# unit_test_api.model.maxitems_validation.MaxitemsValidation
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
|||||||
# unit_test_api.model.maxlength_validation.MaxlengthValidation
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
|||||||
# unit_test_api.model.maxproperties0_means_the_object_is_empty.Maxproperties0MeansTheObjectIsEmpty
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
|||||||
# unit_test_api.model.maxproperties_validation.MaxpropertiesValidation
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
|||||||
# unit_test_api.model.minimum_validation.MinimumValidation
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
|||||||
# unit_test_api.model.minimum_validation_with_signed_integer.MinimumValidationWithSignedInteger
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
|||||||
# unit_test_api.model.minitems_validation.MinitemsValidation
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
|||||||
# unit_test_api.model.minlength_validation.MinlengthValidation
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
|||||||
# unit_test_api.model.minproperties_validation.MinpropertiesValidation
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
|
|
||||||
|
|
@ -1,22 +0,0 @@
|
|||||||
# unit_test_api.model.model_not.ModelNot
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
### Composed Schemas (allOf/anyOf/oneOf/not)
|
|
||||||
#### not
|
|
||||||
Class Name | Input Type | Accessed Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | ------------- | -------------
|
|
||||||
[not_schema](#not_schema) | decimal.Decimal, int, | decimal.Decimal, | |
|
|
||||||
|
|
||||||
# not_schema
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
decimal.Decimal, int, | decimal.Decimal, | |
|
|
||||||
|
|
||||||
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
|
|
||||||
|
|
@ -1,35 +0,0 @@
|
|||||||
# unit_test_api.model.nested_allof_to_check_validation_semantics.NestedAllofToCheckValidationSemantics
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
### Composed Schemas (allOf/anyOf/oneOf/not)
|
|
||||||
#### allOf
|
|
||||||
Class Name | Input Type | Accessed Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | ------------- | -------------
|
|
||||||
[all_of_0](#all_of_0) | dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
# all_of_0
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
### Composed Schemas (allOf/anyOf/oneOf/not)
|
|
||||||
#### allOf
|
|
||||||
Class Name | Input Type | Accessed Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | ------------- | -------------
|
|
||||||
[all_of_0](#all_of_0) | None, | NoneClass, | |
|
|
||||||
|
|
||||||
# all_of_0
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
None, | NoneClass, | |
|
|
||||||
|
|
||||||
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
|
|
||||||
|
|
@ -1,35 +0,0 @@
|
|||||||
# unit_test_api.model.nested_anyof_to_check_validation_semantics.NestedAnyofToCheckValidationSemantics
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
### Composed Schemas (allOf/anyOf/oneOf/not)
|
|
||||||
#### anyOf
|
|
||||||
Class Name | Input Type | Accessed Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | ------------- | -------------
|
|
||||||
[any_of_0](#any_of_0) | dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
# any_of_0
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
dict, frozendict.frozendict, str, date, datetime, uuid.UUID, int, float, decimal.Decimal, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader, | frozendict.frozendict, str, decimal.Decimal, BoolClass, NoneClass, tuple, bytes, FileIO | |
|
|
||||||
|
|
||||||
### Composed Schemas (allOf/anyOf/oneOf/not)
|
|
||||||
#### anyOf
|
|
||||||
Class Name | Input Type | Accessed Type | Description | Notes
|
|
||||||
------------- | ------------- | ------------- | ------------- | -------------
|
|
||||||
[any_of_0](#any_of_0) | None, | NoneClass, | |
|
|
||||||
|
|
||||||
# any_of_0
|
|
||||||
|
|
||||||
## Model Type Info
|
|
||||||
Input Type | Accessed Type | Description | Notes
|
|
||||||
------------ | ------------- | ------------- | -------------
|
|
||||||
None, | NoneClass, | |
|
|
||||||
|
|
||||||
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)
|
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user