InvenTree/.github
Oliver af4d888b1b
Generate API docs (#6319)
* 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>
2024-02-08 16:19:57 +11:00
..
actions bump action versions (#5776) 2023-10-25 09:18:53 +11:00
ISSUE_TEMPLATE Fix common spelling mistakes (#4956) 2023-06-04 00:04:52 +10:00
workflows Generate API docs (#6319) 2024-02-08 16:19:57 +11:00
CODEOWNERS Update CODEOWNERS (#5996) 2023-11-28 10:23:54 +11:00
FUNDING.yml Update FUNDING.yml (#5085) 2023-06-21 22:35:25 +10:00
release.yml New tags (#4971) 2023-06-05 19:41:42 +10:00