mirror of
https://github.com/fleetdm/fleet
synced 2026-05-22 08:28:52 +00:00
For #27281 This PR adds `/api/{version}/fleet/scim/details` endpoint, along with some frontend fixes. # Checklist for submitter - [x] If database migrations are included, checked table schema to confirm autoupdate - For database migrations: - [x] Checked schema for all modified table for columns that will auto-update timestamps during migration. - [x] Confirmed that updating the timestamps is acceptable, and will not cause unwanted side effects. - [x] Ensured the correct collation is explicitly set for character columns (`COLLATE utf8mb4_unicode_ci`). - [x] Added/updated automated tests - [x] A detailed QA plan exists on the associated ticket (if it isn't there, work with the product group's QA engineer to add it) - [x] Manual QA for all new/changed functionality
12 lines
618 B
Markdown
12 lines
618 B
Markdown
# 📦 `contract` Package
|
|
|
|
This package contains the **request and response structs** used by the HTTP API.
|
|
|
|
Keeping these in a separate package makes the code:
|
|
- **Easier to maintain** — the shape of API data is defined in one place
|
|
- **Clearer** — shows exactly what the API expects and returns
|
|
- **Reusable** — the same types can be used by handlers, tests, or clients
|
|
|
|
> This package should only define data structures — no business logic.
|
|
|
|
🔄 **Note:** Some request/response structs may still live in the server/service packages. Move them here as needed to keep API contracts organized and consistent.
|