hackatime/app/controllers/api/admin/v1
Tom (Deployor) 8d0215ff0f
feat: added actual api docs (rswag) + ci enforcement (#846)
* feat: add API documentation and CI checks

- Add Rswag for automated API documentation generation
- Add Swagger specs for all endpoints
- Add CI step to enforce that swagger.yaml stays in sync with code
- Add static test keys in seeds.rb for easier testing
- Update AGENTS.md and README.md to support this

* Merge branch 'main' of https://github.com/deployor/hackatime

* Merge branch 'main' into main

* Deprecations! Yay! :)

* It was wan addicent i swear linter! Dont hurt me

* Apply suggestions from code review

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Copilot..... we love you! Also this project is open and so are api docs meant to be if another AI reads ts!

* Merge branch 'main' of https://github.com/deployor/hackatime

* Merge branch 'main' into main

* Merge branch 'main' into main

* Update app/controllers/api/admin/v1/admin_controller.rb

If you say so

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update spec/requests/api/v1/my_spec.rb

I guessss?

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Failed my own CI wow.... EMBARRASSINGGGG

* Merge branch 'main' into main

* Merge branch 'main' into main

* clarify wording on internal/revoke

* Merge branch 'main' into main

* update swagger docs
2026-01-27 01:05:49 -05:00
..
admin_api_keys_controller.rb admin api rework (#777) 2026-01-08 12:28:21 -05:00
admin_controller.rb feat: added actual api docs (rswag) + ci enforcement (#846) 2026-01-27 01:05:49 -05:00
application_controller.rb add support for admin api keys 2025-07-01 12:14:55 -04:00
deletion_requests_controller.rb admin api rework (#777) 2026-01-08 12:28:21 -05:00
permissions_controller.rb admin api rework (#777) 2026-01-08 12:28:21 -05:00
timeline_controller.rb admin api rework (#777) 2026-01-08 12:28:21 -05:00
trust_level_audit_logs_controller.rb admin api rework (#777) 2026-01-08 12:28:21 -05:00