Fucking tag
This commit is contained in:
@@ -7,7 +7,7 @@ README.md
|
||||
board_mate/__init__.py
|
||||
board_mate/sms/__init__.py
|
||||
board_mate/sms/api/__init__.py
|
||||
board_mate/sms/api/default_api.py
|
||||
board_mate/sms/api/sms_api.py
|
||||
board_mate/sms/api_client.py
|
||||
board_mate/sms/api_response.py
|
||||
board_mate/sms/configuration.py
|
||||
@@ -15,7 +15,7 @@ board_mate/sms/exceptions.py
|
||||
board_mate/sms/models/__init__.py
|
||||
board_mate/sms/py.typed
|
||||
board_mate/sms/rest.py
|
||||
docs/DefaultApi.md
|
||||
docs/SmsApi.md
|
||||
git_push.sh
|
||||
pyproject.toml
|
||||
requirements.txt
|
||||
@@ -23,5 +23,5 @@ setup.cfg
|
||||
setup.py
|
||||
test-requirements.txt
|
||||
test/__init__.py
|
||||
test/test_default_api.py
|
||||
test/test_sms_api.py
|
||||
tox.ini
|
||||
|
||||
@@ -66,16 +66,16 @@ configuration = board_mate.sms.Configuration(
|
||||
# Enter a context with an instance of the API client
|
||||
with board_mate.sms.ApiClient(configuration) as api_client:
|
||||
# Create an instance of the API class
|
||||
api_instance = board_mate.sms.DefaultApi(api_client)
|
||||
api_instance = board_mate.sms.SmsApi(api_client)
|
||||
body = 'body_example' # str |
|
||||
|
||||
try:
|
||||
# POST sms/send
|
||||
api_response = api_instance.example(body)
|
||||
print("The response of DefaultApi->example:\n")
|
||||
print("The response of SmsApi->example:\n")
|
||||
pprint(api_response)
|
||||
except ApiException as e:
|
||||
print("Exception when calling DefaultApi->example: %s\n" % e)
|
||||
print("Exception when calling SmsApi->example: %s\n" % e)
|
||||
|
||||
```
|
||||
|
||||
@@ -85,7 +85,7 @@ All URIs are relative to *https://boardmate_api*
|
||||
|
||||
Class | Method | HTTP request | Description
|
||||
------------ | ------------- | ------------- | -------------
|
||||
*DefaultApi* | [**example**](docs/DefaultApi.md#example) | **POST** /sms/send | POST sms/send
|
||||
*SmsApi* | [**example**](docs/SmsApi.md#example) | **POST** /sms/send | POST sms/send
|
||||
|
||||
|
||||
## Documentation For Models
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
__version__ = "1.0.0"
|
||||
|
||||
# import apis into sdk package
|
||||
from board_mate.sms.api.default_api import DefaultApi
|
||||
from board_mate.sms.api.sms_api import SmsApi
|
||||
|
||||
# import ApiClient
|
||||
from board_mate.sms.api_response import ApiResponse
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# flake8: noqa
|
||||
|
||||
# import apis into api package
|
||||
from board_mate.sms.api.default_api import DefaultApi
|
||||
from board_mate.sms.api.sms_api import SmsApi
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ from board_mate.sms.exceptions import ( # noqa: F401
|
||||
)
|
||||
|
||||
|
||||
class DefaultApi:
|
||||
class SmsApi:
|
||||
"""NOTE: This class is auto generated by OpenAPI Generator
|
||||
Ref: https://openapi-generator.tech
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
# board_mate.sms.DefaultApi
|
||||
# board_mate.sms.SmsApi
|
||||
|
||||
All URIs are relative to *https://boardmate_api*
|
||||
|
||||
Method | HTTP request | Description
|
||||
------------- | ------------- | -------------
|
||||
[**example**](DefaultApi.md#example) | **POST** /sms/send | POST sms/send
|
||||
[**example**](SmsApi.md#example) | **POST** /sms/send | POST sms/send
|
||||
|
||||
|
||||
# **example**
|
||||
@@ -31,16 +31,16 @@ configuration = board_mate.sms.Configuration(
|
||||
# Enter a context with an instance of the API client
|
||||
with board_mate.sms.ApiClient(configuration) as api_client:
|
||||
# Create an instance of the API class
|
||||
api_instance = board_mate.sms.DefaultApi(api_client)
|
||||
api_instance = board_mate.sms.SmsApi(api_client)
|
||||
body = 'body_example' # str |
|
||||
|
||||
try:
|
||||
# POST sms/send
|
||||
api_response = api_instance.example(body)
|
||||
print("The response of DefaultApi->example:\n")
|
||||
print("The response of SmsApi->example:\n")
|
||||
pprint(api_response)
|
||||
except Exception as e:
|
||||
print("Exception when calling DefaultApi->example: %s\n" % e)
|
||||
print("Exception when calling SmsApi->example: %s\n" % e)
|
||||
```
|
||||
|
||||
|
||||
@@ -14,14 +14,14 @@
|
||||
|
||||
import unittest
|
||||
|
||||
from board_mate.sms.api.default_api import DefaultApi # noqa: E501
|
||||
from board_mate.sms.api.sms_api import SmsApi # noqa: E501
|
||||
|
||||
|
||||
class TestDefaultApi(unittest.TestCase):
|
||||
"""DefaultApi unit test stubs"""
|
||||
class TestSmsApi(unittest.TestCase):
|
||||
"""SmsApi unit test stubs"""
|
||||
|
||||
def setUp(self) -> None:
|
||||
self.api = DefaultApi() # noqa: E501
|
||||
self.api = SmsApi() # noqa: E501
|
||||
|
||||
def tearDown(self) -> None:
|
||||
pass
|
||||
Reference in New Issue
Block a user