Skip to content

Declare the X-Shipkeep-Truncated header of the audit export in OpenAPI #141

Open

Description

@samuelmbabhazi

GET /organizations/{o}/audit-events/export sets X-Shipkeep-Truncated: true|false, but apps/api/openapi.json does not declare it.

Task

  • Add the response header to the @ApiOkResponse of exportAuditEvents in apps/api/src/modules/audit/interface/audit.controller.ts.
  • Run pnpm gen:openapi && pnpm gen:api-client and commit the regenerated files.

Acceptance

pnpm lint and the API tests pass, and the header appears in openapi.json.

Activity

  1. added
    documentation
    good first issue
    priority:P3
    on Nov 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationgood first issuepriority:P3track:control-plane

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions