Skip to content

Commit 35af06f

Browse files
Generate sdk using openapi spec
1 parent ea83df9 commit 35af06f

File tree

135 files changed

+31216
-175
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

135 files changed

+31216
-175
lines changed

.github/ci.yml

Lines changed: 0 additions & 80 deletions
This file was deleted.

.gitignore

Lines changed: 9 additions & 95 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ __pycache__/
88

99
# Distribution / packaging
1010
.Python
11+
env/
1112
build/
1213
develop-eggs/
1314
dist/
@@ -19,14 +20,13 @@ lib64/
1920
parts/
2021
sdist/
2122
var/
22-
wheels/
23-
share/python-wheels/
2423
*.egg-info/
2524
.installed.cfg
2625
*.egg
27-
MANIFEST
2826

2927
# PyInstaller
28+
# Usually these files are written by a python script from a template
29+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
3030
*.manifest
3131
*.spec
3232

@@ -37,116 +37,30 @@ pip-delete-this-directory.txt
3737
# Unit test / coverage reports
3838
htmlcov/
3939
.tox/
40-
.nox/
4140
.coverage
4241
.coverage.*
4342
.cache
4443
nosetests.xml
4544
coverage.xml
46-
*.cover
47-
*.py,cover
45+
*,cover
4846
.hypothesis/
49-
.pytest_cache/
50-
cover/
47+
venv/
48+
.venv/
49+
.python-version
50+
.pytest_cache
5151

5252
# Translations
5353
*.mo
5454
*.pot
5555

5656
# Django stuff:
5757
*.log
58-
local_settings.py
59-
db.sqlite3
60-
db.sqlite3-journal
61-
62-
# Flask stuff:
63-
instance/
64-
.webassets-cache
65-
66-
# Scrapy stuff:
67-
.scrapy
6858

6959
# Sphinx documentation
7060
docs/_build/
7161

7262
# PyBuilder
73-
.pybuilder/
7463
target/
7564

76-
# Jupyter Notebook
65+
#Ipython Notebook
7766
.ipynb_checkpoints
78-
79-
# IPython
80-
profile_default/
81-
ipython_config.py
82-
83-
# pyenv
84-
.python-version
85-
86-
# pipenv
87-
Pipfile.lock
88-
89-
# poetry
90-
poetry.lock
91-
92-
# pdm
93-
.pdm.toml
94-
95-
# PEP 582
96-
__pypackages__/
97-
98-
# Celery stuff
99-
celerybeat-schedule
100-
celerybeat.pid
101-
102-
# SageMath parsed files
103-
*.sage.py
104-
105-
# Environments
106-
.env
107-
.venv
108-
env/
109-
venv/
110-
ENV/
111-
env.bak/
112-
venv.bak/
113-
114-
# Spyder project settings
115-
.spyderproject
116-
.spyproject
117-
118-
# Rope project settings
119-
.ropeproject
120-
121-
# mkdocs documentation
122-
/site
123-
124-
# mypy
125-
.mypy_cache/
126-
.dmypy.json
127-
dmypy.json
128-
129-
# Pyre type checker
130-
.pyre/
131-
132-
# pytype static type analyzer
133-
.pytype/
134-
135-
# Cython debug symbols
136-
cython_debug/
137-
138-
# IDE
139-
.vscode/
140-
.idea/
141-
*.swp
142-
*.swo
143-
*~
144-
145-
# OS
146-
.DS_Store
147-
.DS_Store?
148-
._*
149-
.Spotlight-V100
150-
.Trashes
151-
ehthumbs.db
152-
Thumbs.db

.gitlab-ci.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# NOTE: This file is auto generated by OpenAPI Generator.
2+
# URL: https://openapi-generator.tech
3+
#
4+
# ref: https://docs.gitlab.com/ee/ci/README.html
5+
# ref: https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Python.gitlab-ci.yml
6+
7+
stages:
8+
- test
9+
10+
.pytest:
11+
stage: test
12+
script:
13+
- pip install -r requirements.txt
14+
- pip install -r test-requirements.txt
15+
- pytest --cov=plane
16+
17+
pytest-3.7:
18+
extends: .pytest
19+
image: python:3.7-alpine
20+
pytest-3.8:
21+
extends: .pytest
22+
image: python:3.8-alpine
23+
pytest-3.9:
24+
extends: .pytest
25+
image: python:3.9-alpine
26+
pytest-3.10:
27+
extends: .pytest
28+
image: python:3.10-alpine
29+
pytest-3.11:
30+
extends: .pytest
31+
image: python:3.11-alpine

.openapi-generator-ignore

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# OpenAPI Generator Ignore
2+
# Generated by openapi-generator https://github.com/openapitools/openapi-generator
3+
4+
# Use this file to prevent files from being overwritten by the generator.
5+
# The patterns follow closely to .gitignore or .dockerignore.
6+
7+
# As an example, the C# client generator defines ApiClient.cs.
8+
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
9+
#ApiClient.cs
10+
11+
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
12+
#foo/*/qux
13+
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
14+
15+
# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
16+
#foo/**/qux
17+
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
18+
19+
# You can also negate patterns with an exclamation (!).
20+
# For example, you can ignore all files in a docs folder with the file extension .md:
21+
#docs/*.md
22+
# Then explicitly reverse the ignore rule for a single file:
23+
#!docs/README.md

0 commit comments

Comments
 (0)