forked from loafle/openapi-generator-original
[python-nextgen] Better docstring/documentation (#14880)
* better docstring/documentation in python nextgen client * update instruction in test files
This commit is contained in:
parent
8ede021ec5
commit
d497c3d087
@ -31,10 +31,6 @@ class ApiClient(object):
|
|||||||
the methods and models for each application are generated from the OpenAPI
|
the methods and models for each application are generated from the OpenAPI
|
||||||
templates.
|
templates.
|
||||||
|
|
||||||
NOTE: This class is auto generated by OpenAPI Generator.
|
|
||||||
Ref: https://openapi-generator.tech
|
|
||||||
Do not edit the class manually.
|
|
||||||
|
|
||||||
:param configuration: .Configuration object for this client
|
:param configuration: .Configuration object for this client
|
||||||
:param header_name: a header to pass when making calls to the API.
|
:param header_name: a header to pass when making calls to the API.
|
||||||
:param header_value: a header value to pass when making calls to
|
:param header_value: a header value to pass when making calls to
|
||||||
|
@ -15,7 +15,6 @@ import urllib3
|
|||||||
import http.client as httplib
|
import http.client as httplib
|
||||||
from {{packageName}}.exceptions import ApiValueError
|
from {{packageName}}.exceptions import ApiValueError
|
||||||
|
|
||||||
|
|
||||||
JSON_SCHEMA_VALIDATION_KEYWORDS = {
|
JSON_SCHEMA_VALIDATION_KEYWORDS = {
|
||||||
'multipleOf', 'maximum', 'exclusiveMaximum',
|
'multipleOf', 'maximum', 'exclusiveMaximum',
|
||||||
'minimum', 'exclusiveMinimum', 'maxLength',
|
'minimum', 'exclusiveMinimum', 'maxLength',
|
||||||
@ -23,10 +22,7 @@ JSON_SCHEMA_VALIDATION_KEYWORDS = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class Configuration(object):
|
class Configuration(object):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator
|
"""This class contains various settings of the API client.
|
||||||
|
|
||||||
Ref: https://openapi-generator.tech
|
|
||||||
Do not edit the class manually.
|
|
||||||
|
|
||||||
:param host: Base url.
|
:param host: Base url.
|
||||||
:param api_key: Dict to store API key(s).
|
:param api_key: Dict to store API key(s).
|
||||||
|
@ -15,11 +15,10 @@ from pydantic import StrictStr, Field
|
|||||||
{{#lambda.uppercase}}{{{classname}}}{{/lambda.uppercase}}_ANY_OF_SCHEMAS = [{{#anyOf}}"{{.}}"{{^-last}}, {{/-last}}{{/anyOf}}]
|
{{#lambda.uppercase}}{{{classname}}}{{/lambda.uppercase}}_ANY_OF_SCHEMAS = [{{#anyOf}}"{{.}}"{{^-last}}, {{/-last}}{{/anyOf}}]
|
||||||
|
|
||||||
class {{classname}}({{#parent}}{{{.}}}{{/parent}}{{^parent}}BaseModel{{/parent}}):
|
class {{classname}}({{#parent}}{{{.}}}{{/parent}}{{^parent}}BaseModel{{/parent}}):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
||||||
Ref: https://openapi-generator.tech
|
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
|
{{{description}}}{{^description}}{{{classname}}}{{/description}}
|
||||||
|
"""
|
||||||
|
|
||||||
{{#composedSchemas.anyOf}}
|
{{#composedSchemas.anyOf}}
|
||||||
# data type: {{{dataType}}}
|
# data type: {{{dataType}}}
|
||||||
{{vendorExtensions.x-py-name}}: {{{vendorExtensions.x-py-typing}}}
|
{{vendorExtensions.x-py-name}}: {{{vendorExtensions.x-py-typing}}}
|
||||||
|
@ -8,21 +8,19 @@ from aenum import Enum, no_arg
|
|||||||
|
|
||||||
|
|
||||||
class {{classname}}({{vendorExtensions.x-py-enum-type}}, Enum):
|
class {{classname}}({{vendorExtensions.x-py-enum-type}}, Enum):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
{{{description}}}{{^description}}{{{classname}}}{{/description}}
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
"""
|
"""
|
||||||
allowed enum values
|
allowed enum values
|
||||||
"""
|
"""
|
||||||
|
|
||||||
{{#allowableValues}}
|
{{#allowableValues}}
|
||||||
{{#enumVars}}
|
{{#enumVars}}
|
||||||
{{{name}}} = {{{value}}}
|
{{{name}}} = {{{value}}}
|
||||||
{{/enumVars}}
|
{{/enumVars}}
|
||||||
{{#defaultValue}}
|
{{#defaultValue}}
|
||||||
|
|
||||||
#
|
#
|
||||||
@classmethod
|
@classmethod
|
||||||
def _missing_value_(cls, value):
|
def _missing_value_(cls, value):
|
||||||
|
@ -17,10 +17,8 @@ import {{{modelPackage}}}
|
|||||||
{{/vendorExtensions.x-py-model-imports}}
|
{{/vendorExtensions.x-py-model-imports}}
|
||||||
|
|
||||||
class {{classname}}({{#parent}}{{{.}}}{{/parent}}{{^parent}}BaseModel{{/parent}}):
|
class {{classname}}({{#parent}}{{{.}}}{{/parent}}{{^parent}}BaseModel{{/parent}}):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
{{{description}}}{{^description}}{{{classname}}}{{/description}}
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
{{#vars}}
|
{{#vars}}
|
||||||
{{name}}: {{{vendorExtensions.x-py-typing}}}
|
{{name}}: {{{vendorExtensions.x-py-typing}}}
|
||||||
@ -255,4 +253,4 @@ class {{classname}}({{#parent}}{{{.}}}{{/parent}}{{^parent}}BaseModel{{/parent}}
|
|||||||
|
|
||||||
{{/isAdditionalPropertiesTrue}}
|
{{/isAdditionalPropertiesTrue}}
|
||||||
return _obj
|
return _obj
|
||||||
{{/hasChildren}}
|
{{/hasChildren}}
|
||||||
|
@ -15,10 +15,8 @@ from pydantic import StrictStr, Field
|
|||||||
{{#lambda.uppercase}}{{{classname}}}{{/lambda.uppercase}}_ONE_OF_SCHEMAS = [{{#oneOf}}"{{.}}"{{^-last}}, {{/-last}}{{/oneOf}}]
|
{{#lambda.uppercase}}{{{classname}}}{{/lambda.uppercase}}_ONE_OF_SCHEMAS = [{{#oneOf}}"{{.}}"{{^-last}}, {{/-last}}{{/oneOf}}]
|
||||||
|
|
||||||
class {{classname}}({{#parent}}{{{.}}}{{/parent}}{{^parent}}BaseModel{{/parent}}):
|
class {{classname}}({{#parent}}{{{.}}}{{/parent}}{{^parent}}BaseModel{{/parent}}):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
{{{description}}}{{^description}}{{{classname}}}{{/description}}
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
{{#composedSchemas.oneOf}}
|
{{#composedSchemas.oneOf}}
|
||||||
# data type: {{{dataType}}}
|
# data type: {{{dataType}}}
|
||||||
|
@ -1,17 +1,19 @@
|
|||||||
"""
|
"""
|
||||||
{{#appName}}
|
{{#appName}}
|
||||||
{{{.}}}
|
{{{.}}}
|
||||||
{{/appName}}
|
|
||||||
|
|
||||||
|
{{/appName}}
|
||||||
{{#appDescription}}
|
{{#appDescription}}
|
||||||
{{{.}}} # noqa: E501
|
{{{.}}} # noqa: E501
|
||||||
{{/appDescription}}
|
|
||||||
|
|
||||||
|
{{/appDescription}}
|
||||||
{{#version}}
|
{{#version}}
|
||||||
The version of the OpenAPI document: {{{.}}}
|
The version of the OpenAPI document: {{{.}}}
|
||||||
{{/version}}
|
{{/version}}
|
||||||
{{#infoEmail}}
|
{{#infoEmail}}
|
||||||
Contact: {{{.}}}
|
Contact: {{{.}}}
|
||||||
{{/infoEmail}}
|
{{/infoEmail}}
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
@ -64,11 +64,6 @@ class HttpSigningConfiguration(object):
|
|||||||
and optionally the body of the HTTP request, then signing the hash value using
|
and optionally the body of the HTTP request, then signing the hash value using
|
||||||
a private key. The 'Authorization' header is added to outbound HTTP requests.
|
a private key. The 'Authorization' header is added to outbound HTTP requests.
|
||||||
|
|
||||||
NOTE: This class is auto generated by OpenAPI Generator
|
|
||||||
|
|
||||||
Ref: https://openapi-generator.tech
|
|
||||||
Do not edit the class manually.
|
|
||||||
|
|
||||||
:param key_id: A string value specifying the identifier of the cryptographic key,
|
:param key_id: A string value specifying the identifier of the cryptographic key,
|
||||||
when signing HTTP requests.
|
when signing HTTP requests.
|
||||||
:param signing_scheme: A string value specifying the signature scheme, when
|
:param signing_scheme: A string value specifying the signature scheme, when
|
||||||
|
@ -9,7 +9,9 @@
|
|||||||
|
|
||||||
The version of the OpenAPI document: 0.1.0
|
The version of the OpenAPI document: 0.1.0
|
||||||
Contact: team@openapitools.org
|
Contact: team@openapitools.org
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
@ -7,7 +7,9 @@
|
|||||||
|
|
||||||
The version of the OpenAPI document: 0.1.0
|
The version of the OpenAPI document: 0.1.0
|
||||||
Contact: team@openapitools.org
|
Contact: team@openapitools.org
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
@ -7,7 +7,9 @@
|
|||||||
|
|
||||||
The version of the OpenAPI document: 0.1.0
|
The version of the OpenAPI document: 0.1.0
|
||||||
Contact: team@openapitools.org
|
Contact: team@openapitools.org
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
@ -7,7 +7,9 @@
|
|||||||
|
|
||||||
The version of the OpenAPI document: 0.1.0
|
The version of the OpenAPI document: 0.1.0
|
||||||
Contact: team@openapitools.org
|
Contact: team@openapitools.org
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
@ -7,7 +7,9 @@
|
|||||||
|
|
||||||
The version of the OpenAPI document: 0.1.0
|
The version of the OpenAPI document: 0.1.0
|
||||||
Contact: team@openapitools.org
|
Contact: team@openapitools.org
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
@ -7,7 +7,9 @@
|
|||||||
|
|
||||||
The version of the OpenAPI document: 0.1.0
|
The version of the OpenAPI document: 0.1.0
|
||||||
Contact: team@openapitools.org
|
Contact: team@openapitools.org
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
|
|
||||||
The version of the OpenAPI document: 0.1.0
|
The version of the OpenAPI document: 0.1.0
|
||||||
Contact: team@openapitools.org
|
Contact: team@openapitools.org
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from __future__ import absolute_import
|
from __future__ import absolute_import
|
||||||
@ -37,10 +39,6 @@ class ApiClient(object):
|
|||||||
the methods and models for each application are generated from the OpenAPI
|
the methods and models for each application are generated from the OpenAPI
|
||||||
templates.
|
templates.
|
||||||
|
|
||||||
NOTE: This class is auto generated by OpenAPI Generator.
|
|
||||||
Ref: https://openapi-generator.tech
|
|
||||||
Do not edit the class manually.
|
|
||||||
|
|
||||||
:param configuration: .Configuration object for this client
|
:param configuration: .Configuration object for this client
|
||||||
:param header_name: a header to pass when making calls to the API.
|
:param header_name: a header to pass when making calls to the API.
|
||||||
:param header_value: a header value to pass when making calls to
|
:param header_value: a header value to pass when making calls to
|
||||||
|
@ -7,7 +7,9 @@
|
|||||||
|
|
||||||
The version of the OpenAPI document: 0.1.0
|
The version of the OpenAPI document: 0.1.0
|
||||||
Contact: team@openapitools.org
|
Contact: team@openapitools.org
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -22,7 +24,6 @@ import urllib3
|
|||||||
import http.client as httplib
|
import http.client as httplib
|
||||||
from openapi_client.exceptions import ApiValueError
|
from openapi_client.exceptions import ApiValueError
|
||||||
|
|
||||||
|
|
||||||
JSON_SCHEMA_VALIDATION_KEYWORDS = {
|
JSON_SCHEMA_VALIDATION_KEYWORDS = {
|
||||||
'multipleOf', 'maximum', 'exclusiveMaximum',
|
'multipleOf', 'maximum', 'exclusiveMaximum',
|
||||||
'minimum', 'exclusiveMinimum', 'maxLength',
|
'minimum', 'exclusiveMinimum', 'maxLength',
|
||||||
@ -30,10 +31,7 @@ JSON_SCHEMA_VALIDATION_KEYWORDS = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class Configuration(object):
|
class Configuration(object):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator
|
"""This class contains various settings of the API client.
|
||||||
|
|
||||||
Ref: https://openapi-generator.tech
|
|
||||||
Do not edit the class manually.
|
|
||||||
|
|
||||||
:param host: Base url.
|
:param host: Base url.
|
||||||
:param api_key: Dict to store API key(s).
|
:param api_key: Dict to store API key(s).
|
||||||
|
@ -7,7 +7,9 @@
|
|||||||
|
|
||||||
The version of the OpenAPI document: 0.1.0
|
The version of the OpenAPI document: 0.1.0
|
||||||
Contact: team@openapitools.org
|
Contact: team@openapitools.org
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
@ -8,7 +8,9 @@
|
|||||||
|
|
||||||
The version of the OpenAPI document: 0.1.0
|
The version of the OpenAPI document: 0.1.0
|
||||||
Contact: team@openapitools.org
|
Contact: team@openapitools.org
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
@ -7,7 +7,9 @@
|
|||||||
|
|
||||||
The version of the OpenAPI document: 0.1.0
|
The version of the OpenAPI document: 0.1.0
|
||||||
Contact: team@openapitools.org
|
Contact: team@openapitools.org
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -22,10 +24,8 @@ from typing import Optional
|
|||||||
from pydantic import BaseModel, StrictStr
|
from pydantic import BaseModel, StrictStr
|
||||||
|
|
||||||
class Bird(BaseModel):
|
class Bird(BaseModel):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
Bird
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
size: Optional[StrictStr] = None
|
size: Optional[StrictStr] = None
|
||||||
color: Optional[StrictStr] = None
|
color: Optional[StrictStr] = None
|
||||||
|
@ -7,7 +7,9 @@
|
|||||||
|
|
||||||
The version of the OpenAPI document: 0.1.0
|
The version of the OpenAPI document: 0.1.0
|
||||||
Contact: team@openapitools.org
|
Contact: team@openapitools.org
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -22,10 +24,8 @@ from typing import Optional
|
|||||||
from pydantic import BaseModel, StrictInt, StrictStr
|
from pydantic import BaseModel, StrictInt, StrictStr
|
||||||
|
|
||||||
class Category(BaseModel):
|
class Category(BaseModel):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
Category
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
id: Optional[StrictInt] = None
|
id: Optional[StrictInt] = None
|
||||||
name: Optional[StrictStr] = None
|
name: Optional[StrictStr] = None
|
||||||
|
@ -7,7 +7,9 @@
|
|||||||
|
|
||||||
The version of the OpenAPI document: 0.1.0
|
The version of the OpenAPI document: 0.1.0
|
||||||
Contact: team@openapitools.org
|
Contact: team@openapitools.org
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -23,10 +25,8 @@ from pydantic import BaseModel, Field, StrictStr
|
|||||||
from openapi_client.models.query import Query
|
from openapi_client.models.query import Query
|
||||||
|
|
||||||
class DataQuery(Query):
|
class DataQuery(Query):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
DataQuery
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
suffix: Optional[StrictStr] = Field(None, description="test suffix")
|
suffix: Optional[StrictStr] = Field(None, description="test suffix")
|
||||||
text: Optional[StrictStr] = Field(None, description="Some text containing white spaces")
|
text: Optional[StrictStr] = Field(None, description="Some text containing white spaces")
|
||||||
|
@ -7,7 +7,9 @@
|
|||||||
|
|
||||||
The version of the OpenAPI document: 0.1.0
|
The version of the OpenAPI document: 0.1.0
|
||||||
Contact: team@openapitools.org
|
Contact: team@openapitools.org
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -22,10 +24,8 @@ from typing import Optional
|
|||||||
from pydantic import BaseModel, Field, StrictStr
|
from pydantic import BaseModel, Field, StrictStr
|
||||||
|
|
||||||
class DataQueryAllOf(BaseModel):
|
class DataQueryAllOf(BaseModel):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
DataQueryAllOf
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
suffix: Optional[StrictStr] = Field(None, description="test suffix")
|
suffix: Optional[StrictStr] = Field(None, description="test suffix")
|
||||||
text: Optional[StrictStr] = Field(None, description="Some text containing white spaces")
|
text: Optional[StrictStr] = Field(None, description="Some text containing white spaces")
|
||||||
|
@ -7,7 +7,9 @@
|
|||||||
|
|
||||||
The version of the OpenAPI document: 0.1.0
|
The version of the OpenAPI document: 0.1.0
|
||||||
Contact: team@openapitools.org
|
Contact: team@openapitools.org
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -23,10 +25,8 @@ from pydantic import BaseModel, StrictInt, StrictStr, conlist, validator
|
|||||||
from openapi_client.models.string_enum_ref import StringEnumRef
|
from openapi_client.models.string_enum_ref import StringEnumRef
|
||||||
|
|
||||||
class DefaultValue(BaseModel):
|
class DefaultValue(BaseModel):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
to test the default value of properties
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
array_string_enum_ref_default: Optional[conlist(StringEnumRef)] = None
|
array_string_enum_ref_default: Optional[conlist(StringEnumRef)] = None
|
||||||
array_string_enum_default: Optional[conlist(StrictStr)] = None
|
array_string_enum_default: Optional[conlist(StrictStr)] = None
|
||||||
|
@ -7,7 +7,9 @@
|
|||||||
|
|
||||||
The version of the OpenAPI document: 0.1.0
|
The version of the OpenAPI document: 0.1.0
|
||||||
Contact: team@openapitools.org
|
Contact: team@openapitools.org
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -24,10 +26,8 @@ from openapi_client.models.category import Category
|
|||||||
from openapi_client.models.tag import Tag
|
from openapi_client.models.tag import Tag
|
||||||
|
|
||||||
class Pet(BaseModel):
|
class Pet(BaseModel):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
Pet
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
id: Optional[StrictInt] = None
|
id: Optional[StrictInt] = None
|
||||||
name: StrictStr = ...
|
name: StrictStr = ...
|
||||||
|
@ -7,7 +7,9 @@
|
|||||||
|
|
||||||
The version of the OpenAPI document: 0.1.0
|
The version of the OpenAPI document: 0.1.0
|
||||||
Contact: team@openapitools.org
|
Contact: team@openapitools.org
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -22,10 +24,8 @@ from typing import List, Optional
|
|||||||
from pydantic import BaseModel, Field, StrictInt, StrictStr, conlist, validator
|
from pydantic import BaseModel, Field, StrictInt, StrictStr, conlist, validator
|
||||||
|
|
||||||
class Query(BaseModel):
|
class Query(BaseModel):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
Query
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
id: Optional[StrictInt] = Field(None, description="Query")
|
id: Optional[StrictInt] = Field(None, description="Query")
|
||||||
outcomes: Optional[conlist(StrictStr)] = None
|
outcomes: Optional[conlist(StrictStr)] = None
|
||||||
|
@ -7,7 +7,9 @@
|
|||||||
|
|
||||||
The version of the OpenAPI document: 0.1.0
|
The version of the OpenAPI document: 0.1.0
|
||||||
Contact: team@openapitools.org
|
Contact: team@openapitools.org
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -21,16 +23,13 @@ from aenum import Enum, no_arg
|
|||||||
|
|
||||||
|
|
||||||
class StringEnumRef(str, Enum):
|
class StringEnumRef(str, Enum):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
StringEnumRef
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
"""
|
"""
|
||||||
allowed enum values
|
allowed enum values
|
||||||
"""
|
"""
|
||||||
|
|
||||||
SUCCESS = 'success'
|
SUCCESS = 'success'
|
||||||
FAILURE = 'failure'
|
FAILURE = 'failure'
|
||||||
UNCLASSIFIED = 'unclassified'
|
UNCLASSIFIED = 'unclassified'
|
||||||
|
@ -7,7 +7,9 @@
|
|||||||
|
|
||||||
The version of the OpenAPI document: 0.1.0
|
The version of the OpenAPI document: 0.1.0
|
||||||
Contact: team@openapitools.org
|
Contact: team@openapitools.org
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -22,10 +24,8 @@ from typing import Optional
|
|||||||
from pydantic import BaseModel, StrictInt, StrictStr
|
from pydantic import BaseModel, StrictInt, StrictStr
|
||||||
|
|
||||||
class Tag(BaseModel):
|
class Tag(BaseModel):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
Tag
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
id: Optional[StrictInt] = None
|
id: Optional[StrictInt] = None
|
||||||
name: Optional[StrictStr] = None
|
name: Optional[StrictStr] = None
|
||||||
|
@ -7,7 +7,9 @@
|
|||||||
|
|
||||||
The version of the OpenAPI document: 0.1.0
|
The version of the OpenAPI document: 0.1.0
|
||||||
Contact: team@openapitools.org
|
Contact: team@openapitools.org
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -22,10 +24,8 @@ from typing import Optional
|
|||||||
from pydantic import BaseModel, StrictInt, StrictStr
|
from pydantic import BaseModel, StrictInt, StrictStr
|
||||||
|
|
||||||
class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter(BaseModel):
|
class TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter(BaseModel):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
size: Optional[StrictStr] = None
|
size: Optional[StrictStr] = None
|
||||||
color: Optional[StrictStr] = None
|
color: Optional[StrictStr] = None
|
||||||
|
@ -7,7 +7,9 @@
|
|||||||
|
|
||||||
The version of the OpenAPI document: 0.1.0
|
The version of the OpenAPI document: 0.1.0
|
||||||
Contact: team@openapitools.org
|
Contact: team@openapitools.org
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -22,10 +24,8 @@ from typing import List, Optional
|
|||||||
from pydantic import BaseModel, StrictStr, conlist
|
from pydantic import BaseModel, StrictStr, conlist
|
||||||
|
|
||||||
class TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter(BaseModel):
|
class TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter(BaseModel):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
values: Optional[conlist(StrictStr)] = None
|
values: Optional[conlist(StrictStr)] = None
|
||||||
__properties = ["values"]
|
__properties = ["values"]
|
||||||
|
@ -7,7 +7,9 @@
|
|||||||
|
|
||||||
The version of the OpenAPI document: 0.1.0
|
The version of the OpenAPI document: 0.1.0
|
||||||
Contact: team@openapitools.org
|
Contact: team@openapitools.org
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
@ -7,7 +7,9 @@
|
|||||||
|
|
||||||
The version of the OpenAPI document: 0.1.0
|
The version of the OpenAPI document: 0.1.0
|
||||||
Contact: team@openapitools.org
|
Contact: team@openapitools.org
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
@ -8,7 +8,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
@ -5,7 +5,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from __future__ import absolute_import
|
from __future__ import absolute_import
|
||||||
@ -36,10 +38,6 @@ class ApiClient(object):
|
|||||||
the methods and models for each application are generated from the OpenAPI
|
the methods and models for each application are generated from the OpenAPI
|
||||||
templates.
|
templates.
|
||||||
|
|
||||||
NOTE: This class is auto generated by OpenAPI Generator.
|
|
||||||
Ref: https://openapi-generator.tech
|
|
||||||
Do not edit the class manually.
|
|
||||||
|
|
||||||
:param configuration: .Configuration object for this client
|
:param configuration: .Configuration object for this client
|
||||||
:param header_name: a header to pass when making calls to the API.
|
:param header_name: a header to pass when making calls to the API.
|
||||||
:param header_value: a header value to pass when making calls to
|
:param header_value: a header value to pass when making calls to
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -20,7 +22,6 @@ import urllib3
|
|||||||
import http.client as httplib
|
import http.client as httplib
|
||||||
from petstore_api.exceptions import ApiValueError
|
from petstore_api.exceptions import ApiValueError
|
||||||
|
|
||||||
|
|
||||||
JSON_SCHEMA_VALIDATION_KEYWORDS = {
|
JSON_SCHEMA_VALIDATION_KEYWORDS = {
|
||||||
'multipleOf', 'maximum', 'exclusiveMaximum',
|
'multipleOf', 'maximum', 'exclusiveMaximum',
|
||||||
'minimum', 'exclusiveMinimum', 'maxLength',
|
'minimum', 'exclusiveMinimum', 'maxLength',
|
||||||
@ -28,10 +29,7 @@ JSON_SCHEMA_VALIDATION_KEYWORDS = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class Configuration(object):
|
class Configuration(object):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator
|
"""This class contains various settings of the API client.
|
||||||
|
|
||||||
Ref: https://openapi-generator.tech
|
|
||||||
Do not edit the class manually.
|
|
||||||
|
|
||||||
:param host: Base url.
|
:param host: Base url.
|
||||||
:param api_key: Dict to store API key(s).
|
:param api_key: Dict to store API key(s).
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
@ -7,7 +7,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -21,10 +23,8 @@ from typing import Dict, Optional
|
|||||||
from pydantic import BaseModel, StrictStr
|
from pydantic import BaseModel, StrictStr
|
||||||
|
|
||||||
class AdditionalPropertiesClass(BaseModel):
|
class AdditionalPropertiesClass(BaseModel):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
AdditionalPropertiesClass
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
map_property: Optional[Dict[str, StrictStr]] = None
|
map_property: Optional[Dict[str, StrictStr]] = None
|
||||||
map_of_map_property: Optional[Dict[str, Dict[str, StrictStr]]] = None
|
map_of_map_property: Optional[Dict[str, Dict[str, StrictStr]]] = None
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -21,10 +23,8 @@ from typing import Any, Optional
|
|||||||
from pydantic import BaseModel, Field, StrictStr
|
from pydantic import BaseModel, Field, StrictStr
|
||||||
|
|
||||||
class AllOfWithSingleRef(BaseModel):
|
class AllOfWithSingleRef(BaseModel):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
AllOfWithSingleRef
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
username: Optional[StrictStr] = None
|
username: Optional[StrictStr] = None
|
||||||
single_ref_type: Optional[Any] = Field(None, alias="SingleRefType")
|
single_ref_type: Optional[Any] = Field(None, alias="SingleRefType")
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -22,10 +24,8 @@ from typing import Optional
|
|||||||
from pydantic import BaseModel, Field, StrictStr
|
from pydantic import BaseModel, Field, StrictStr
|
||||||
|
|
||||||
class Animal(BaseModel):
|
class Animal(BaseModel):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
Animal
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
class_name: StrictStr = Field(..., alias="className")
|
class_name: StrictStr = Field(..., alias="className")
|
||||||
color: Optional[StrictStr] = 'red'
|
color: Optional[StrictStr] = 'red'
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -24,11 +26,10 @@ from pydantic import StrictStr, Field
|
|||||||
ANYOFCOLOR_ANY_OF_SCHEMAS = ["List[int]", "str"]
|
ANYOFCOLOR_ANY_OF_SCHEMAS = ["List[int]", "str"]
|
||||||
|
|
||||||
class AnyOfColor(BaseModel):
|
class AnyOfColor(BaseModel):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
||||||
Ref: https://openapi-generator.tech
|
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
|
Any of RGB array, RGBA array, or hex string.
|
||||||
|
"""
|
||||||
|
|
||||||
# data type: List[int]
|
# data type: List[int]
|
||||||
anyof_schema_1_validator: Optional[conlist(conint(strict=True, le=255, ge=0), max_items=3, min_items=3)] = Field(None, description="RGB three element array with values 0-255.")
|
anyof_schema_1_validator: Optional[conlist(conint(strict=True, le=255, ge=0), max_items=3, min_items=3)] = Field(None, description="RGB three element array with values 0-255.")
|
||||||
# data type: List[int]
|
# data type: List[int]
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -26,11 +28,10 @@ from pydantic import StrictStr, Field
|
|||||||
ANYOFPIG_ANY_OF_SCHEMAS = ["BasquePig", "DanishPig"]
|
ANYOFPIG_ANY_OF_SCHEMAS = ["BasquePig", "DanishPig"]
|
||||||
|
|
||||||
class AnyOfPig(BaseModel):
|
class AnyOfPig(BaseModel):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
||||||
Ref: https://openapi-generator.tech
|
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
|
AnyOfPig
|
||||||
|
"""
|
||||||
|
|
||||||
# data type: BasquePig
|
# data type: BasquePig
|
||||||
anyof_schema_1_validator: Optional[BasquePig] = None
|
anyof_schema_1_validator: Optional[BasquePig] = None
|
||||||
# data type: DanishPig
|
# data type: DanishPig
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -21,10 +23,8 @@ from typing import Optional
|
|||||||
from pydantic import BaseModel, StrictInt, StrictStr
|
from pydantic import BaseModel, StrictInt, StrictStr
|
||||||
|
|
||||||
class ApiResponse(BaseModel):
|
class ApiResponse(BaseModel):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
ApiResponse
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
code: Optional[StrictInt] = None
|
code: Optional[StrictInt] = None
|
||||||
type: Optional[StrictStr] = None
|
type: Optional[StrictStr] = None
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -21,10 +23,8 @@ from typing import List, Optional
|
|||||||
from pydantic import BaseModel, Field, conlist
|
from pydantic import BaseModel, Field, conlist
|
||||||
|
|
||||||
class ArrayOfArrayOfNumberOnly(BaseModel):
|
class ArrayOfArrayOfNumberOnly(BaseModel):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
ArrayOfArrayOfNumberOnly
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
array_array_number: Optional[conlist(conlist(float))] = Field(None, alias="ArrayArrayNumber")
|
array_array_number: Optional[conlist(conlist(float))] = Field(None, alias="ArrayArrayNumber")
|
||||||
__properties = ["ArrayArrayNumber"]
|
__properties = ["ArrayArrayNumber"]
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -21,10 +23,8 @@ from typing import List, Optional
|
|||||||
from pydantic import BaseModel, Field, conlist
|
from pydantic import BaseModel, Field, conlist
|
||||||
|
|
||||||
class ArrayOfNumberOnly(BaseModel):
|
class ArrayOfNumberOnly(BaseModel):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
ArrayOfNumberOnly
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
array_number: Optional[conlist(float)] = Field(None, alias="ArrayNumber")
|
array_number: Optional[conlist(float)] = Field(None, alias="ArrayNumber")
|
||||||
__properties = ["ArrayNumber"]
|
__properties = ["ArrayNumber"]
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -22,10 +24,8 @@ from pydantic import BaseModel, StrictInt, StrictStr, conlist
|
|||||||
from petstore_api.models.read_only_first import ReadOnlyFirst
|
from petstore_api.models.read_only_first import ReadOnlyFirst
|
||||||
|
|
||||||
class ArrayTest(BaseModel):
|
class ArrayTest(BaseModel):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
ArrayTest
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
array_of_string: Optional[conlist(StrictStr, max_items=3, min_items=0)] = None
|
array_of_string: Optional[conlist(StrictStr, max_items=3, min_items=0)] = None
|
||||||
array_array_of_integer: Optional[conlist(conlist(StrictInt))] = None
|
array_array_of_integer: Optional[conlist(conlist(StrictInt))] = None
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -21,10 +23,8 @@ import json
|
|||||||
from pydantic import BaseModel, Field, StrictStr
|
from pydantic import BaseModel, Field, StrictStr
|
||||||
|
|
||||||
class BasquePig(BaseModel):
|
class BasquePig(BaseModel):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
BasquePig
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
class_name: StrictStr = Field(..., alias="className")
|
class_name: StrictStr = Field(..., alias="className")
|
||||||
color: StrictStr = ...
|
color: StrictStr = ...
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -21,10 +23,8 @@ from typing import Optional
|
|||||||
from pydantic import BaseModel, Field, StrictStr
|
from pydantic import BaseModel, Field, StrictStr
|
||||||
|
|
||||||
class Capitalization(BaseModel):
|
class Capitalization(BaseModel):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
Capitalization
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
small_camel: Optional[StrictStr] = Field(None, alias="smallCamel")
|
small_camel: Optional[StrictStr] = Field(None, alias="smallCamel")
|
||||||
capital_camel: Optional[StrictStr] = Field(None, alias="CapitalCamel")
|
capital_camel: Optional[StrictStr] = Field(None, alias="CapitalCamel")
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -22,10 +24,8 @@ from pydantic import BaseModel, StrictBool
|
|||||||
from petstore_api.models.animal import Animal
|
from petstore_api.models.animal import Animal
|
||||||
|
|
||||||
class Cat(Animal):
|
class Cat(Animal):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
Cat
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
declawed: Optional[StrictBool] = None
|
declawed: Optional[StrictBool] = None
|
||||||
__properties = ["className", "color", "declawed"]
|
__properties = ["className", "color", "declawed"]
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -21,10 +23,8 @@ from typing import Optional
|
|||||||
from pydantic import BaseModel, StrictBool
|
from pydantic import BaseModel, StrictBool
|
||||||
|
|
||||||
class CatAllOf(BaseModel):
|
class CatAllOf(BaseModel):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
CatAllOf
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
declawed: Optional[StrictBool] = None
|
declawed: Optional[StrictBool] = None
|
||||||
__properties = ["declawed"]
|
__properties = ["declawed"]
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -21,10 +23,8 @@ from typing import Optional
|
|||||||
from pydantic import BaseModel, StrictInt, StrictStr
|
from pydantic import BaseModel, StrictInt, StrictStr
|
||||||
|
|
||||||
class Category(BaseModel):
|
class Category(BaseModel):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
Category
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
id: Optional[StrictInt] = None
|
id: Optional[StrictInt] = None
|
||||||
name: StrictStr = ...
|
name: StrictStr = ...
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -21,10 +23,8 @@ from typing import Optional
|
|||||||
from pydantic import BaseModel, Field, StrictStr
|
from pydantic import BaseModel, Field, StrictStr
|
||||||
|
|
||||||
class ClassModel(BaseModel):
|
class ClassModel(BaseModel):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
Model for testing model with \"_class\" property
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
var_class: Optional[StrictStr] = Field(None, alias="_class")
|
var_class: Optional[StrictStr] = Field(None, alias="_class")
|
||||||
__properties = ["_class"]
|
__properties = ["_class"]
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -21,10 +23,8 @@ from typing import Optional
|
|||||||
from pydantic import BaseModel, StrictStr
|
from pydantic import BaseModel, StrictStr
|
||||||
|
|
||||||
class Client(BaseModel):
|
class Client(BaseModel):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
Client
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
client: Optional[StrictStr] = None
|
client: Optional[StrictStr] = None
|
||||||
__properties = ["client"]
|
__properties = ["client"]
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -24,10 +26,8 @@ from pydantic import StrictStr, Field
|
|||||||
COLOR_ONE_OF_SCHEMAS = ["List[int]", "str"]
|
COLOR_ONE_OF_SCHEMAS = ["List[int]", "str"]
|
||||||
|
|
||||||
class Color(BaseModel):
|
class Color(BaseModel):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
RGB array, RGBA array, or hex string.
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
# data type: List[int]
|
# data type: List[int]
|
||||||
oneof_schema_1_validator: Optional[conlist(conint(strict=True, le=255, ge=0), max_items=3, min_items=3)] = Field(None, description="RGB three element array with values 0-255.")
|
oneof_schema_1_validator: Optional[conlist(conint(strict=True, le=255, ge=0), max_items=3, min_items=3)] = Field(None, description="RGB three element array with values 0-255.")
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -21,10 +23,8 @@ import json
|
|||||||
from pydantic import BaseModel, Field, StrictInt, StrictStr
|
from pydantic import BaseModel, Field, StrictInt, StrictStr
|
||||||
|
|
||||||
class DanishPig(BaseModel):
|
class DanishPig(BaseModel):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
DanishPig
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
class_name: StrictStr = Field(..., alias="className")
|
class_name: StrictStr = Field(..., alias="className")
|
||||||
size: StrictInt = ...
|
size: StrictInt = ...
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -21,10 +23,8 @@ from typing import Optional
|
|||||||
from pydantic import BaseModel, StrictStr
|
from pydantic import BaseModel, StrictStr
|
||||||
|
|
||||||
class DeprecatedObject(BaseModel):
|
class DeprecatedObject(BaseModel):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
DeprecatedObject
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
name: Optional[StrictStr] = None
|
name: Optional[StrictStr] = None
|
||||||
__properties = ["name"]
|
__properties = ["name"]
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -22,10 +24,8 @@ from pydantic import BaseModel, StrictStr
|
|||||||
from petstore_api.models.animal import Animal
|
from petstore_api.models.animal import Animal
|
||||||
|
|
||||||
class Dog(Animal):
|
class Dog(Animal):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
Dog
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
breed: Optional[StrictStr] = None
|
breed: Optional[StrictStr] = None
|
||||||
__properties = ["className", "color", "breed"]
|
__properties = ["className", "color", "breed"]
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -21,10 +23,8 @@ from typing import Optional
|
|||||||
from pydantic import BaseModel, StrictStr
|
from pydantic import BaseModel, StrictStr
|
||||||
|
|
||||||
class DogAllOf(BaseModel):
|
class DogAllOf(BaseModel):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
DogAllOf
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
breed: Optional[StrictStr] = None
|
breed: Optional[StrictStr] = None
|
||||||
__properties = ["breed"]
|
__properties = ["breed"]
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -21,10 +23,8 @@ from typing import Optional
|
|||||||
from pydantic import BaseModel, StrictStr
|
from pydantic import BaseModel, StrictStr
|
||||||
|
|
||||||
class DummyModel(BaseModel):
|
class DummyModel(BaseModel):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
DummyModel
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
category: Optional[StrictStr] = None
|
category: Optional[StrictStr] = None
|
||||||
self_ref: Optional[SelfReferenceModel] = None
|
self_ref: Optional[SelfReferenceModel] = None
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -21,10 +23,8 @@ from typing import List, Optional
|
|||||||
from pydantic import BaseModel, StrictStr, conlist, validator
|
from pydantic import BaseModel, StrictStr, conlist, validator
|
||||||
|
|
||||||
class EnumArrays(BaseModel):
|
class EnumArrays(BaseModel):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
EnumArrays
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
just_symbol: Optional[StrictStr] = None
|
just_symbol: Optional[StrictStr] = None
|
||||||
array_enum: Optional[conlist(StrictStr)] = None
|
array_enum: Optional[conlist(StrictStr)] = None
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -20,16 +22,13 @@ from aenum import Enum, no_arg
|
|||||||
|
|
||||||
|
|
||||||
class EnumClass(str, Enum):
|
class EnumClass(str, Enum):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
EnumClass
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
"""
|
"""
|
||||||
allowed enum values
|
allowed enum values
|
||||||
"""
|
"""
|
||||||
|
|
||||||
ABC = '_abc'
|
ABC = '_abc'
|
||||||
MINUS_EFG = '-efg'
|
MINUS_EFG = '-efg'
|
||||||
LEFT_PARENTHESIS_XYZ_RIGHT_PARENTHESIS = '(xyz)'
|
LEFT_PARENTHESIS_XYZ_RIGHT_PARENTHESIS = '(xyz)'
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -25,10 +27,8 @@ from petstore_api.models.outer_enum_integer import OuterEnumInteger
|
|||||||
from petstore_api.models.outer_enum_integer_default_value import OuterEnumIntegerDefaultValue
|
from petstore_api.models.outer_enum_integer_default_value import OuterEnumIntegerDefaultValue
|
||||||
|
|
||||||
class EnumTest(BaseModel):
|
class EnumTest(BaseModel):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
EnumTest
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
enum_string: Optional[StrictStr] = None
|
enum_string: Optional[StrictStr] = None
|
||||||
enum_string_required: StrictStr = ...
|
enum_string_required: StrictStr = ...
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -21,10 +23,8 @@ from typing import Optional
|
|||||||
from pydantic import BaseModel, Field, StrictStr
|
from pydantic import BaseModel, Field, StrictStr
|
||||||
|
|
||||||
class File(BaseModel):
|
class File(BaseModel):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
Must be named `File` for test.
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
source_uri: Optional[StrictStr] = Field(None, alias="sourceURI", description="Test capitalization")
|
source_uri: Optional[StrictStr] = Field(None, alias="sourceURI", description="Test capitalization")
|
||||||
__properties = ["sourceURI"]
|
__properties = ["sourceURI"]
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -22,10 +24,8 @@ from pydantic import BaseModel, conlist
|
|||||||
from petstore_api.models.file import File
|
from petstore_api.models.file import File
|
||||||
|
|
||||||
class FileSchemaTestClass(BaseModel):
|
class FileSchemaTestClass(BaseModel):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
FileSchemaTestClass
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
file: Optional[File] = None
|
file: Optional[File] = None
|
||||||
files: Optional[conlist(File)] = None
|
files: Optional[conlist(File)] = None
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -21,10 +23,8 @@ from typing import Optional
|
|||||||
from pydantic import BaseModel, StrictStr
|
from pydantic import BaseModel, StrictStr
|
||||||
|
|
||||||
class Foo(BaseModel):
|
class Foo(BaseModel):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
Foo
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
bar: Optional[StrictStr] = 'bar'
|
bar: Optional[StrictStr] = 'bar'
|
||||||
__properties = ["bar"]
|
__properties = ["bar"]
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -22,10 +24,8 @@ from pydantic import BaseModel
|
|||||||
from petstore_api.models.foo import Foo
|
from petstore_api.models.foo import Foo
|
||||||
|
|
||||||
class FooGetDefaultResponse(BaseModel):
|
class FooGetDefaultResponse(BaseModel):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
FooGetDefaultResponse
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
string: Optional[Foo] = None
|
string: Optional[Foo] = None
|
||||||
__properties = ["string"]
|
__properties = ["string"]
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -21,10 +23,8 @@ from typing import Optional
|
|||||||
from pydantic import BaseModel, Field, StrictBytes, StrictInt, StrictStr, condecimal, confloat, conint, constr, validator
|
from pydantic import BaseModel, Field, StrictBytes, StrictInt, StrictStr, condecimal, confloat, conint, constr, validator
|
||||||
|
|
||||||
class FormatTest(BaseModel):
|
class FormatTest(BaseModel):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
FormatTest
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
integer: Optional[conint(strict=True, le=100, ge=10)] = None
|
integer: Optional[conint(strict=True, le=100, ge=10)] = None
|
||||||
int32: Optional[conint(strict=True, le=200, ge=20)] = None
|
int32: Optional[conint(strict=True, le=200, ge=20)] = None
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -21,10 +23,8 @@ from typing import Optional
|
|||||||
from pydantic import BaseModel, StrictStr
|
from pydantic import BaseModel, StrictStr
|
||||||
|
|
||||||
class HasOnlyReadOnly(BaseModel):
|
class HasOnlyReadOnly(BaseModel):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
HasOnlyReadOnly
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
bar: Optional[StrictStr] = None
|
bar: Optional[StrictStr] = None
|
||||||
foo: Optional[StrictStr] = None
|
foo: Optional[StrictStr] = None
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -21,10 +23,8 @@ from typing import Optional
|
|||||||
from pydantic import BaseModel, Field, StrictStr
|
from pydantic import BaseModel, Field, StrictStr
|
||||||
|
|
||||||
class HealthCheckResult(BaseModel):
|
class HealthCheckResult(BaseModel):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
Just a string to inform instance is up and running. Make it nullable in hope to get it as pointer in generated model.
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
nullable_message: Optional[StrictStr] = Field(None, alias="NullableMessage")
|
nullable_message: Optional[StrictStr] = Field(None, alias="NullableMessage")
|
||||||
__properties = ["NullableMessage"]
|
__properties = ["NullableMessage"]
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -21,10 +23,8 @@ from typing import Optional
|
|||||||
from pydantic import BaseModel, Field, StrictStr
|
from pydantic import BaseModel, Field, StrictStr
|
||||||
|
|
||||||
class List(BaseModel):
|
class List(BaseModel):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
List
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
var_123_list: Optional[StrictStr] = Field(None, alias="123-list")
|
var_123_list: Optional[StrictStr] = Field(None, alias="123-list")
|
||||||
__properties = ["123-list"]
|
__properties = ["123-list"]
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -21,10 +23,8 @@ from typing import Dict, Optional
|
|||||||
from pydantic import BaseModel, StrictBool, StrictStr, validator
|
from pydantic import BaseModel, StrictBool, StrictStr, validator
|
||||||
|
|
||||||
class MapTest(BaseModel):
|
class MapTest(BaseModel):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
MapTest
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
map_map_of_string: Optional[Dict[str, Dict[str, StrictStr]]] = None
|
map_map_of_string: Optional[Dict[str, Dict[str, StrictStr]]] = None
|
||||||
map_of_enum_string: Optional[Dict[str, StrictStr]] = None
|
map_of_enum_string: Optional[Dict[str, StrictStr]] = None
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -22,10 +24,8 @@ from pydantic import BaseModel, Field, StrictStr
|
|||||||
from petstore_api.models.animal import Animal
|
from petstore_api.models.animal import Animal
|
||||||
|
|
||||||
class MixedPropertiesAndAdditionalPropertiesClass(BaseModel):
|
class MixedPropertiesAndAdditionalPropertiesClass(BaseModel):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
MixedPropertiesAndAdditionalPropertiesClass
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
uuid: Optional[StrictStr] = None
|
uuid: Optional[StrictStr] = None
|
||||||
date_time: Optional[datetime] = Field(None, alias="dateTime")
|
date_time: Optional[datetime] = Field(None, alias="dateTime")
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -21,10 +23,8 @@ from typing import Optional
|
|||||||
from pydantic import BaseModel, Field, StrictInt, StrictStr
|
from pydantic import BaseModel, Field, StrictInt, StrictStr
|
||||||
|
|
||||||
class Model200Response(BaseModel):
|
class Model200Response(BaseModel):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
Model for testing model name starting with number
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
name: Optional[StrictInt] = None
|
name: Optional[StrictInt] = None
|
||||||
var_class: Optional[StrictStr] = Field(None, alias="class")
|
var_class: Optional[StrictStr] = Field(None, alias="class")
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -21,10 +23,8 @@ from typing import Optional
|
|||||||
from pydantic import BaseModel, Field, StrictInt
|
from pydantic import BaseModel, Field, StrictInt
|
||||||
|
|
||||||
class ModelReturn(BaseModel):
|
class ModelReturn(BaseModel):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
Model for testing reserved words
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
var_return: Optional[StrictInt] = Field(None, alias="return")
|
var_return: Optional[StrictInt] = Field(None, alias="return")
|
||||||
__properties = ["return"]
|
__properties = ["return"]
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -21,10 +23,8 @@ from typing import Optional
|
|||||||
from pydantic import BaseModel, Field, StrictInt, StrictStr
|
from pydantic import BaseModel, Field, StrictInt, StrictStr
|
||||||
|
|
||||||
class Name(BaseModel):
|
class Name(BaseModel):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
Model for testing model name same as property name
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
name: StrictInt = ...
|
name: StrictInt = ...
|
||||||
snake_case: Optional[StrictInt] = None
|
snake_case: Optional[StrictInt] = None
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -21,10 +23,8 @@ from typing import Any, Dict, List, Optional
|
|||||||
from pydantic import BaseModel, StrictBool, StrictInt, StrictStr, conlist
|
from pydantic import BaseModel, StrictBool, StrictInt, StrictStr, conlist
|
||||||
|
|
||||||
class NullableClass(BaseModel):
|
class NullableClass(BaseModel):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
NullableClass
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
required_integer_prop: Optional[StrictInt] = ...
|
required_integer_prop: Optional[StrictInt] = ...
|
||||||
integer_prop: Optional[StrictInt] = None
|
integer_prop: Optional[StrictInt] = None
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -21,10 +23,8 @@ from typing import Optional
|
|||||||
from pydantic import BaseModel, Field
|
from pydantic import BaseModel, Field
|
||||||
|
|
||||||
class NumberOnly(BaseModel):
|
class NumberOnly(BaseModel):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
NumberOnly
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
just_number: Optional[float] = Field(None, alias="JustNumber")
|
just_number: Optional[float] = Field(None, alias="JustNumber")
|
||||||
__properties = ["JustNumber"]
|
__properties = ["JustNumber"]
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -22,10 +24,8 @@ from pydantic import BaseModel, Field, StrictStr, conlist
|
|||||||
from petstore_api.models.deprecated_object import DeprecatedObject
|
from petstore_api.models.deprecated_object import DeprecatedObject
|
||||||
|
|
||||||
class ObjectWithDeprecatedFields(BaseModel):
|
class ObjectWithDeprecatedFields(BaseModel):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
ObjectWithDeprecatedFields
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
uuid: Optional[StrictStr] = None
|
uuid: Optional[StrictStr] = None
|
||||||
id: Optional[float] = None
|
id: Optional[float] = None
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -21,10 +23,8 @@ from typing import Optional
|
|||||||
from pydantic import BaseModel, Field, StrictBool, StrictInt, StrictStr, validator
|
from pydantic import BaseModel, Field, StrictBool, StrictInt, StrictStr, validator
|
||||||
|
|
||||||
class Order(BaseModel):
|
class Order(BaseModel):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
Order
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
id: Optional[StrictInt] = None
|
id: Optional[StrictInt] = None
|
||||||
pet_id: Optional[StrictInt] = Field(None, alias="petId")
|
pet_id: Optional[StrictInt] = Field(None, alias="petId")
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -21,10 +23,8 @@ from typing import Optional
|
|||||||
from pydantic import BaseModel, StrictBool, StrictStr
|
from pydantic import BaseModel, StrictBool, StrictStr
|
||||||
|
|
||||||
class OuterComposite(BaseModel):
|
class OuterComposite(BaseModel):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
OuterComposite
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
my_number: Optional[float] = None
|
my_number: Optional[float] = None
|
||||||
my_string: Optional[StrictStr] = None
|
my_string: Optional[StrictStr] = None
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -20,16 +22,13 @@ from aenum import Enum, no_arg
|
|||||||
|
|
||||||
|
|
||||||
class OuterEnum(str, Enum):
|
class OuterEnum(str, Enum):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
OuterEnum
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
"""
|
"""
|
||||||
allowed enum values
|
allowed enum values
|
||||||
"""
|
"""
|
||||||
|
|
||||||
PLACED = 'placed'
|
PLACED = 'placed'
|
||||||
APPROVED = 'approved'
|
APPROVED = 'approved'
|
||||||
DELIVERED = 'delivered'
|
DELIVERED = 'delivered'
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -20,16 +22,13 @@ from aenum import Enum, no_arg
|
|||||||
|
|
||||||
|
|
||||||
class OuterEnumDefaultValue(str, Enum):
|
class OuterEnumDefaultValue(str, Enum):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
OuterEnumDefaultValue
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
"""
|
"""
|
||||||
allowed enum values
|
allowed enum values
|
||||||
"""
|
"""
|
||||||
|
|
||||||
PLACED = 'placed'
|
PLACED = 'placed'
|
||||||
APPROVED = 'approved'
|
APPROVED = 'approved'
|
||||||
DELIVERED = 'delivered'
|
DELIVERED = 'delivered'
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -20,16 +22,13 @@ from aenum import Enum, no_arg
|
|||||||
|
|
||||||
|
|
||||||
class OuterEnumInteger(int, Enum):
|
class OuterEnumInteger(int, Enum):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
OuterEnumInteger
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
"""
|
"""
|
||||||
allowed enum values
|
allowed enum values
|
||||||
"""
|
"""
|
||||||
|
|
||||||
NUMBER_0 = 0
|
NUMBER_0 = 0
|
||||||
NUMBER_1 = 1
|
NUMBER_1 = 1
|
||||||
NUMBER_2 = 2
|
NUMBER_2 = 2
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -20,16 +22,13 @@ from aenum import Enum, no_arg
|
|||||||
|
|
||||||
|
|
||||||
class OuterEnumIntegerDefaultValue(int, Enum):
|
class OuterEnumIntegerDefaultValue(int, Enum):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
OuterEnumIntegerDefaultValue
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
"""
|
"""
|
||||||
allowed enum values
|
allowed enum values
|
||||||
"""
|
"""
|
||||||
|
|
||||||
NUMBER_0 = 0
|
NUMBER_0 = 0
|
||||||
NUMBER_1 = 1
|
NUMBER_1 = 1
|
||||||
NUMBER_2 = 2
|
NUMBER_2 = 2
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -23,10 +25,8 @@ from petstore_api.models.outer_enum import OuterEnum
|
|||||||
from petstore_api.models.outer_enum_integer import OuterEnumInteger
|
from petstore_api.models.outer_enum_integer import OuterEnumInteger
|
||||||
|
|
||||||
class OuterObjectWithEnumProperty(BaseModel):
|
class OuterObjectWithEnumProperty(BaseModel):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
OuterObjectWithEnumProperty
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
str_value: Optional[OuterEnum] = None
|
str_value: Optional[OuterEnum] = None
|
||||||
value: OuterEnumInteger = ...
|
value: OuterEnumInteger = ...
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -23,10 +25,8 @@ from petstore_api.models.category import Category
|
|||||||
from petstore_api.models.tag import Tag
|
from petstore_api.models.tag import Tag
|
||||||
|
|
||||||
class Pet(BaseModel):
|
class Pet(BaseModel):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
Pet
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
id: Optional[StrictInt] = None
|
id: Optional[StrictInt] = None
|
||||||
category: Optional[Category] = None
|
category: Optional[Category] = None
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -26,10 +28,8 @@ from pydantic import StrictStr, Field
|
|||||||
PIG_ONE_OF_SCHEMAS = ["BasquePig", "DanishPig"]
|
PIG_ONE_OF_SCHEMAS = ["BasquePig", "DanishPig"]
|
||||||
|
|
||||||
class Pig(BaseModel):
|
class Pig(BaseModel):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
Pig
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
# data type: BasquePig
|
# data type: BasquePig
|
||||||
oneof_schema_1_validator: Optional[BasquePig] = None
|
oneof_schema_1_validator: Optional[BasquePig] = None
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -21,10 +23,8 @@ from typing import Optional
|
|||||||
from pydantic import BaseModel, StrictStr
|
from pydantic import BaseModel, StrictStr
|
||||||
|
|
||||||
class ReadOnlyFirst(BaseModel):
|
class ReadOnlyFirst(BaseModel):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
ReadOnlyFirst
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
bar: Optional[StrictStr] = None
|
bar: Optional[StrictStr] = None
|
||||||
baz: Optional[StrictStr] = None
|
baz: Optional[StrictStr] = None
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -21,10 +23,8 @@ from typing import Optional
|
|||||||
from pydantic import BaseModel, StrictInt
|
from pydantic import BaseModel, StrictInt
|
||||||
|
|
||||||
class SelfReferenceModel(BaseModel):
|
class SelfReferenceModel(BaseModel):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
SelfReferenceModel
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
size: Optional[StrictInt] = None
|
size: Optional[StrictInt] = None
|
||||||
nested: Optional[DummyModel] = None
|
nested: Optional[DummyModel] = None
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -20,16 +22,13 @@ from aenum import Enum, no_arg
|
|||||||
|
|
||||||
|
|
||||||
class SingleRefType(str, Enum):
|
class SingleRefType(str, Enum):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
SingleRefType
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
"""
|
"""
|
||||||
allowed enum values
|
allowed enum values
|
||||||
"""
|
"""
|
||||||
|
|
||||||
ADMIN = 'admin'
|
ADMIN = 'admin'
|
||||||
USER = 'user'
|
USER = 'user'
|
||||||
|
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -20,16 +22,13 @@ from aenum import Enum, no_arg
|
|||||||
|
|
||||||
|
|
||||||
class SpecialCharacterEnum(str, Enum):
|
class SpecialCharacterEnum(str, Enum):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
SpecialCharacterEnum
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
"""
|
"""
|
||||||
allowed enum values
|
allowed enum values
|
||||||
"""
|
"""
|
||||||
|
|
||||||
ENUM_456 = '456'
|
ENUM_456 = '456'
|
||||||
ENUM_123ABC = '123abc'
|
ENUM_123ABC = '123abc'
|
||||||
UNDERSCORE = '_'
|
UNDERSCORE = '_'
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -21,10 +23,8 @@ from typing import Optional
|
|||||||
from pydantic import BaseModel, Field, StrictInt
|
from pydantic import BaseModel, Field, StrictInt
|
||||||
|
|
||||||
class SpecialModelName(BaseModel):
|
class SpecialModelName(BaseModel):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
SpecialModelName
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
special_property_name: Optional[StrictInt] = Field(None, alias="$special[property.name]")
|
special_property_name: Optional[StrictInt] = Field(None, alias="$special[property.name]")
|
||||||
__properties = ["$special[property.name]"]
|
__properties = ["$special[property.name]"]
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -22,10 +24,8 @@ from pydantic import BaseModel, Field, StrictInt, StrictStr, validator
|
|||||||
from petstore_api.models.category import Category
|
from petstore_api.models.category import Category
|
||||||
|
|
||||||
class SpecialName(BaseModel):
|
class SpecialName(BaseModel):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
SpecialName
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
var_property: Optional[StrictInt] = Field(None, alias="property")
|
var_property: Optional[StrictInt] = Field(None, alias="property")
|
||||||
var_async: Optional[Category] = Field(None, alias="async")
|
var_async: Optional[Category] = Field(None, alias="async")
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
||||||
|
|
||||||
The version of the OpenAPI document: 1.0.0
|
The version of the OpenAPI document: 1.0.0
|
||||||
Generated by: https://openapi-generator.tech
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||||
|
|
||||||
|
Do not edit the class manually.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
@ -21,10 +23,8 @@ from typing import Optional
|
|||||||
from pydantic import BaseModel, StrictInt, StrictStr
|
from pydantic import BaseModel, StrictInt, StrictStr
|
||||||
|
|
||||||
class Tag(BaseModel):
|
class Tag(BaseModel):
|
||||||
"""NOTE: This class is auto generated by OpenAPI Generator.
|
"""
|
||||||
Ref: https://openapi-generator.tech
|
Tag
|
||||||
|
|
||||||
Do not edit the class manually.
|
|
||||||
"""
|
"""
|
||||||
id: Optional[StrictInt] = None
|
id: Optional[StrictInt] = None
|
||||||
name: Optional[StrictStr] = None
|
name: Optional[StrictStr] = None
|
||||||
|
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