PublicLegalController
The legal document versions a signup must acknowledge.
| Base path | /api/public/legal |
| Module | Billing & Platform |
| Endpoints | 1 |
| OpenAPI tag | Legal |
| Source | backend/src/main/java/com/motorph/payroll/controller/PublicLegalController.java |
Endpoints
| Method | Path | Requires | Handler |
|---|---|---|---|
GET | /api/public/legal/versions | Public — no authentication | getVersions() |
Call chain
Dependencies
Constructor-injected by Lombok's @RequiredArgsConstructor: LegalAcceptanceService.
Tables reached
| Entity | Table | Tenant-scoped |
|---|---|---|
| LegalDocumentAcceptance | legal_document_acceptance | Yes |
Generated page
This page is rebuilt from the source on every docs build by docs-site/scripts/gen-code-wiki.mjs. Editing it has no effect — change the code, or, if what you want to say is prose, write it in docs/.