Skip to content

Openapi Cleanup for better documentation #96

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Nov 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ jobs:
cp downstream-templates/python/README.md generated/python/README.md
cp downstream-templates/python/setup.py generated/python/setup.py
cp downstream-templates/python/utils.py generated/python/iot_api_client/utils.py
cp downstream-templates/python/gitignore-py generated/python/.gitignore

- name: Copy shared assets
run: |
Expand Down
68 changes: 68 additions & 0 deletions downstream-templates/python/gitignore-py
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
env/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
*.egg-info/
.installed.cfg
*.egg

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

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*,cover
.hypothesis/
venv/
.venv/
.python-version
.pytest_cache

# Translations
*.mo
*.pot

# Django stuff:
*.log

# Sphinx documentation
docs/_build/

# PyBuilder
target/

#Ipython Notebook
.ipynb_checkpoints

pyproject.toml
2 changes: 1 addition & 1 deletion openapi/components/footer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ components:
tokenUrl: https://api2.arduino.cc/iot/v1/clients/token
scopes:
iot:devices: Read and write my devices
iot:things: Read and write my things
iot:things: Read and write my things
Loading
Loading