Skip to content

docs(openapi): refresh the info block (description, contact) (#362)#363

Merged
CryptoJones merged 1 commit into
masterfrom
docs/openapi-info-block-update
May 19, 2026
Merged

docs(openapi): refresh the info block (description, contact) (#362)#363
CryptoJones merged 1 commit into
masterfrom
docs/openapi-info-block-update

Conversation

@CryptoJones
Copy link
Copy Markdown
Owner

Closes #362.

Summary

Expands info.description to mention the 16-entity surface + operator-relevant features. Adds info.contact linking to the GitHub security policy. Pin license + contact with new assertions in tests/api/openapi.test.js.

Test plan

  • npm run lint && npm test — 796 passing (assertions added to existing test, same test count).

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

The spec's `info.description` undersold the API as "Customer and
time-entry records" — 16 entities ago. Expand to the full entity
list and call out the actual feature surface that operators care
about when evaluating the API (idempotency, Link-header
pagination, Prometheus /metrics, CSV export with formula-injection
mitigation).

Add a `contact` field pointing to the GitHub security policy. The
project's vulnerability-report channel (private advisory + email
fallback) is documented in SECURITY.md but Swagger UI's info panel
never surfaced it — operators reading the docs in a browser had
to leave the spec page to find the policy. The OpenAPI `contact`
slot fits the link cleanly (Swagger UI renders contact.name +
contact.url under "Contact the developer").

Pin the new fields with assertions in
tests/api/openapi.test.js so a future re-write can't silently
drop the license/contact pair — both matter for SBOM tooling and
downstream Apache-2.0 redistributors that read the spec to
populate their own metadata.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@CryptoJones CryptoJones merged commit 9d37a5b into master May 19, 2026
3 checks passed
@CryptoJones CryptoJones deleted the docs/openapi-info-block-update branch May 19, 2026 19:55
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 info block: stale description + missing contact field

1 participant