mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
af4d888b1b
* Add basic task for generating apidocs * Fix SPECTACTULAR_SETTINGS - Some provided options were not correct * Update .gitignore * Fix for duplicated API path - `/api/plugins/activate` routed to PluginActivate view - Must be associated with a specific plugin ID * By default, fail if warnings are raised * Use GenericAPIView for GetAuthToken * Use GenericAPIView for RolesDetail endpoint * Refactor more endpoints to use GenericApiView * More API cleanup * Add extra type hints for exposed methods * Update RoleDetails endpoint - Specify serializer - Use RetrieveAPI class type * More type hints * Export API docs as part of CI * add more api views docs * even more docs * extend tests to api-version * simplify serializer * and more docs * fix serializer * added more API docs * clean diff * Added APISearch base * do not assume you know the user he might be anonymously creating the schema ;-) * set empty serializer where no input is needed * Use dummy model for schema generation * fix OpenAPI docs section * Update .github/workflows/qc_checks.yaml Co-authored-by: Matthias Mair <code@mjmair.com> * REmove duplicate commands * Ignore warnings in CI --------- Co-authored-by: Matthias Mair <code@mjmair.com>
117 lines
1.5 KiB
Plaintext
117 lines
1.5 KiB
Plaintext
# Byte-compiled / optimized / DLL files
|
|
__pycache__/
|
|
*.py[cod]
|
|
*$py.class
|
|
|
|
# Distribution / packaging
|
|
.Python
|
|
env/
|
|
inventree-env/
|
|
./build/
|
|
.cache/
|
|
develop-eggs/
|
|
dist/
|
|
bin/
|
|
lib64
|
|
pyvenv.cfg
|
|
share/
|
|
downloads/
|
|
eggs/
|
|
.eggs/
|
|
lib/
|
|
lib64/
|
|
parts/
|
|
sdist/
|
|
var/
|
|
*.egg-info/
|
|
.installed.cfg
|
|
*.egg
|
|
*.DS_Store
|
|
|
|
# Django stuff:
|
|
*.log
|
|
local_settings.py
|
|
*.sqlite3
|
|
*.sqlite3-journal
|
|
*.backup
|
|
*.old
|
|
|
|
# Files used for testing
|
|
inventree-demo-dataset/
|
|
inventree-data/
|
|
dummy_image.*
|
|
_tmp.csv
|
|
InvenTree/label.pdf
|
|
InvenTree/label.png
|
|
InvenTree/part_image_123abc.png
|
|
label.pdf
|
|
label.png
|
|
InvenTree/my_special*
|
|
_tests*.txt
|
|
schema.yml
|
|
|
|
# Local static and media file storage (only when running in development mode)
|
|
inventree_media
|
|
inventree_static
|
|
static_i18n
|
|
|
|
# Local config file
|
|
config.yaml
|
|
plugins.txt
|
|
|
|
# Default data file
|
|
data.json
|
|
*.json.tmp
|
|
*.tmp.json
|
|
|
|
# Key file
|
|
secret_key.txt
|
|
|
|
# IDE / development files
|
|
.idea/
|
|
*.code-workspace
|
|
.bash_history
|
|
.DS_Store
|
|
|
|
# https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
|
|
.vscode/*
|
|
#!.vscode/settings.json
|
|
!.vscode/tasks.json
|
|
!.vscode/launch.json
|
|
#!.vscode/extensions.json
|
|
#!.vscode/*.code-snippets
|
|
|
|
# Coverage reports
|
|
.coverage
|
|
htmlcov/
|
|
|
|
# Temporary javascript files (used for testing)
|
|
js_tmp/
|
|
|
|
# Development files
|
|
dev/
|
|
data/
|
|
env/
|
|
|
|
# Locale stats file
|
|
locale_stats.json
|
|
|
|
# node.js
|
|
node_modules/
|
|
|
|
# maintenance locker
|
|
maintenance_mode_state.txt
|
|
|
|
# plugin dev directory
|
|
InvenTree/plugins/
|
|
|
|
# Compiled translation files
|
|
*.mo
|
|
messages.ts
|
|
|
|
# Generated API schema file
|
|
api.yaml
|
|
|
|
# web frontend (static files)
|
|
InvenTree/web/static
|