Skip to content

docs(openapi): declare GET /v1/timeentry/bycompany/{id} 200 envelope (#348)#349

Merged
CryptoJones merged 1 commit into
masterfrom
docs/openapi-timeentry-bycompany-response-shape
May 19, 2026
Merged

docs(openapi): declare GET /v1/timeentry/bycompany/{id} 200 envelope (#348)#349
CryptoJones merged 1 commit into
masterfrom
docs/openapi-timeentry-bycompany-response-shape

Conversation

@CryptoJones
Copy link
Copy Markdown
Owner

Closes #348.

Summary

Mirrors #340. Declare {message, count, limit, offset, timeEntries: TimeEntry[]} envelope on the timeentry paginated list. Pin with a test.

Test plan

  • npm run lint && npm test — 793 passing (was 792).

Proudly Made in Nebraska. Go Big Red! 🌽 https://xkcd.com/2347/

Mirrors the customer/bycompany declaration from #340. The
timeentry paginated list endpoint declared only
`description: 'OK'`; SDK code-gen reading the spec couldn't model
the Link-header-paired envelope the controller actually emits:

    { message, count, limit, offset, timeEntries: TimeEntry[] }

Pin the shape and add a corresponding test in
`tests/api/openapi.test.js`.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@CryptoJones CryptoJones merged commit e899a43 into master May 19, 2026
3 checks passed
@CryptoJones CryptoJones deleted the docs/openapi-timeentry-bycompany-response-shape branch May 19, 2026 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OpenAPI: GET /v1/timeentry/bycompany/{id} 200 has no content schema

1 participant