Add open api generated components
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
# coding: utf-8
|
||||
|
||||
"""
|
||||
boardmate_api API
|
||||
|
||||
boardmate_api API
|
||||
|
||||
The version of the OpenAPI document: 1.0.0
|
||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||
|
||||
Do not edit the class manually.
|
||||
""" # noqa: E501
|
||||
|
||||
|
||||
import unittest
|
||||
import datetime
|
||||
|
||||
from openapi_client.models.client_dto import ClientDto # noqa: E501
|
||||
|
||||
class TestClientDto(unittest.TestCase):
|
||||
"""ClientDto unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def make_instance(self, include_optional) -> ClientDto:
|
||||
"""Test ClientDto
|
||||
include_option is a boolean, when False only required
|
||||
params are included, when True both required and
|
||||
optional params are included """
|
||||
# uncomment below to create an instance of `ClientDto`
|
||||
"""
|
||||
model = ClientDto() # noqa: E501
|
||||
if include_optional:
|
||||
return ClientDto(
|
||||
name = '',
|
||||
username = '',
|
||||
key = ''
|
||||
)
|
||||
else:
|
||||
return ClientDto(
|
||||
)
|
||||
"""
|
||||
|
||||
def testClientDto(self):
|
||||
"""Test ClientDto"""
|
||||
# inst_req_only = self.make_instance(include_optional=False)
|
||||
# inst_req_and_optional = self.make_instance(include_optional=True)
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
@@ -0,0 +1,38 @@
|
||||
# coding: utf-8
|
||||
|
||||
"""
|
||||
boardmate_api API
|
||||
|
||||
boardmate_api API
|
||||
|
||||
The version of the OpenAPI document: 1.0.0
|
||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||
|
||||
Do not edit the class manually.
|
||||
""" # noqa: E501
|
||||
|
||||
|
||||
import unittest
|
||||
|
||||
from openapi_client.api.default_api import DefaultApi # noqa: E501
|
||||
|
||||
|
||||
class TestDefaultApi(unittest.TestCase):
|
||||
"""DefaultApi unit test stubs"""
|
||||
|
||||
def setUp(self) -> None:
|
||||
self.api = DefaultApi() # noqa: E501
|
||||
|
||||
def tearDown(self) -> None:
|
||||
pass
|
||||
|
||||
def test_create(self) -> None:
|
||||
"""Test case for create
|
||||
|
||||
POST client/create # noqa: E501
|
||||
"""
|
||||
pass
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
@@ -0,0 +1,54 @@
|
||||
# coding: utf-8
|
||||
|
||||
"""
|
||||
boardmate_api API
|
||||
|
||||
boardmate_api API
|
||||
|
||||
The version of the OpenAPI document: 1.0.0
|
||||
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
||||
|
||||
Do not edit the class manually.
|
||||
""" # noqa: E501
|
||||
|
||||
|
||||
import unittest
|
||||
import datetime
|
||||
|
||||
from openapi_client.models.response_body_string import ResponseBodyString # noqa: E501
|
||||
|
||||
class TestResponseBodyString(unittest.TestCase):
|
||||
"""ResponseBodyString unit test stubs"""
|
||||
|
||||
def setUp(self):
|
||||
pass
|
||||
|
||||
def tearDown(self):
|
||||
pass
|
||||
|
||||
def make_instance(self, include_optional) -> ResponseBodyString:
|
||||
"""Test ResponseBodyString
|
||||
include_option is a boolean, when False only required
|
||||
params are included, when True both required and
|
||||
optional params are included """
|
||||
# uncomment below to create an instance of `ResponseBodyString`
|
||||
"""
|
||||
model = ResponseBodyString() # noqa: E501
|
||||
if include_optional:
|
||||
return ResponseBodyString(
|
||||
data = '',
|
||||
message = '',
|
||||
success = True
|
||||
)
|
||||
else:
|
||||
return ResponseBodyString(
|
||||
)
|
||||
"""
|
||||
|
||||
def testResponseBodyString(self):
|
||||
"""Test ResponseBodyString"""
|
||||
# inst_req_only = self.make_instance(include_optional=False)
|
||||
# inst_req_and_optional = self.make_instance(include_optional=True)
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
Reference in New Issue
Block a user