Merge remote-tracking branch 'origin/master' into 2.3.0

This commit is contained in:
wing328
2017-05-17 22:00:06 +08:00
681 changed files with 31245 additions and 3547 deletions

View File

@@ -3,25 +3,14 @@
"""
Swagger Petstore
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
OpenAPI spec version: 1.0.0
Contact: apiteam@swagger.io
Generated by: https://github.com/swagger-api/swagger-codegen.git
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
from __future__ import absolute_import
import os
@@ -46,7 +35,9 @@ class TestAdditionalPropertiesClass(unittest.TestCase):
"""
Test AdditionalPropertiesClass
"""
model = petstore_api.models.additional_properties_class.AdditionalPropertiesClass()
# FIXME: construct object with required attributes
#model = petstore_api.models.additional_properties_class.AdditionalPropertiesClass()
pass
if __name__ == '__main__':

View File

@@ -3,25 +3,14 @@
"""
Swagger Petstore
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
OpenAPI spec version: 1.0.0
Contact: apiteam@swagger.io
Generated by: https://github.com/swagger-api/swagger-codegen.git
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
from __future__ import absolute_import
import os
@@ -46,7 +35,9 @@ class TestAnimal(unittest.TestCase):
"""
Test Animal
"""
model = petstore_api.models.animal.Animal()
# FIXME: construct object with required attributes
#model = petstore_api.models.animal.Animal()
pass
if __name__ == '__main__':

View File

@@ -3,25 +3,14 @@
"""
Swagger Petstore
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
OpenAPI spec version: 1.0.0
Contact: apiteam@swagger.io
Generated by: https://github.com/swagger-api/swagger-codegen.git
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
from __future__ import absolute_import
import os
@@ -46,7 +35,9 @@ class TestAnimalFarm(unittest.TestCase):
"""
Test AnimalFarm
"""
model = petstore_api.models.animal_farm.AnimalFarm()
# FIXME: construct object with required attributes
#model = petstore_api.models.animal_farm.AnimalFarm()
pass
if __name__ == '__main__':

View File

@@ -3,25 +3,14 @@
"""
Swagger Petstore
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
OpenAPI spec version: 1.0.0
Contact: apiteam@swagger.io
Generated by: https://github.com/swagger-api/swagger-codegen.git
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
from __future__ import absolute_import
import os
@@ -46,7 +35,9 @@ class TestApiResponse(unittest.TestCase):
"""
Test ApiResponse
"""
model = petstore_api.models.api_response.ApiResponse()
# FIXME: construct object with required attributes
#model = petstore_api.models.api_response.ApiResponse()
pass
if __name__ == '__main__':

View File

@@ -8,20 +8,9 @@
OpenAPI spec version: 1.0.0
Contact: apiteam@swagger.io
Generated by: https://github.com/swagger-api/swagger-codegen.git
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
from __future__ import absolute_import
import os
@@ -46,7 +35,9 @@ class TestArrayOfArrayOfNumberOnly(unittest.TestCase):
"""
Test ArrayOfArrayOfNumberOnly
"""
model = petstore_api.models.array_of_array_of_number_only.ArrayOfArrayOfNumberOnly()
# FIXME: construct object with required attributes
#model = petstore_api.models.array_of_array_of_number_only.ArrayOfArrayOfNumberOnly()
pass
if __name__ == '__main__':

View File

@@ -8,20 +8,9 @@
OpenAPI spec version: 1.0.0
Contact: apiteam@swagger.io
Generated by: https://github.com/swagger-api/swagger-codegen.git
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
from __future__ import absolute_import
import os
@@ -46,7 +35,9 @@ class TestArrayOfNumberOnly(unittest.TestCase):
"""
Test ArrayOfNumberOnly
"""
model = petstore_api.models.array_of_number_only.ArrayOfNumberOnly()
# FIXME: construct object with required attributes
#model = petstore_api.models.array_of_number_only.ArrayOfNumberOnly()
pass
if __name__ == '__main__':

View File

@@ -3,25 +3,14 @@
"""
Swagger Petstore
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
OpenAPI spec version: 1.0.0
Contact: apiteam@swagger.io
Generated by: https://github.com/swagger-api/swagger-codegen.git
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
from __future__ import absolute_import
import os
@@ -46,7 +35,9 @@ class TestArrayTest(unittest.TestCase):
"""
Test ArrayTest
"""
model = petstore_api.models.array_test.ArrayTest()
# FIXME: construct object with required attributes
#model = petstore_api.models.array_test.ArrayTest()
pass
if __name__ == '__main__':

View File

@@ -35,7 +35,9 @@ class TestCapitalization(unittest.TestCase):
"""
Test Capitalization
"""
model = petstore_api.models.capitalization.Capitalization()
# FIXME: construct object with required attributes
#model = petstore_api.models.capitalization.Capitalization()
pass
if __name__ == '__main__':

View File

@@ -3,25 +3,14 @@
"""
Swagger Petstore
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
OpenAPI spec version: 1.0.0
Contact: apiteam@swagger.io
Generated by: https://github.com/swagger-api/swagger-codegen.git
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
from __future__ import absolute_import
import os
@@ -46,7 +35,9 @@ class TestCat(unittest.TestCase):
"""
Test Cat
"""
model = petstore_api.models.cat.Cat()
# FIXME: construct object with required attributes
#model = petstore_api.models.cat.Cat()
pass
if __name__ == '__main__':

View File

@@ -3,25 +3,14 @@
"""
Swagger Petstore
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
OpenAPI spec version: 1.0.0
Contact: apiteam@swagger.io
Generated by: https://github.com/swagger-api/swagger-codegen.git
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
from __future__ import absolute_import
import os
@@ -46,7 +35,9 @@ class TestCategory(unittest.TestCase):
"""
Test Category
"""
model = petstore_api.models.category.Category()
# FIXME: construct object with required attributes
#model = petstore_api.models.category.Category()
pass
if __name__ == '__main__':

View File

@@ -35,7 +35,9 @@ class TestClassModel(unittest.TestCase):
"""
Test ClassModel
"""
model = petstore_api.models.class_model.ClassModel()
# FIXME: construct object with required attributes
#model = petstore_api.models.class_model.ClassModel()
pass
if __name__ == '__main__':

View File

@@ -8,20 +8,9 @@
OpenAPI spec version: 1.0.0
Contact: apiteam@swagger.io
Generated by: https://github.com/swagger-api/swagger-codegen.git
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
from __future__ import absolute_import
import os
@@ -46,7 +35,9 @@ class TestClient(unittest.TestCase):
"""
Test Client
"""
model = petstore_api.models.client.Client()
# FIXME: construct object with required attributes
#model = petstore_api.models.client.Client()
pass
if __name__ == '__main__':

View File

@@ -3,25 +3,14 @@
"""
Swagger Petstore
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
OpenAPI spec version: 1.0.0
Contact: apiteam@swagger.io
Generated by: https://github.com/swagger-api/swagger-codegen.git
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
from __future__ import absolute_import
import os
@@ -46,7 +35,9 @@ class TestDog(unittest.TestCase):
"""
Test Dog
"""
model = petstore_api.models.dog.Dog()
# FIXME: construct object with required attributes
#model = petstore_api.models.dog.Dog()
pass
if __name__ == '__main__':

View File

@@ -8,20 +8,9 @@
OpenAPI spec version: 1.0.0
Contact: apiteam@swagger.io
Generated by: https://github.com/swagger-api/swagger-codegen.git
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
from __future__ import absolute_import
import os
@@ -46,7 +35,9 @@ class TestEnumArrays(unittest.TestCase):
"""
Test EnumArrays
"""
model = petstore_api.models.enum_arrays.EnumArrays()
# FIXME: construct object with required attributes
#model = petstore_api.models.enum_arrays.EnumArrays()
pass
if __name__ == '__main__':

View File

@@ -3,25 +3,14 @@
"""
Swagger Petstore
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
OpenAPI spec version: 1.0.0
Contact: apiteam@swagger.io
Generated by: https://github.com/swagger-api/swagger-codegen.git
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
from __future__ import absolute_import
import os
@@ -46,7 +35,9 @@ class TestEnumClass(unittest.TestCase):
"""
Test EnumClass
"""
model = petstore_api.models.enum_class.EnumClass()
# FIXME: construct object with required attributes
#model = petstore_api.models.enum_class.EnumClass()
pass
if __name__ == '__main__':

View File

@@ -3,25 +3,14 @@
"""
Swagger Petstore
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
OpenAPI spec version: 1.0.0
Contact: apiteam@swagger.io
Generated by: https://github.com/swagger-api/swagger-codegen.git
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
from __future__ import absolute_import
import os
@@ -46,7 +35,9 @@ class TestEnumTest(unittest.TestCase):
"""
Test EnumTest
"""
model = petstore_api.models.enum_test.EnumTest()
# FIXME: construct object with required attributes
#model = petstore_api.models.enum_test.EnumTest()
pass
if __name__ == '__main__':

View File

@@ -3,25 +3,14 @@
"""
Swagger Petstore
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
OpenAPI spec version: 1.0.0
Contact: apiteam@swagger.io
Generated by: https://github.com/swagger-api/swagger-codegen.git
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
from __future__ import absolute_import
import os
@@ -42,6 +31,14 @@ class TestFakeApi(unittest.TestCase):
def tearDown(self):
pass
def test_test_client_model(self):
"""
Test case for test_client_model
To test \"client\" model
"""
pass
def test_test_endpoint_parameters(self):
"""
Test case for test_endpoint_parameters
@@ -50,6 +47,14 @@ class TestFakeApi(unittest.TestCase):
"""
pass
def test_test_enum_parameters(self):
"""
Test case for test_enum_parameters
To test enum parameters
"""
pass
if __name__ == '__main__':
unittest.main()

View File

@@ -3,25 +3,14 @@
"""
Swagger Petstore
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
OpenAPI spec version: 1.0.0
Contact: apiteam@swagger.io
Generated by: https://github.com/swagger-api/swagger-codegen.git
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
from __future__ import absolute_import
import os
@@ -46,7 +35,9 @@ class TestFormatTest(unittest.TestCase):
"""
Test FormatTest
"""
model = petstore_api.models.format_test.FormatTest()
# FIXME: construct object with required attributes
#model = petstore_api.models.format_test.FormatTest()
pass
if __name__ == '__main__':

View File

@@ -8,20 +8,9 @@
OpenAPI spec version: 1.0.0
Contact: apiteam@swagger.io
Generated by: https://github.com/swagger-api/swagger-codegen.git
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
from __future__ import absolute_import
import os
@@ -46,7 +35,9 @@ class TestHasOnlyReadOnly(unittest.TestCase):
"""
Test HasOnlyReadOnly
"""
model = petstore_api.models.has_only_read_only.HasOnlyReadOnly()
# FIXME: construct object with required attributes
#model = petstore_api.models.has_only_read_only.HasOnlyReadOnly()
pass
if __name__ == '__main__':

View File

@@ -8,20 +8,9 @@
OpenAPI spec version: 1.0.0
Contact: apiteam@swagger.io
Generated by: https://github.com/swagger-api/swagger-codegen.git
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
from __future__ import absolute_import
import os
@@ -46,7 +35,9 @@ class TestList(unittest.TestCase):
"""
Test List
"""
model = petstore_api.models.list.List()
# FIXME: construct object with required attributes
#model = petstore_api.models.list.List()
pass
if __name__ == '__main__':

View File

@@ -8,20 +8,9 @@
OpenAPI spec version: 1.0.0
Contact: apiteam@swagger.io
Generated by: https://github.com/swagger-api/swagger-codegen.git
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
from __future__ import absolute_import
import os
@@ -46,7 +35,9 @@ class TestMapTest(unittest.TestCase):
"""
Test MapTest
"""
model = petstore_api.models.map_test.MapTest()
# FIXME: construct object with required attributes
#model = petstore_api.models.map_test.MapTest()
pass
if __name__ == '__main__':

View File

@@ -3,25 +3,14 @@
"""
Swagger Petstore
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
OpenAPI spec version: 1.0.0
Contact: apiteam@swagger.io
Generated by: https://github.com/swagger-api/swagger-codegen.git
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
from __future__ import absolute_import
import os
@@ -46,7 +35,9 @@ class TestMixedPropertiesAndAdditionalPropertiesClass(unittest.TestCase):
"""
Test MixedPropertiesAndAdditionalPropertiesClass
"""
model = petstore_api.models.mixed_properties_and_additional_properties_class.MixedPropertiesAndAdditionalPropertiesClass()
# FIXME: construct object with required attributes
#model = petstore_api.models.mixed_properties_and_additional_properties_class.MixedPropertiesAndAdditionalPropertiesClass()
pass
if __name__ == '__main__':

View File

@@ -3,25 +3,14 @@
"""
Swagger Petstore
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
OpenAPI spec version: 1.0.0
Contact: apiteam@swagger.io
Generated by: https://github.com/swagger-api/swagger-codegen.git
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
from __future__ import absolute_import
import os
@@ -46,7 +35,9 @@ class TestModel200Response(unittest.TestCase):
"""
Test Model200Response
"""
model = petstore_api.models.model_200_response.Model200Response()
# FIXME: construct object with required attributes
#model = petstore_api.models.model_200_response.Model200Response()
pass
if __name__ == '__main__':

View File

@@ -3,25 +3,14 @@
"""
Swagger Petstore
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
OpenAPI spec version: 1.0.0
Contact: apiteam@swagger.io
Generated by: https://github.com/swagger-api/swagger-codegen.git
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
from __future__ import absolute_import
import os
@@ -46,7 +35,9 @@ class TestModelReturn(unittest.TestCase):
"""
Test ModelReturn
"""
model = petstore_api.models.model_return.ModelReturn()
# FIXME: construct object with required attributes
#model = petstore_api.models.model_return.ModelReturn()
pass
if __name__ == '__main__':

View File

@@ -3,25 +3,14 @@
"""
Swagger Petstore
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
OpenAPI spec version: 1.0.0
Contact: apiteam@swagger.io
Generated by: https://github.com/swagger-api/swagger-codegen.git
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
from __future__ import absolute_import
import os
@@ -46,7 +35,9 @@ class TestName(unittest.TestCase):
"""
Test Name
"""
model = petstore_api.models.name.Name()
# FIXME: construct object with required attributes
#model = petstore_api.models.name.Name()
pass
if __name__ == '__main__':

View File

@@ -8,20 +8,9 @@
OpenAPI spec version: 1.0.0
Contact: apiteam@swagger.io
Generated by: https://github.com/swagger-api/swagger-codegen.git
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
from __future__ import absolute_import
import os
@@ -46,7 +35,9 @@ class TestNumberOnly(unittest.TestCase):
"""
Test NumberOnly
"""
model = petstore_api.models.number_only.NumberOnly()
# FIXME: construct object with required attributes
#model = petstore_api.models.number_only.NumberOnly()
pass
if __name__ == '__main__':

View File

@@ -3,25 +3,14 @@
"""
Swagger Petstore
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
OpenAPI spec version: 1.0.0
Contact: apiteam@swagger.io
Generated by: https://github.com/swagger-api/swagger-codegen.git
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
from __future__ import absolute_import
import os
@@ -46,7 +35,9 @@ class TestOrder(unittest.TestCase):
"""
Test Order
"""
model = petstore_api.models.order.Order()
# FIXME: construct object with required attributes
#model = petstore_api.models.order.Order()
pass
if __name__ == '__main__':

View File

@@ -19,25 +19,23 @@ import unittest
import petstore_api
from petstore_api.rest import ApiException
from petstore_api.apis.fake_classname_tags_123_api import FakeClassnameTags123Api
from petstore_api.models.outer_boolean import OuterBoolean
class TestFakeClassnameTags123Api(unittest.TestCase):
""" FakeClassnameTags123Api unit test stubs """
class TestOuterBoolean(unittest.TestCase):
""" OuterBoolean unit test stubs """
def setUp(self):
self.api = petstore_api.apis.fake_classname_tags_123_api.FakeClassnameTags123Api()
pass
def tearDown(self):
pass
def test_test_classname(self):
def testOuterBoolean(self):
"""
Test case for test_classname
To test class name in snake case
Test OuterBoolean
"""
pass
model = petstore_api.models.outer_boolean.OuterBoolean()
if __name__ == '__main__':

View File

@@ -0,0 +1,42 @@
# coding: utf-8
"""
Swagger Petstore
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
OpenAPI spec version: 1.0.0
Contact: apiteam@swagger.io
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import os
import sys
import unittest
import petstore_api
from petstore_api.rest import ApiException
from petstore_api.models.outer_composite import OuterComposite
class TestOuterComposite(unittest.TestCase):
""" OuterComposite unit test stubs """
def setUp(self):
pass
def tearDown(self):
pass
def testOuterComposite(self):
"""
Test OuterComposite
"""
model = petstore_api.models.outer_composite.OuterComposite()
if __name__ == '__main__':
unittest.main()

View File

@@ -35,7 +35,9 @@ class TestOuterEnum(unittest.TestCase):
"""
Test OuterEnum
"""
model = petstore_api.models.outer_enum.OuterEnum()
# FIXME: construct object with required attributes
#model = petstore_api.models.outer_enum.OuterEnum()
pass
if __name__ == '__main__':

View File

@@ -0,0 +1,42 @@
# coding: utf-8
"""
Swagger Petstore
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
OpenAPI spec version: 1.0.0
Contact: apiteam@swagger.io
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import os
import sys
import unittest
import petstore_api
from petstore_api.rest import ApiException
from petstore_api.models.outer_number import OuterNumber
class TestOuterNumber(unittest.TestCase):
""" OuterNumber unit test stubs """
def setUp(self):
pass
def tearDown(self):
pass
def testOuterNumber(self):
"""
Test OuterNumber
"""
model = petstore_api.models.outer_number.OuterNumber()
if __name__ == '__main__':
unittest.main()

View File

@@ -0,0 +1,42 @@
# coding: utf-8
"""
Swagger Petstore
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
OpenAPI spec version: 1.0.0
Contact: apiteam@swagger.io
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import os
import sys
import unittest
import petstore_api
from petstore_api.rest import ApiException
from petstore_api.models.outer_string import OuterString
class TestOuterString(unittest.TestCase):
""" OuterString unit test stubs """
def setUp(self):
pass
def tearDown(self):
pass
def testOuterString(self):
"""
Test OuterString
"""
model = petstore_api.models.outer_string.OuterString()
if __name__ == '__main__':
unittest.main()

View File

@@ -3,25 +3,14 @@
"""
Swagger Petstore
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
OpenAPI spec version: 1.0.0
Contact: apiteam@swagger.io
Generated by: https://github.com/swagger-api/swagger-codegen.git
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
from __future__ import absolute_import
import os
@@ -46,7 +35,9 @@ class TestPet(unittest.TestCase):
"""
Test Pet
"""
model = petstore_api.models.pet.Pet()
# FIXME: construct object with required attributes
#model = petstore_api.models.pet.Pet()
pass
if __name__ == '__main__':

View File

@@ -3,25 +3,14 @@
"""
Swagger Petstore
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
OpenAPI spec version: 1.0.0
Contact: apiteam@swagger.io
Generated by: https://github.com/swagger-api/swagger-codegen.git
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
from __future__ import absolute_import
import os

View File

@@ -3,25 +3,14 @@
"""
Swagger Petstore
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
OpenAPI spec version: 1.0.0
Contact: apiteam@swagger.io
Generated by: https://github.com/swagger-api/swagger-codegen.git
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
from __future__ import absolute_import
import os
@@ -46,7 +35,9 @@ class TestReadOnlyFirst(unittest.TestCase):
"""
Test ReadOnlyFirst
"""
model = petstore_api.models.read_only_first.ReadOnlyFirst()
# FIXME: construct object with required attributes
#model = petstore_api.models.read_only_first.ReadOnlyFirst()
pass
if __name__ == '__main__':

View File

@@ -3,25 +3,14 @@
"""
Swagger Petstore
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
OpenAPI spec version: 1.0.0
Contact: apiteam@swagger.io
Generated by: https://github.com/swagger-api/swagger-codegen.git
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
from __future__ import absolute_import
import os
@@ -46,7 +35,9 @@ class TestSpecialModelName(unittest.TestCase):
"""
Test SpecialModelName
"""
model = petstore_api.models.special_model_name.SpecialModelName()
# FIXME: construct object with required attributes
#model = petstore_api.models.special_model_name.SpecialModelName()
pass
if __name__ == '__main__':

View File

@@ -3,25 +3,14 @@
"""
Swagger Petstore
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
OpenAPI spec version: 1.0.0
Contact: apiteam@swagger.io
Generated by: https://github.com/swagger-api/swagger-codegen.git
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
from __future__ import absolute_import
import os

View File

@@ -3,25 +3,14 @@
"""
Swagger Petstore
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
OpenAPI spec version: 1.0.0
Contact: apiteam@swagger.io
Generated by: https://github.com/swagger-api/swagger-codegen.git
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
from __future__ import absolute_import
import os
@@ -46,7 +35,9 @@ class TestTag(unittest.TestCase):
"""
Test Tag
"""
model = petstore_api.models.tag.Tag()
# FIXME: construct object with required attributes
#model = petstore_api.models.tag.Tag()
pass
if __name__ == '__main__':

View File

@@ -3,25 +3,14 @@
"""
Swagger Petstore
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
OpenAPI spec version: 1.0.0
Contact: apiteam@swagger.io
Generated by: https://github.com/swagger-api/swagger-codegen.git
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
from __future__ import absolute_import
import os
@@ -46,7 +35,9 @@ class TestUser(unittest.TestCase):
"""
Test User
"""
model = petstore_api.models.user.User()
# FIXME: construct object with required attributes
#model = petstore_api.models.user.User()
pass
if __name__ == '__main__':

View File

@@ -3,25 +3,14 @@
"""
Swagger Petstore
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
OpenAPI spec version: 1.0.0
Contact: apiteam@swagger.io
Generated by: https://github.com/swagger-api/swagger-codegen.git
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
from __future__ import absolute_import
import os