-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
generate model for hyperliquid and coinbase
- Loading branch information
1 parent
f5733dc
commit 132a0e1
Showing
508 changed files
with
44,143 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
# copy this file into the output directory of openapi codegen | ||
docs/* | ||
target/* | ||
.gitignore | ||
|
38 changes: 38 additions & 0 deletions
38
target/python/coinbase_openapi/.github/workflows/python.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# NOTE: This file is auto generated by OpenAPI Generator. | ||
# URL: https://openapi-generator.tech | ||
# | ||
# ref: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python | ||
|
||
name: openapi_client Python package | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install flake8 pytest | ||
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi | ||
if [ -f test-requirements.txt ]; then pip install -r test-requirements.txt; fi | ||
- name: Lint with flake8 | ||
run: | | ||
# stop the build if there are Python syntax errors or undefined names | ||
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics | ||
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide | ||
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics | ||
- name: Test with pytest | ||
run: | | ||
pytest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# copy this file into the output directory of openapi codegen | ||
docs/* | ||
target/* | ||
.gitignore | ||
.travis.yml | ||
Cargo.lock | ||
git_push.sh | ||
README.md | ||
|
||
.gitlab-ci.yml | ||
docs/* | ||
test/* | ||
test-requirements.txt | ||
tox.ini | ||
setup.cfg | ||
setup.py | ||
pyproject.toml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
.github/workflows/python.yml | ||
openapi_client/__init__.py | ||
openapi_client/api/__init__.py | ||
openapi_client/api/accounts_api.py | ||
openapi_client/api/addresses_api.py | ||
openapi_client/api/transactions_api.py | ||
openapi_client/api/users_api.py | ||
openapi_client/api_client.py | ||
openapi_client/api_response.py | ||
openapi_client/configuration.py | ||
openapi_client/exceptions.py | ||
openapi_client/models/__init__.py | ||
openapi_client/models/account.py | ||
openapi_client/models/accounts_account_id_addresses_address_id_transactions_get200_response.py | ||
openapi_client/models/accounts_account_id_addresses_get200_response.py | ||
openapi_client/models/accounts_account_id_addresses_post201_response.py | ||
openapi_client/models/accounts_account_id_addresses_post_request.py | ||
openapi_client/models/accounts_account_id_put_request.py | ||
openapi_client/models/accounts_account_id_transactions_post201_response.py | ||
openapi_client/models/accounts_account_id_transactions_post_request.py | ||
openapi_client/models/accounts_get200_response.py | ||
openapi_client/models/accounts_post201_response.py | ||
openapi_client/models/accounts_post_request.py | ||
openapi_client/models/address.py | ||
openapi_client/models/money_hash.py | ||
openapi_client/models/transaction.py | ||
openapi_client/models/user.py | ||
openapi_client/models/user_auth_get200_response.py | ||
openapi_client/models/user_auth_get200_response_data.py | ||
openapi_client/models/user_put_request.py | ||
openapi_client/models/users_user_id_get200_response.py | ||
openapi_client/py.typed | ||
openapi_client/rest.py | ||
requirements.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
7.7.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# coding: utf-8 | ||
|
||
# flake8: noqa | ||
|
||
""" | ||
Coinbase API | ||
The Coinbase v2 API | ||
The version of the OpenAPI document: 2.0.0 | ||
Generated by OpenAPI Generator (https://openapi-generator.tech) | ||
Do not edit the class manually. | ||
""" # noqa: E501 | ||
|
||
|
||
__version__ = "1.0.0" | ||
|
||
# import apis into sdk package | ||
from openapi_client.api.accounts_api import AccountsApi | ||
from openapi_client.api.addresses_api import AddressesApi | ||
from openapi_client.api.transactions_api import TransactionsApi | ||
from openapi_client.api.users_api import UsersApi | ||
|
||
# import ApiClient | ||
from openapi_client.api_response import ApiResponse | ||
from openapi_client.api_client import ApiClient | ||
from openapi_client.configuration import Configuration | ||
from openapi_client.exceptions import OpenApiException | ||
from openapi_client.exceptions import ApiTypeError | ||
from openapi_client.exceptions import ApiValueError | ||
from openapi_client.exceptions import ApiKeyError | ||
from openapi_client.exceptions import ApiAttributeError | ||
from openapi_client.exceptions import ApiException | ||
|
||
# import models into sdk package | ||
from openapi_client.models.account import Account | ||
from openapi_client.models.accounts_account_id_addresses_address_id_transactions_get200_response import AccountsAccountIdAddressesAddressIdTransactionsGet200Response | ||
from openapi_client.models.accounts_account_id_addresses_get200_response import AccountsAccountIdAddressesGet200Response | ||
from openapi_client.models.accounts_account_id_addresses_post201_response import AccountsAccountIdAddressesPost201Response | ||
from openapi_client.models.accounts_account_id_addresses_post_request import AccountsAccountIdAddressesPostRequest | ||
from openapi_client.models.accounts_account_id_put_request import AccountsAccountIdPutRequest | ||
from openapi_client.models.accounts_account_id_transactions_post201_response import AccountsAccountIdTransactionsPost201Response | ||
from openapi_client.models.accounts_account_id_transactions_post_request import AccountsAccountIdTransactionsPostRequest | ||
from openapi_client.models.accounts_get200_response import AccountsGet200Response | ||
from openapi_client.models.accounts_post201_response import AccountsPost201Response | ||
from openapi_client.models.accounts_post_request import AccountsPostRequest | ||
from openapi_client.models.address import Address | ||
from openapi_client.models.money_hash import MoneyHash | ||
from openapi_client.models.transaction import Transaction | ||
from openapi_client.models.user import User | ||
from openapi_client.models.user_auth_get200_response import UserAuthGet200Response | ||
from openapi_client.models.user_auth_get200_response_data import UserAuthGet200ResponseData | ||
from openapi_client.models.user_put_request import UserPutRequest | ||
from openapi_client.models.users_user_id_get200_response import UsersUserIdGet200Response |
8 changes: 8 additions & 0 deletions
8
target/python/coinbase_openapi/openapi_client/api/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# flake8: noqa | ||
|
||
# import apis into api package | ||
from openapi_client.api.accounts_api import AccountsApi | ||
from openapi_client.api.addresses_api import AddressesApi | ||
from openapi_client.api.transactions_api import TransactionsApi | ||
from openapi_client.api.users_api import UsersApi | ||
|
Oops, something went wrong.