[python] Fixes endpoint overload type hint + required property not in properties (#13790)

* Adds endpoint overload type hint fix to template

* Samples regenerated

* Adds fix for required property not in properties

* Regenerates samples
This commit is contained in:
Justin Black
2022-10-21 18:50:30 -07:00
committed by GitHub
parent c0c31e89b7
commit ac3bb6830a
236 changed files with 1235 additions and 1 deletions

View File

@@ -0,0 +1,25 @@
# coding: utf-8
"""
OpenAPI Petstore
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
The version of the OpenAPI document: 1.0.0
Generated by: https://openapi-generator.tech
"""
import unittest
import petstore_api
from petstore_api.model.object_with_all_of_with_req_test_prop_from_unset_add_prop import ObjectWithAllOfWithReqTestPropFromUnsetAddProp
from petstore_api import configuration
class TestObjectWithAllOfWithReqTestPropFromUnsetAddProp(unittest.TestCase):
"""ObjectWithAllOfWithReqTestPropFromUnsetAddProp unit test stubs"""
_configuration = configuration.Configuration()
if __name__ == '__main__':
unittest.main()

View File

@@ -0,0 +1,25 @@
# coding: utf-8
"""
OpenAPI Petstore
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
The version of the OpenAPI document: 1.0.0
Generated by: https://openapi-generator.tech
"""
import unittest
import petstore_api
from petstore_api.model.object_with_optional_test_prop import ObjectWithOptionalTestProp
from petstore_api import configuration
class TestObjectWithOptionalTestProp(unittest.TestCase):
"""ObjectWithOptionalTestProp unit test stubs"""
_configuration = configuration.Configuration()
if __name__ == '__main__':
unittest.main()